/* Password Reset Modal Styles */

.password-reset-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-reset-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.password-reset-modal-content {
    position: relative;
    background-color: #191d23e7;
    border: 1px solid rgba(128, 128, 128, 0.2);
    border-radius: 15px;
    padding: 40px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 10001;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.password-reset-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #86909a;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    transition: all 0.2s;
}

.password-reset-close:hover {
    background-color: rgba(128, 128, 128, 0.1);
    color: white;
}

.password-reset-close i {
    width: 20px;
    height: 20px;
}

.reset-step {
    width: 100%;
}

.reset-title {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin: 0 0 10px 0;
    text-align: center;
}

.reset-description {
    font-size: 14px;
    color: #86909a;
    margin: 0 0 30px 0;
    text-align: center;
    line-height: 1.5;
}

.reset-form {
    width: 100%;
}

.reset-form .form-group {
    margin-bottom: 20px;
}

.reset-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #86909a;
}

.reset-form .form-group input {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(128, 128, 128, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 14px;
    box-sizing: border-box;
    transition: all 0.2s;
}

.reset-form .form-group input:focus {
    outline: none;
    border-color: #00ff99;
    background-color: rgba(255, 255, 255, 0.08);
}

.reset-form .form-group input:read-only {
    background-color: rgba(255, 255, 255, 0.03);
    cursor: not-allowed;
    opacity: 0.7;
}

.reset-form .form-footer {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reset-form .btn-primary {
    width: 100%;
}

.reset-form .btn-secondary {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(128, 128, 128, 0.3);
    color: #86909a;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.reset-form .btn-secondary:hover {
    border-color: #00ff99;
    color: #00ff99;
    background-color: rgba(0, 255, 153, 0.05);
}

.reset-error {
    margin-top: 15px;
    padding: 12px;
    background-color: rgba(255, 71, 71, 0.1);
    border: 1px solid rgba(255, 71, 71, 0.3);
    border-radius: 8px;
    color: #ff4747;
    font-size: 14px;
    text-align: center;
}

.reset-success {
    text-align: center;
    padding: 20px 0;
}

.reset-success .success-icon {
    width: 64px;
    height: 64px;
    color: #00ff99;
    margin: 0 auto 20px;
}

.reset-success .reset-title {
    color: #00ff99;
    margin-bottom: 15px;
}

.reset-success .reset-description {
    margin-bottom: 25px;
}

/* Loading state */
.reset-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 600px) {
    .password-reset-modal-content {
        padding: 30px 20px;
        width: 95%;
    }
    
    .reset-title {
        font-size: 20px;
    }
}

