/* Password Generator Styles */

/* Character Types Grid */
.char-types-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.char-types-grid .form-check {
    margin: 0;
}

/* Password Output */
.password-output {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.8;
    background: var(--bs-secondary-bg);
    border: 1px solid var(--bs-border-color);
}

/* Range Slider */
.form-range {
    height: 8px;
}

.form-range::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    background: #052c65;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.form-range::-webkit-slider-thumb:hover {
    background: #041f4d;
    transform: scale(1.1);
}

.form-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #052c65;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.form-range::-moz-range-thumb:hover {
    background: #041f4d;
    transform: scale(1.1);
}

/* Password Strength Progress Bar */
.progress {
    background-color: #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.progress-bar {
    transition: width 0.6s ease, background-color 0.3s ease;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile */
@media (max-width: 768px) {
    .char-types-grid {
        gap: 10px;
    }
}

/* Dark Mode */
[data-bs-theme="dark"] .password-output {
    background: rgba(255,255,255,0.05);
    border-color: #495057;
    color: #e9ecef;
}

[data-bs-theme="dark"] .form-range::-webkit-slider-thumb {
    background: #6ea8fe;
}

[data-bs-theme="dark"] .form-range::-moz-range-thumb {
    background: #6ea8fe;
}

[data-bs-theme="dark"] .progress {
    background-color: #343a40;
}
