
.password-generator {
    background: white;
    border-radius: 0.714rem;
    padding: 1.286rem;
    box-shadow: 0 0.214rem 0.714rem rgba(0,0,0,0.04);
    margin-bottom: 1.429rem;
}

.generator-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.password-display {
    width: 100%;
    padding: 0.714rem;
    font-size: 1.1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    word-break: break-all;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.password-display-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.copy-btn {
    background: #3a8ffe;
    color: white;
    border: none;
    border-radius: 0.357rem;
    padding: 0.357rem 0.714rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
    margin-left: 0.714rem;
    flex-shrink: 0;
}

.copy-btn:hover {
    background: #1a73e8;
}

.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.control-group {
    flex: 1;
    min-width: 12rem;
}

.control-group label {
    display: block;
    margin-bottom: 0.357rem;
    font-weight: 500;
    color: #4a5568;
    font-size: 0.95rem;
}

.control-group input[type="number"] {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #cbd5e0;
    border-radius: 0.357rem;
    font-size: 1rem;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-item input {
    margin: 0;
    transform: scale(1.1);
}

.generate-btn {
    background: linear-gradient(135deg, #3a8ffe 0%, #5a9fff 100%);
    color: white;
    border: none;
    border-radius: 0.5rem;
    padding: 0.714rem 1.429rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    width: 100%;
}

.generate-btn:hover {
    opacity: 0.9;
}