/* =====================================================
   Páginas de Autenticação - Login Simplificado
   ===================================================== */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background);
    padding: var(--spacing-lg);
}

/* Theme Overrides for Auth Pages */
[data-theme="light"] .login-container,
[data-theme="light"] .register-container {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .progress-line {
    background: var(--border);
}

[data-theme="light"] .progress-circle {
    background: #fdfdfd;
}

[data-theme="dark"] .login-container,
[data-theme="dark"] .register-container {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .form-input {
    background: #000000;
}

/* Login Container - Centralized Design */
.login-container {
    width: 100%;
    max-width: 420px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

/* Logo */
.login-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.login-logo img {
    height: 100px;
    max-width: 100%;
}

/* Title */
.login-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
    color: var(--text-primary);
}

/* Error Message */
.login-error {
    background: rgba(255, 82, 82, 0.1);
    color: var(--danger);
    padding: 14px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-error i {
    font-size: 16px;
}

/* Form */
.login-form {
    width: 100%;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form .form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.login-form .form-input {
    width: 100%;
    height: 52px;
    background: var(--background);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0 16px;
    font-size: 15px;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.login-form .form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--surface-light);
}

.login-form .form-input::placeholder {
    color: var(--text-muted);
}

/* Password Toggle */
.password-toggle {
    position: relative;
}

.password-toggle .form-input {
    padding-right: 48px;
}

.password-toggle-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast);
}

.password-toggle-btn:hover {
    color: var(--text-primary);
}

.password-toggle-btn i {
    font-size: 16px;
}

.login-submit {
    width: 100%;
    height: 52px;
    background: var(--primary);
    color: #000 !important;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-top: 24px;
    margin-bottom: 20px;
}

.login-submit:hover {
    background: var(--primary-dark);
    color: #000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 200, 83, 0.3);
}

.login-submit:active {
    transform: translateY(0);
}

/* Forgot Password Link */
.login-forgot {
    display: block;
    text-align: center;
    color: var(--primary);
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 24px;
    transition: color var(--transition-fast);
}

.login-forgot:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Footer */
.login-footer {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.login-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.login-footer a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* =====================================================
   Responsive Design
   ===================================================== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .login-container {
        max-width: 400px;
        padding: 40px 36px;
    }
    
    .login-title {
        font-size: 28px;
    }
}

/* Mobile Large (480px - 767px) */
@media (max-width: 767px) {
    .auth-page {
        padding: var(--spacing-md);
    }
    
    .login-container {
        max-width: 100%;
        padding: 36px 28px;
        box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    }
    
    .login-logo {
        margin-bottom: 28px;
    }
    
    .login-logo img {
        height: 64px;
    }
    
    .login-title {
        font-size: 26px;
        margin-bottom: 28px;
    }
    
    .login-form .form-input {
        height: 50px;
        font-size: 16px; /* Prevents iOS zoom on focus */
    }
    
    .login-submit {
        height: 50px;
        font-size: 15px;
    }
}

/* Mobile Small (320px - 479px) */
@media (max-width: 479px) {
    .auth-page {
        padding: var(--spacing-sm);
    }
    
    .login-container {
        padding: 28px 20px;
    }
    
    .login-logo {
        margin-bottom: 24px;
    }
    
    .login-logo img {
        height: 64px;
    }
    
    .login-title {
        font-size: 24px;
        margin-bottom: 24px;
    }
    
    .login-error {
        padding: 12px 14px;
        font-size: 13px;
    }
    
    .login-form .form-group {
        margin-bottom: 18px;
    }
    
    .login-form .form-label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .login-form .form-input {
        height: 48px;
        font-size: 16px; /* Prevents iOS zoom */
        padding: 0 14px;
    }
    
    .password-toggle .form-input {
        padding-right: 44px;
    }
    
    .password-toggle-btn {
        right: 12px;
    }
    
    .login-submit {
        height: 48px;
        font-size: 15px;
        margin-top: 20px;
        margin-bottom: 18px;
    }
    
    .login-forgot {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .login-footer {
        font-size: 13px;
        padding-top: 18px;
    }
}

/* Extra Small Screens (< 320px) */
@media (max-width: 319px) {
    .login-container {
        padding: 24px 16px;
    }
    
    .login-title {
        font-size: 22px;
    }
    
    .login-form .form-input,
    .login-submit {
        height: 46px;
    }
}

/* =====================================================
   KYC Verification Page
   ===================================================== */

.kyc-steps {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-xl);
}

.kyc-step {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.kyc-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--surface-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.kyc-step.active .kyc-step-number {
    background: var(--primary);
    color: #000;
}

.kyc-step.completed .kyc-step-number {
    background: var(--primary);
    color: #000;
}

.kyc-step.completed .kyc-step-number::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.kyc-step-text {
    font-size: 13px;
    color: var(--text-muted);
}

.kyc-step.active .kyc-step-text {
    color: var(--text-primary);
}

.kyc-step-connector {
    width: 60px;
    height: 2px;
    background: var(--surface-light);
    margin: 0 var(--spacing-md);
}

.kyc-step.completed + .kyc-step-connector {
    background: var(--primary);
}

.kyc-upload-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.kyc-upload-area:hover {
    border-color: var(--primary);
    background: rgba(0, 200, 83, 0.05);
}

.kyc-upload-area.dragover {
    border-color: var(--primary);
    background: rgba(0, 200, 83, 0.1);
}

.kyc-upload-icon {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
}

.kyc-upload-text {
    font-size: 14px;
    margin-bottom: var(--spacing-xs);
}

.kyc-upload-hint {
    font-size: 13px;
    color: var(--text-muted);
}

.kyc-preview {
    position: relative;
    margin-top: var(--spacing-md);
}

.kyc-preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: var(--radius-md);
}

.kyc-preview-remove {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--danger);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =====================================================
   Register Wizard - Multi-Step Registration
   ===================================================== */

/* Register Container */
.register-container {
    width: 100%;
    max-width: 640px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 48px 44px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

/* Header */
.register-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.register-logo {
    display: flex;
    align-items: center;
}

.register-logo img {
    height: 44px;
    max-width: 100%;
}

.register-user-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 24px;
}

/* Titles */
.register-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.register-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size:14px;
    margin-bottom: 32px;
}

/* Progress Indicator */
.register-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 36px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.progress-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.progress-step.active .progress-circle {
    border-color: var(--primary);
    background: var(--primary);
    color: #000;
}

.progress-step.completed .progress-circle {
    border-color: var(--primary);
    background: var(--primary);
    color: #000;
}

.progress-label {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.2;
    max-width: 70px;
}

.progress-step.active .progress-label {
    color: var(--primary);
    font-weight: 600;
}

.progress-step.completed .progress-label {
    color: var(--text-secondary);
}

.progress-line {
    flex: 1;
    height: 2px;
    background: var(--border);
    margin: 0 8px;
    transition: background var(--transition-fast);
}

.progress-step.completed + .progress-line {
    background: var(--primary);
}

/* Error Message */
.register-error {
    background: rgba(255, 82, 82, 0.1);
    color: var(--danger);
    padding: 14px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.register-error i {
    font-size: 16px;
}

/* Form */
.register-form {
    width: 100%;
}

.register-step {
    display: none;
}

.register-step.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

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

.step-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

/* Input with Icon */
.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 16px;
    transition: color var(--transition-fast);
}

.input-with-icon .form-input {
    width: 100%;
    height: 52px;
    background: var(--background);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0 16px 0 48px;
    font-size: 15px;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.input-with-icon .form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--surface-light);
}

.input-with-icon .form-input:focus + i,
.input-with-icon:focus-within i {
    color: var(--primary);
}

.input-with-icon .form-input::placeholder {
    color: var(--text-muted);
}

/* Password Input Wrapper - for inputs with toggle button */
.password-input-wrapper {
    position: relative;
}

.password-input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 16px;
    transition: color var(--transition-fast);
    pointer-events: none;
}

.password-input-wrapper .form-input {
    width: 100%;
    height: 52px;
    background: var(--background);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0 48px 0 48px; /* Space for both icon and toggle button */
    font-size: 15px;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.password-input-wrapper .form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--surface-light);
}

.password-input-wrapper:focus-within i {
    color: var(--primary);
}

.password-input-wrapper .password-toggle-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast);
    z-index: 10;
}

.password-input-wrapper .password-toggle-btn:hover {
    color: var(--primary);
}

.password-input-wrapper .password-toggle-btn i {
    position: static;
    transform: none;
    margin: 0;
    pointer-events: none;
}

/* Input Error State */
.form-input.input-error,
.input-with-icon .form-input.input-error {
    border-color: var(--danger);
}

/* Select Styling */
select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* Custom Select with Flags */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select {
    position: relative;
    width: 100%;
}

.custom-select-trigger {
    width: 100%;
    height: 52px;
    background: var(--background);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0 40px 0 16px;
    font-size: 15px;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.custom-select-trigger::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--text-muted);
    transition: transform var(--transition-fast);
}

.custom-select.open .custom-select-trigger::after {
    transform: translateY(-50%) rotate(180deg);
}

.custom-select-trigger:hover {
    border-color: var(--primary);
}

.custom-select.open .custom-select-trigger {
    border-color: var(--primary);
    background: var(--surface-light);
}

.custom-select-placeholder {
    color: var(--text-muted);
}

.custom-select-trigger img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.custom-select-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    max-height: 320px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.custom-select-search {
    position: sticky;
    top: 0;
    background: var(--surface);
    padding: 12px;
    border-bottom: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 10;
    position: relative;
}

.custom-select-search i {
    position: absolute;
    left: 24px;
    color: var(--text-muted);
    font-size: 14px;
    pointer-events: none;
}

.custom-select-search-input {
    flex: 1;
    background: var(--background);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 12px 8px 36px;
    font-size: 14px;
    color: var(--text-primary);
    transition: border-color var(--transition-fast);
}

.custom-select-search-input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--surface-light);
}

.custom-select-search-input::placeholder {
    color: var(--text-muted);
}

.custom-select.open .custom-select-options {
    display: block;
}

.custom-select-option {
    padding: 12px 16px;
    cursor: pointer;
    transition: background var(--transition-fast);
    display: flex;
    align-items: center;
    font-size: 15px;
    color: var(--text-primary);
}

.custom-select-option img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 2px;
}

.custom-select-option:hover {
    background: var(--background);
}

.custom-select-option.selected {
    background: rgba(0, 200, 83, 0.1);
    color: var(--primary);
    font-weight: 500;
}

/* Scrollbar for custom select options */
.custom-select-options::-webkit-scrollbar {
    width: 8px;
}

.custom-select-options::-webkit-scrollbar-track {
    background: var(--background);
    border-radius: var(--radius-md);
}

.custom-select-options::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: var(--radius-md);
}

.custom-select-options::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Phone Input Group */
.phone-input-group {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
}

.phone-code input {
    text-align: center;
    padding-left: 48px;
}

.phone-number .form-input {
    padding-left: 16px;
}

/* Form Hint */
.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

/* Password Requirements */
.password-requirements {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(0, 200, 83, 0.1);
    border-radius: var(--radius-md);
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.password-requirements i {
    color: var(--primary);
    margin-top: 2px;
    flex-shrink: 0;
}

/* Checkbox Group */
.checkbox-group {
    margin-bottom: 16px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    position: relative;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-label span {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.checkbox-label span a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.checkbox-label span a:hover {
    text-decoration: underline;
}

.checkbox-error {
    border: 1px solid var(--danger);
    border-radius: var(--radius-md);
    padding: 12px;
    margin: -8px;
}

/* Navigation Buttons */
.register-navigation {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
}

.btn-back,
.btn-next,
.btn-submit {
    flex: 1;
    height: 52px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-back {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--text-primary);
}

.btn-back:hover {
    background: var(--surface-light);
    border-color: var(--text-muted);
}

.btn-next,
.btn-submit {
    background: var(--primary);
    border: none;
    color: #000;
}

.btn-next:hover,
.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 200, 83, 0.3);
}

.btn-next:active,
.btn-submit:active {
    transform: translateY(0);
}

/* Footer */
.register-footer {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    margin: 24px 0 0 0;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.register-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.register-footer a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* =====================================================
   Register Wizard Responsive Design
   ===================================================== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .register-container {
        max-width: 600px;
        padding: 40px 38px;
    }
    
    .register-title {
        font-size: 28px;
    }
}

/* Mobile Large (480px - 767px) */
@media (max-width: 767px) {
    .register-container {
        max-width: 100%;
        padding: 36px 28px;
    }
    
    .register-header {
        margin-bottom: 28px;
    }
    
    .register-logo img {
        height: 38px;
    }
    
    .register-user-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .register-title {
        font-size: 26px;
    }
    
    .register-subtitle {
        font-size: 13px;
        margin-bottom: 28px;
    }
    
    .progress-circle {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
    
    .progress-label {
        font-size: 10px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .input-with-icon .form-input {
        height: 50px;
        font-size: 16px; /* Prevents iOS zoom */
    }
    
    .btn-back,
    .btn-next,
    .btn-submit {
        height: 50px;
    }
}

/* Mobile Small (320px - 479px) */
@media (max-width: 479px) {
    .register-container {
        padding: 28px 20px;
    }
    
    .register-header {
        margin-bottom: 24px;
    }
    
    .register-logo img {
        height: 34px;
    }
    
    .register-user-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .register-title {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .register-subtitle {
        font-size: 12px;
        margin-bottom: 24px;
    }
    
    .register-progress {
        margin-bottom: 28px;
    }
    
    .progress-circle {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
    
    .progress-label {
        display: none;
    }
    
    .progress-line {
        margin: 0 6px;
    }
    
    .step-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .form-label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .input-with-icon i {
        font-size: 14px;
        left: 14px;
    }
    
    .input-with-icon .form-input {
        height: 48px;
        padding-left: 40px;
        padding-right: 14px;
    }
    
    .phone-input-group {
        grid-template-columns: 100px 1fr;
        gap: 10px;
    }
    
    .phone-code input {
        padding-left: 40px;
    }
    
    .password-requirements {
        font-size: 12px;
        padding: 10px 12px;
        gap: 8px;
    }
    
    .checkbox-label {
        gap: 10px;
    }
    
    .checkbox-label input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }
    
    .checkbox-label span {
        font-size: 13px;
    }
    
    .register-navigation {
        gap: 12px;
        margin-top: 28px;
    }
    
    .btn-back,
    .btn-next,
    .btn-submit {
        height: 48px;
        font-size: 14px;
    }
    
    .register-footer {
        font-size: 13px;
        margin-top: 20px;
        padding-top: 20px;
    }
}

/* Extra Small (< 320px) */
@media (max-width: 319px) {
    .register-container {
        padding: 24px 16px;
    }
    
    .register-title {
        font-size: 22px;
    }
    
    .progress-circle {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
    
    .progress-line {
        margin: 0 4px;
    }
    
    .input-with-icon .form-input {
        height: 46px;
    }
    
    .btn-back,
    .btn-next,
    .btn-submit {
        height: 46px;
    }
}

/* =====================================================
   Forgot Password - Password Reset Pages
   ===================================================== */

/* Icon Wrapper for Reset Symbol */
.reset-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    width: 80px;
    height: 80px;
}

.reset-icon-wrapper .fa-lock {
    font-size: 48px;
    color: var(--primary);
}

.reset-icon-wrapper .fa-key {
    font-size: 48px;
    color: var(--primary);
}

.reset-icon-wrapper .reset-arrow {
    position: absolute;
    font-size: 24px;
    color: var(--primary);
    top: -4px;
    right: -4px;
    animation: rotate 2s linear infinite;
}

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

/* Subtitle */
.forgot-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 28px;
}

/* Success Message */
.forgot-success {
    background: rgba(0, 200, 83, 0.1);
    color: var(--primary);
    padding: 14px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.forgot-success i {
    font-size: 16px;
}

/* Responsive Styles */
@media (max-width: 767px) {
    .reset-icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .reset-icon-wrapper .fa-lock,
    .reset-icon-wrapper .fa-key {
        font-size: 42px;
    }
    
    .reset-icon-wrapper .reset-arrow {
        font-size: 20px;
    }
    
    .forgot-subtitle {
        font-size: 13px;
        margin-bottom: 24px;
    }
}

@media (max-width: 479px) {
    .reset-icon-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 18px;
    }
    
    .reset-icon-wrapper .fa-lock,
    .reset-icon-wrapper .fa-key {
        font-size: 36px;
    }
    
    .reset-icon-wrapper .reset-arrow {
        font-size: 18px;
        top: -2px;
        right: -2px;
    }
    
    .forgot-subtitle,
    .forgot-success {
        font-size: 13px;
    }
}

