
.password-generator-container {
    max-width: 1000px;
    margin: 0 auto;
}

.form-range {
    height: 6px;
}

.form-range::-webkit-slider-thumb {
    height: 20px;
    width: 20px;
    background: #007bff;
    border-radius: 50%;
}

.font-monospace {
    font-family: 'Courier New', Monaco, monospace;
    font-size: 16px;
    letter-spacing: 1px;
}

.password-strength .progress {
    border-radius: 10px;
    overflow: hidden;
}

.strength-very-weak {
    background-color: #dc3545;
    width: 20%;
}

.strength-weak {
    background-color: #fd7e14;
    width: 40%;
}

.strength-medium {
    background-color: #ffc107;
    width: 60%;
}

.strength-strong {
    background-color: #20c997;
    width: 80%;
}

.strength-very-strong {
    background-color: #28a745;
    width: 100%;
}

.password-list {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    background: #f8f9fa;
}

.password-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    background: white;
    border-radius: 5px;
    font-family: 'Courier New', Monaco, monospace;
    font-size: 14px;
    word-break: break-all;
}

.password-item:last-child {
    margin-bottom: 0;
}

.password-item .copy-btn {
    margin-left: 1rem;
    flex-shrink: 0;
}

.form-check {
    margin-bottom: 0.5rem;
}

.form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

/* Animation for generated password */
.password-generated {
    animation: highlightPassword 0.5s ease-out;
}

@keyframes highlightPassword {
    0% {
        background-color: #d4edda;
        transform: scale(1.02);
    }
    100% {
        background-color: transparent;
        transform: scale(1);
    }
}

/* Button animations */
.btn-copy.copied {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: white !important;
}

/* Responsive design */
@media (max-width: 768px) {
    .password-item {
        flex-direction: column;
        align-items: stretch;
    }
    
    .password-item .copy-btn {
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .font-monospace {
        font-size: 14px;
    }
}

/* Settings panel styling */
.settings-panel {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
}

.custom-range-label {
    font-weight: 600;
    color: #495057;
}

/* Eye icon toggle */
.toggle-visibility {
    cursor: pointer;
    transition: color 0.2s ease;
}

.toggle-visibility:hover {
    color: #007bff;
}
