/* Password Generator Styles */

#password-generator-container {
    max-width: 1200px;
    margin: 0 auto;
}

#password-generator-container .btn-outline-light > i {
    transition: all .3s;
}

#password-generator-container .btn-outline-light:hover > i {
    color: black;
}

#password-strength-progress {
    position: absolute;
    bottom: 0;
    height: 5px;
    width: 96.5%;
    left: auto;
    border-radius: 0 0 8px 8px;
    background-color: rgba(255, 255, 255, 0.1);
}

#main-password-input {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    letter-spacing: 2px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

#main-password-input:focus {
    border-color: #55ddff;
    box-shadow: 0 0 20px rgba(85, 221, 255, 0.3);
    outline: none;
}

.password-controls {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

.password-option {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.password-option:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.password-option .form-check-label {
    font-size: 0.9rem;
    line-height: 1.4;
}

.password-option small {
    font-size: 0.8rem;
    color: #b0b0b0;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-check-input:checked {
    background-color: #55ddff;
    border-color: #55ddff;
}

.form-check-input:focus {
    border-color: #55ddff;
    box-shadow: 0 0 0 0.25rem rgba(85, 221, 255, 0.25);
}

.form-range {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    height: 8px;
}

.form-range::-webkit-slider-thumb {
    background: #55ddff;
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(85, 221, 255, 0.4);
}

.form-range::-moz-range-thumb {
    background: #55ddff;
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(85, 221, 255, 0.4);
}

.btn-action {
    background: linear-gradient(135deg, #55ddff, #4aa3ff);
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(85, 221, 255, 0.3);
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(85, 221, 255, 0.4);
}

.strength-indicator {
    display: flex;
    gap: 4px;
    margin-top: 1rem;
}

.strength-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.strength-dot.active.weak {
    background: #ff4757;
}

.strength-dot.active.medium {
    background: #ffa502;
}

.strength-dot.active.strong {
    background: #2ed573;
}

.strength-dot.active.very-strong {
    background: #55ddff;
}

.password-tips {
    background: rgba(85, 221, 255, 0.1);
    border: 1px solid rgba(85, 221, 255, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.password-tips h5 {
    color: #55ddff;
    margin-bottom: 1rem;
}

.tip-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.tip-item i {
    color: #55ddff;
    margin-right: 0.5rem;
}

@media only screen and (max-width: 670px) {
    #password-strength-progress {
        width: 94.5%;
    }
    
    .password-controls {
        padding: 1.5rem;
        margin-top: 1rem;
    }
    
    .password-option {
        margin-bottom: 1rem;
    }
    
    .password-option small {
        font-size: 0.75rem;
        line-height: 1.3;
    }
}

/* Animation for password generation */
.password-generating {
    animation: passwordPulse 0.5s ease-in-out;
}

@keyframes passwordPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Copy success animation */
.copy-success {
    animation: copyFlash 0.6s ease-in-out;
}

@keyframes copyFlash {
    0% { background-color: rgba(45, 213, 115, 0.2); }
    50% { background-color: rgba(45, 213, 115, 0.4); }
    100% { background-color: transparent; }
}