/* Esqueci Senha / Redefinir Senha Styles */

/* Reset Container */
.reset-container {
    max-width: 500px;
}

/* Reset Icon */
.reset-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(31, 156, 240, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(31, 156, 240, 0.3);
}

.reset-icon svg {
    width: 40px;
    height: 40px;
    color: #1F9CF0;
}

/* Titulos */
.reset-title {
    font-size: 28px;
    margin-bottom: 12px;
}

.reset-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 8px;
}

.email-masked {
    color: #1F9CF0;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 24px;
}

/* Form */
.reset-form {
    width: 100%;
    margin-top: 24px;
}

/* Input Full Width */
.input-wrapper-full {
    width: 100%;
    margin-bottom: 16px;
}

.input-wrapper-full input {
    width: 100%;
    border: none;
    padding: 18px 24px;
    font-size: 16px;
    outline: none;
    background: transparent;
    color: #ffffff;
    border-radius: 50px;
}

.input-wrapper-full input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Input with toggle */
.input-with-toggle {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-toggle input {
    padding-right: 50px;
}

.toggle-password {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password svg {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.toggle-password:hover svg {
    color: rgba(255, 255, 255, 0.8);
}

/* Botao Reset */
.btn-reset {
    width: 100%;
    margin-top: 8px;
}

/* OTP Section */
.otp-section {
    margin-bottom: 24px;
}

.section-label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
    text-align: left;
}

/* OTP Container */
.otp-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.otp-wrapper {
    position: relative;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    width: 50px;
    height: 60px;
}

.otp-wrapper:focus-within {
    border-color: #1F9CF0;
    box-shadow: 0 0 20px rgba(31, 156, 240, 0.5), 0 0 40px rgba(31, 156, 240, 0.3);
}

.otp-input {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    outline: none;
    border-radius: 12px;
}

/* Timer */
.timer-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.timer-icon {
    width: 16px;
    height: 16px;
}

.timer-container.expired {
    color: #ff6b6b;
}

/* Password Section */
.password-section {
    margin-bottom: 16px;
}

/* Password Requirements */
.password-requirements {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
    display: none;
}

.password-requirements.show {
    display: block;
}

.password-requirements ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.password-requirements li {
    padding: 4px 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.password-requirements li .req-icon {
    font-size: 12px;
    width: 16px;
    text-align: center;
}

.password-requirements li.valid {
    color: #10b981;
}

.password-requirements li.valid .req-icon {
    color: #10b981;
}

/* Back Login */
.back-login {
    margin-top: 32px;
}

.back-login a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.back-login a:hover {
    color: #ffffff;
}

.back-login svg {
    width: 18px;
    height: 18px;
}

/* Success Message */
.success-message {
    color: #10b981;
    font-size: 14px;
    margin-top: 16px;
    margin-bottom: 16px;
    padding: 12px 20px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    animation: fadeIn 0.3s ease-out;
}

/* Responsive */
@media (max-width: 500px) {
    .otp-wrapper {
        width: 45px;
        height: 55px;
    }

    .otp-input {
        font-size: 20px;
    }

    .reset-title {
        font-size: 24px;
    }
}
