﻿/* ==================== FORGOT PASSWORD PAGE STYLES ==================== */

:root {
    --auth-bg: #fafafa;
    --auth-border: #e0e0e0;
    --auth-text: #262626;
    --auth-text-light: #737373;
    --auth-text-lighter: #999;
    --auth-accent: #0ea5e9;
    --auth-accent-dark: #0284c7;
    --auth-white: #ffffff;
    --auth-error: #dc2626;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    background-color: var(--auth-bg);
    color: var(--auth-text);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Back Button */
.auth-back-button {
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 100;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--auth-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--auth-bg);
    color: var(--auth-text);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.back-btn:hover {
    background: var(--auth-border);
}

.back-btn i {
    font-size: 1rem;
}

/* Main Auth Container */
.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 100vh;
    max-width: 100%;
    flex: 1;
}

.auth-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Visual Panel */
.auth-visual-panel {
    background-image: url('../assets/images/forgot_password_background.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    border-right: 1px solid var(--auth-border);
    position: relative;
    overflow: hidden;
}

.auth-visual-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.02) 100%);
    pointer-events: none;
}

.visual-content {
    text-align: center;
    max-width: 400px;
    width: 100%;
    padding: 0 1rem;
}

.brand-logo {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.brand-name {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.brand-logo-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.brand-tagline {
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 3rem;
    font-weight: 600;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    color: #ffffff;
}

.feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--auth-accent);
    color: var(--auth-white);
    border-radius: 8px;
    flex-shrink: 0;
    font-size: 1.1rem;
}

/* Form Panel */
.auth-form-panel {
    background: var(--auth-white);
}

.auth-form-container {
    width: 100%;
    max-width: 380px;
}

.auth-header {
    margin-bottom: 2rem;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--auth-text);
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
}

.auth-subtitle {
    font-size: 0.95rem;
    color: var(--auth-text-light);
    font-weight: 400;
}

/* Alert Messages */
.auth-alert {
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-error {
    background: #fee2e2;
    color: var(--auth-error);
    border: 1px solid #fecaca;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.auth-alert i {
    flex-shrink: 0;
    font-size: 1rem;
    margin-top: 2px;
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--auth-border);
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--auth-white);
    color: var(--auth-text);
    transition: all 0.2s ease;
}

.form-control::placeholder {
    color: var(--auth-text-lighter);
}

.form-control:focus {
    outline: none;
    border-color: var(--auth-accent);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-control.error {
    border-color: var(--auth-error);
    background: #fef2f2;
}

/* OTP Input Special Styling */
.otp-input-group {
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.otp-input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    border: 1px solid var(--auth-border);
    border-radius: 8px;
    background: var(--auth-white);
    color: var(--auth-text);
    transition: all 0.2s ease;
}

.otp-input:focus {
    outline: none;
    border-color: var(--auth-accent);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.otp-input.error {
    border-color: var(--auth-error);
    background: #fef2f2;
}

/* Password Strength Indicator */
.strength-container {
    margin-bottom: 1.5rem;
}

.strength-label {
    font-size: 0.85rem;
    color: var(--auth-text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.strength-bar {
    height: 6px;
    background: var(--auth-border);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.strength-progress {
    height: 100%;
    background: var(--auth-accent);
    width: 0%;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.strength-progress.weak {
    background: #ef4444;
    width: 33%;
}

.strength-progress.fair {
    background: #f97316;
    width: 66%;
}

.strength-progress.strong {
    background: #22c55e;
    width: 100%;
}

.strength-text {
    font-size: 0.8rem;
    color: var(--auth-text-lighter);
}

/* Password Checklist */
.password-checklist {
    background: var(--auth-bg);
    border: 1px solid var(--auth-border);
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.checklist-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--auth-text);
    margin-bottom: 0.75rem;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--auth-text-light);
    margin-bottom: 0.5rem;
}

.checklist-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid var(--auth-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.checklist-item.met .checklist-icon {
    background: var(--auth-accent);
    border-color: var(--auth-accent);
    color: var(--auth-white);
}

.checklist-item.met {
    color: var(--auth-text);
}

/* Password Field */
.password-field {
    position: relative;
    display: flex;
    align-items: center;
}

.show-password-btn {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    color: var(--auth-text-lighter);
    cursor: pointer;
    font-size: 1rem;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    z-index: 3;
}

.show-password-btn:hover {
    color: var(--auth-accent);
}

/* Field Error */
.field-error {
    font-size: 0.8rem;
    color: var(--auth-error);
    display: none;
    margin-top: 0.2rem;
}

.field-error.active {
    display: block;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
}

.checkbox-input {
    width: 14px;
    height: 14px;
    cursor: pointer;
    accent-color: var(--auth-accent);
    min-width: 14px;
    min-height: 14px;
}

.checkbox-label {
    color: var(--auth-text-light);
    font-weight: 500;
}

.forgot-link {
    color: var(--auth-accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.forgot-link:hover {
    color: var(--auth-accent-dark);
}

/* Submit Button */
.auth-submit-btn {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    background: var(--auth-accent);
    color: var(--auth-white);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.auth-submit-btn:hover {
    background: var(--auth-accent-dark);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.auth-submit-btn:active {
    transform: scale(0.98);
}

.auth-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: var(--auth-text-lighter);
    font-size: 0.9rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--auth-border);
}

/* Form Footer */
.auth-footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--auth-text-light);
}

.footer-text {
    margin: 0;
}

.footer-link {
    color: var(--auth-accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--auth-accent-dark);
}

/* Step Navigation */
.step-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 0.85rem;
    color: var(--auth-text-lighter);
}

.step-back-btn {
    background: none;
    border: none;
    color: var(--auth-accent);
    cursor: pointer;
    font-weight: 600;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

.step-back-btn:hover {
    color: var(--auth-accent-dark);
}

.step-indicator {
    text-align: center;
}

/* Reset Steps */
.reset-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reset-step.active {
    display: block;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--auth-accent);
}

.success-icon {
    color: #22c55e;
}

.error-icon {
    color: var(--auth-error);
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 2rem 0;
}

.success-message-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 0.5rem;
}

.success-message-text {
    font-size: 0.95rem;
    color: var(--auth-text-light);
    margin-bottom: 2rem;
}

.redirect-notice {
    font-size: 0.85rem;
    color: var(--auth-text-lighter);
    text-align: center;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: var(--auth-white);
    border-radius: 12px;
    padding: 2rem;
    max-width: 400px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--auth-bg);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--auth-text);
    transition: all 0.2s ease;
    font-size: 1.1rem;
}

.modal-close:hover {
    background: var(--auth-border);
    transform: rotate(90deg);
}

.modal-content {
    text-align: center;
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--auth-text);
    margin-bottom: 0.5rem;
}

.modal-description {
    font-size: 0.95rem;
    color: var(--auth-text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.modal-info {
    font-size: 0.85rem;
    color: var(--auth-text-lighter);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.modal-action-btn {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    background: var(--auth-accent);
    color: var(--auth-white);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-action-btn:hover {
    background: var(--auth-accent-dark);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1999;
    display: none;
    align-items: center;
    justify-content: center;
}

.loading-overlay.active {
    display: flex;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--auth-border);
    border-top-color: var(--auth-accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .auth-container {
        grid-template-columns: 1fr;
    }

    .auth-visual-panel {
        display: none;
    }

    .auth-form-panel {
        align-items: flex-start;
        padding-top: 4rem;
    }
}

@media (max-width: 768px) {
    .auth-back-button {
        padding: 0.75rem 1rem;
    }

    .auth-form-panel {
        padding: 1.5rem;
    }

    .auth-form-container {
        max-width: 100%;
    }

    .auth-title {
        font-size: 1.5rem;
    }

    .brand-logo {
        width: 60px;
        height: 60px;
    }

    .form-control {
        font-size: 16px;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .modal-box {
        padding: 1.5rem;
        max-width: calc(100% - 2rem);
    }

    .otp-input-group {
        gap: 0.5rem;
    }

    .otp-input {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .auth-back-button {
        padding: 0.5rem 1rem;
    }

    .auth-form-panel {
        padding: 1rem;
        padding-top: 3rem;
    }

    .auth-title {
        font-size: 1.25rem;
    }

    .brand-tagline {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }

    .features-list {
        gap: 1rem;
    }

    .feature {
        font-size: 0.9rem;
    }

    .feature-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .form-field {
        gap: 0.3rem;
    }

    .form-control {
        padding: 0.65rem;
        font-size: 16px;
        border-radius: 4px;
    }

    .auth-submit-btn {
        padding: 0.65rem;
        font-size: 0.9rem;
    }

    .otp-input-group {
        gap: 0.4rem;
    }

    .otp-input {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .divider {
        margin: 1.25rem 0;
        gap: 0.75rem;
        font-size: 0.85rem;
    }

    .modal-box {
        padding: 1.25rem;
    }

    .modal-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }

    .modal-title {
        font-size: 1.2rem;
    }

    .password-checklist {
        padding: 0.75rem;
    }

    .checklist-title {
        font-size: 0.8rem;
    }

    .checklist-item {
        font-size: 0.8rem;
    }
}

/* Password recovery refresh */
:root {
    --auth-bg: #edf2ee;
    --auth-border: #d9e1db;
    --auth-text: #172521;
    --auth-text-light: #5d6b65;
    --auth-text-lighter: #87928c;
    --auth-accent: #c54a2f;
    --auth-accent-dark: #a63c27;
    --auth-white: #ffffff;
    --auth-error: #b42318;
}

html {
    height: auto;
    min-height: 100%;
}

body {
    min-height: 100vh;
    height: auto;
    background-color: #edf2ee;
    background-image: repeating-linear-gradient(135deg, rgba(23, 37, 33, 0.018) 0, rgba(23, 37, 33, 0.018) 1px, transparent 1px, transparent 7px);
    color: var(--auth-text);
}

.auth-container {
    grid-template-columns: minmax(320px, 0.9fr) minmax(480px, 1.1fr);
    min-height: 100vh;
    background: var(--auth-white);
}

.auth-panel {
    padding: clamp(2rem, 5vw, 5rem);
}

.auth-visual-panel {
    display: flex;
    border: 0;
    background-position: center;
}

.auth-visual-panel::before {
    background: linear-gradient(180deg, rgba(11, 24, 20, 0.22) 0%, rgba(11, 24, 20, 0.3) 35%, rgba(11, 24, 20, 0.84) 100%);
}

.visual-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 430px;
    padding: 0;
    text-align: left;
}

.brand-logo-img {
    width: 76px;
    height: 76px;
    margin: 0 0 2rem;
    padding: 9px;
    border-radius: 6px;
    box-shadow: none;
}

.brand-tagline {
    max-width: 390px;
    margin: 0 0 2.5rem;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2rem, 3.2vw, 3.25rem);
    font-weight: 500;
    line-height: 1.08;
}

.features-list {
    gap: 1rem;
    width: 100%;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.38);
}

.feature {
    gap: 0.75rem;
    font-size: 0.9rem;
}

.feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.16);
}

.auth-form-panel {
    align-items: center;
    background: #fbfcfa;
}

.auth-form-container {
    max-width: 440px;
}

.auth-title {
    margin-bottom: 0.6rem;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2rem, 3vw, 2.7rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: 0;
}

.auth-subtitle {
    font-size: 1rem;
    line-height: 1.55;
}

.auth-header {
    margin-bottom: 1.75rem;
}

.reset-progress {
    margin-bottom: 2.25rem;
}

.reset-progress[hidden] {
    display: none;
}

.progress-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.65rem;
    color: var(--auth-text-light);
    font-size: 0.68rem;
    font-weight: 700;
}

.progress-meta span:first-child {
    color: var(--auth-accent);
}

.progress-track {
    height: 3px;
    overflow: hidden;
    background: #dce4de;
}

.progress-track span {
    display: block;
    width: 33.333%;
    height: 100%;
    background: var(--auth-accent);
    transition: width 240ms ease;
}

.auth-back-button {
    top: 1.5rem;
    left: 1.5rem;
    width: 40px;
    height: 40px;
    background: transparent;
}

.back-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(17, 33, 28, 0.26);
    color: #fff;
    backdrop-filter: blur(8px);
}

.back-btn:hover {
    background: rgba(17, 33, 28, 0.55);
}

.form-message {
    min-height: 0;
    margin-bottom: 1rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 0.88rem;
    text-align: left;
}

.form-message.success {
    border-color: #c4dfcf;
    background: #edf7f0;
    color: #245d3b;
}

.form-message.error {
    border-color: #f0c9c4;
    background: #fff2f0;
    color: var(--auth-error);
}

.form-control {
    min-height: 54px;
    padding: 0.85rem 1rem;
    border-color: #cbd5ce;
    border-radius: 4px;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--auth-accent);
    box-shadow: 0 0 0 3px rgba(197, 74, 47, 0.12);
}

.otp-input {
    width: 100%;
    height: 64px;
    letter-spacing: 0.35em;
    font-family: 'Courier New', monospace;
    font-size: 1.45rem;
}

.form-helper {
    margin: 0.1rem 0 0.35rem;
    color: var(--auth-text-light);
    font-size: 0.88rem;
}

.auth-submit-btn {
    min-height: 52px;
    margin-top: 0.45rem;
    border-radius: 4px;
    background: var(--auth-accent);
    font-size: 0.96rem;
}

.auth-submit-btn:hover {
    background: var(--auth-accent-dark);
    box-shadow: 0 5px 14px rgba(166, 60, 39, 0.2);
}

.step-nav {
    justify-content: flex-start;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.step-nav .auth-header {
    margin-bottom: 0;
}

.back-step-btn {
    display: grid;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--auth-border);
    border-radius: 4px;
    background: transparent;
    color: var(--auth-text);
    cursor: pointer;
}

.back-step-btn:hover {
    border-color: var(--auth-accent);
    color: var(--auth-accent);
}

.resend-section {
    color: var(--auth-text-light);
    font-size: 0.88rem;
}

.resend-link {
    border: 0;
    background: none;
    color: var(--auth-accent);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.resend-link:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.password-checklist {
    margin: 0;
    padding: 0.8rem 0.9rem;
    border-radius: 4px;
    list-style: none;
}

.checklist-item {
    margin: 0.35rem 0;
}

.checklist-item i {
    width: 16px;
    color: #a4aea8;
    font-size: 0.55rem;
    text-align: center;
}

.checklist-item.met i {
    color: #328154;
}

.success-container {
    text-align: center;
}

.success-icon {
    margin-bottom: 1.25rem;
    color: #328154;
    font-size: 3rem;
}

.success-container .auth-title {
    font-size: 2.3rem;
}

.success-message {
    padding: 0.7rem 0 1.5rem;
    color: var(--auth-text-light);
}

.success-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 1.3rem;
    border-radius: 4px;
    background: var(--auth-accent);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.success-button:hover {
    background: var(--auth-accent-dark);
}

@media (max-width: 1024px) {
    .auth-container {
        grid-template-columns: minmax(280px, 0.8fr) minmax(440px, 1.2fr);
    }

    .auth-visual-panel {
        display: flex;
    }

    .auth-form-panel {
        align-items: center;
        padding-top: 2rem;
    }
}

@media (max-width: 760px) {
    .auth-container {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }

    .auth-visual-panel {
        min-height: 205px;
        align-items: flex-end;
        padding: 1.5rem 1.75rem;
        background-position: center 42%;
    }

    .visual-content {
        max-width: none;
    }

    .brand-logo-img {
        width: 48px;
        height: 48px;
        margin-bottom: 0.75rem;
        padding: 6px;
    }

    .brand-tagline {
        max-width: 320px;
        margin-bottom: 0;
        font-size: 1.7rem;
    }

    .features-list {
        display: none;
    }

    .auth-form-panel {
        flex: 1;
        align-items: flex-start;
        padding: 2.5rem 1.75rem 3rem;
    }

    .auth-form-container {
        max-width: 520px;
        margin: 0 auto;
    }

    .auth-back-button {
        top: 0.9rem;
        left: 0.9rem;
    }

    .auth-title {
        font-size: 2rem;
    }
}

@media (max-width: 420px) {
    .auth-visual-panel {
        min-height: 178px;
    }

    .auth-form-panel {
        padding: 2rem 1.25rem 2.5rem;
    }

    .progress-meta {
        font-size: 0.62rem;
    }

    .auth-title {
        font-size: 1.8rem;
    }
}
