/* Authentication Pages Styles */

/* Onboarding Pages */
.onboarding-body {
    background: linear-gradient(180deg, #F0FDF4 0%, #FFFFFF 50%);
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

.onboarding-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: transparent;
}

.onboarding-logo {
    font-size: 20px;
    font-weight: 700;
}

.skip-link {
    color: #4ECDC4;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.onboarding-illustration-section {
    background: linear-gradient(180deg, #F0FDF4 0%, #FFFFFF 100%);
    padding: 40px 20px;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 30px 30px;
    position: relative;
    overflow: hidden;
}

.onboarding-illustration {
    position: relative;
    width: 100%;
    max-width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Onboarding 1 - Shopping Basket */
.illustration-basket {
    position: relative;
    font-size: 120px;
    z-index: 2;
    filter: hue-rotate(280deg) saturate(1.2);
}

.basket-boxes {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.gift-box {
    position: absolute;
    font-size: 40px;
    filter: hue-rotate(40deg) saturate(1.5);
}

.box-1 { top: -30px; left: -20px; }
.box-2 { top: -10px; right: -20px; }
.box-3 { bottom: -20px; left: 10px; }

.floating-dollar {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 50px;
    filter: hue-rotate(40deg) saturate(1.5);
    z-index: 3;
}

.floating-percent {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    background-color: #FF6B6B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 700;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.floating-star {
    position: absolute;
    font-size: 28px;
    filter: hue-rotate(40deg) saturate(1.5);
    z-index: 3;
    animation: twinkle 2s infinite;
}

.star-1 { top: 15%; left: 10%; }
.star-2 { bottom: 15%; right: 15%; }

.buy-button-illustration {
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.buy-btn-3d {
    background: linear-gradient(135deg, #4ECDC4 0%, #26D07C 100%);
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
    transform: perspective(100px) rotateY(-5deg);
}

.cursor-pointer {
    position: absolute;
    top: -20px;
    right: -15px;
    font-size: 30px;
    transform: rotate(-20deg);
}

/* Onboarding 2 - Voucher */
.illustration-voucher {
    position: relative;
    width: 280px;
    height: 180px;
    background: linear-gradient(135deg, #9C27B0 0%, #E91E63 100%);
    border-radius: 20px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(156, 39, 176, 0.3);
    z-index: 2;
}

.voucher-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4ECDC4 0%, #26D07C 100%);
    padding: 20px;
}

.voucher-text {
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 700;
    transform: rotate(-5deg);
}

.voucher-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    background-color: #FFFFFF;
}

.voucher-lines {
    height: 2px;
    background: repeating-linear-gradient(
        to right,
        #E0E0E0 0px,
        #E0E0E0 10px,
        transparent 10px,
        transparent 20px
    );
    margin: 8px 0;
}

.floating-percent-red {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background-color: #FF0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 28px;
    font-weight: 700;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.floating-coin {
    position: absolute;
    font-size: 50px;
    filter: hue-rotate(40deg) saturate(1.5);
    z-index: 3;
}

.coin-1 { top: 30px; right: 40px; }
.coin-2 { bottom: 30px; left: 30px; }

/* Onboarding 3 - Credit Cards */
.illustration-cards {
    position: relative;
    width: 100%;
    height: 200px;
    z-index: 2;
}

.card-front {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-60%, -50%) rotate(-5deg);
    width: 200px;
    height: 120px;
    background: linear-gradient(135deg, #2196F3 0%, #21CBF3 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    box-shadow: 0 8px 24px rgba(33, 150, 243, 0.3);
    z-index: 3;
}

.card-back {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-40%, -50%) rotate(5deg);
    width: 200px;
    height: 120px;
    background: linear-gradient(135deg, #9C27B0 0%, #E91E63 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    box-shadow: 0 8px 24px rgba(156, 39, 176, 0.3);
    z-index: 2;
}

.security-shield {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4ECDC4 0%, #26D07C 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    z-index: 4;
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.4);
}

.coin-3 { bottom: 20px; right: 40px; }

.onboarding-content {
    padding: 30px 20px;
    text-align: center;
    background-color: #FFFFFF;
}

.onboarding-title {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 15px;
}

.onboarding-description {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.onboarding-next-btn {
    width: 100%;
    max-width: 400px;
    background-color: #000000;
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 20px;
    transition: background-color 0.2s;
}

.onboarding-next-btn:hover {
    background-color: #333333;
}

.onboarding-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.onboarding-login-btn {
    flex: 1;
    background-color: #FFFFFF;
    color: #000000;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.onboarding-login-btn:hover {
    background-color: #F5F5F5;
}

.onboarding-get-started-btn {
    flex: 1;
    background-color: #000000;
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.2s;
}

.onboarding-get-started-btn:hover {
    background-color: #333333;
}

.onboarding-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.onboarding-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #E0E0E0;
    transition: background-color 0.2s;
}

.onboarding-dots .dot.active {
    background-color: #4ECDC4;
    width: 24px;
    border-radius: 4px;
}

/* Auth Pages (Login/Signup) */
.auth-body {
    background-color: #FFFFFF;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

.auth-header {
    padding: 20px;
    background-color: #FFFFFF;
}

.auth-logo {
    font-size: 20px;
    font-weight: 700;
}

.auth-main {
    padding: 30px 20px;
    max-width: 480px;
    margin: 0 auto;
}

.auth-title {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 10px;
}

.auth-subtitle {
    font-size: 14px;
    color: #666666;
    margin-bottom: 30px;
}

.auth-link {
    color: #4ECDC4;
    text-decoration: none;
    font-weight: 600;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.auth-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-form-label {
    font-size: 14px;
    font-weight: 600;
    color: #000000;
}

.auth-form-label .required {
    color: #FF0000;
    margin-left: 3px;
}

.auth-form-input {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 16px;
    color: #000000;
    outline: none;
    transition: border-color 0.2s;
}

.auth-form-input:focus {
    border-color: #4ECDC4;
}

.auth-password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-password-wrapper .auth-form-input {
    padding-right: 50px;
}

.auth-password-toggle {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: #666666;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-forgot-link {
    color: #4ECDC4;
    font-size: 14px;
    text-decoration: none;
    align-self: flex-end;
    margin-top: -10px;
}

.auth-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #000000;
    cursor: pointer;
    user-select: none;
}

.auth-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #4ECDC4;
    flex-shrink: 0;
}

.auth-checkbox-label span {
    font-size: 14px;
    color: #000000;
}

.auth-btn-primary {
    width: 100%;
    background-color: #000000;
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 10px;
}

.auth-btn-primary:hover {
    background-color: #333333;
}

.auth-btn-google {
    width: 100%;
    background-color: #FFFFFF;
    color: #000000;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.2s;
    margin-top: 15px;
}

.auth-btn-google:hover {
    background-color: #F5F5F5;
}

.auth-error-message {
    background-color: #FFF5F5;
    border: 1px solid #FFCCCC;
    color: #CC0000;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.auth-error-message i {
    font-size: 16px;
    flex-shrink: 0;
}

.google-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #4285F4 0%, #EA4335 50%, #FBBC05 75%, #34A853 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 14px;
}

.auth-footer-text {
    font-size: 12px;
    color: #000000;
    text-align: center;
    margin-top: 30px;
    line-height: 1.6;
}

.auth-footer-link {
    color: #4285F4;
    text-decoration: none;
}

/* Profile Photo Upload Page */
.profile-photo-main {
    padding-top: 20px;
}

.profile-photo-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.profile-photo-upload-area {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-photo-upload-area.drag-over {
    opacity: 0.7;
}

.profile-photo-input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
}

.profile-photo-preview-wrapper {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    position: relative;
}

.profile-photo-preview {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: #F5F5F5;
    border: 3px dashed #E0E0E0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.profile-photo-upload-area:hover .profile-photo-preview {
    border-color: #4ECDC4;
    background-color: #F0FDF4;
}

.profile-photo-placeholder-icon {
    font-size: 80px;
    color: #CCCCCC;
}

.profile-photo-placeholder-text {
    font-size: 14px;
    color: #999999;
    margin: 0;
    font-weight: 500;
}

.profile-photo-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-photo-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.profile-photo-actions .auth-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.skip-link {
    text-align: center;
    color: #666666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 10px;
    transition: color 0.2s;
}

.skip-link:hover {
    color: #4ECDC4;
}

/* Auth Page Header (Forgot Password) */
.auth-page-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background-color: #FFFFFF;
    gap: 15px;
}

.auth-page-header .back-arrow {
    color: #000000;
    font-size: 20px;
    text-decoration: none;
}

.auth-page-title {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    flex: 1;
}

.auth-page-header .step-indicator {
    font-size: 14px;
    color: #999999;
    font-weight: 500;
}

/* Forgot Password Pages */
.forgot-password-title {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 10px;
}

.forgot-password-subtitle {
    font-size: 14px;
    color: #666666;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Email Verification */
.verification-banner {
    background-color: #E0F7FA;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
}

.verification-banner-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #4ECDC4;
    border: 2px solid #4ECDC4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 16px;
    flex-shrink: 0;
}

.verification-banner-text {
    font-size: 14px;
    color: #333333;
    line-height: 1.5;
}

.verification-main {
    padding-top: 20px;
}

.verification-subtitle {
    font-size: 14px;
    color: #666666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.verification-code-inputs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 20px;
}

.code-input {
    width: 50px;
    height: 50px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    outline: none;
    transition: all 0.2s;
    background-color: #FFFFFF;
}

.code-input:focus {
    border-color: #4ECDC4;
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.resend-code-link {
    display: block;
    text-align: right;
    color: #4ECDC4;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 30px;
}

.verification-proceed-btn {
    margin-bottom: 30px;
}

/* Numeric Keypad */
.numeric-keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 20px;
    background-color: #F0FDF4;
    border-radius: 20px 20px 0 0;
    margin: 30px -20px -30px;
}

.keypad-key {
    background-color: #F0FDF4;
    border: none;
    border-radius: 12px;
    padding: 20px;
    font-size: 24px;
    font-weight: 700;
    color: #333333;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.keypad-key:active {
    background-color: #E8F5E9;
    transform: scale(0.95);
}

.keypad-backspace,
.keypad-clear {
    font-size: 20px;
    color: #666666;
}

/* Password Reset Success */
.success-body {
    background: linear-gradient(180deg, #F0F8F7 0%, #FFFFFF 100%);
}

.success-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
    text-align: center;
}

.success-illustration {
    margin-bottom: 30px;
}

.success-lock-icon {
    position: relative;
    width: 120px;
    height: 120px;
    background-color: #333333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 50px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.success-checkmark {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4ECDC4 0%, #26D07C 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.4);
    border: 4px solid #FFFFFF;
}

.success-title {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 15px;
    line-height: 1.3;
}

.success-description {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 300px;
}

.success-login-btn {
    max-width: 400px;
}

/* Animations */
@keyframes twinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.9); }
}

/* Desktop Auth Pages */
.auth-desktop-container {
    display: none;
    max-width: 500px;
    margin: 60px auto;
    padding: 0 20px;
}

.auth-desktop-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 50px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.auth-desktop-title {
    font-size: 36px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 10px;
    text-align: center;
}

.auth-desktop-subtitle {
    font-size: 16px;
    color: #666666;
    margin-bottom: 30px;
    text-align: center;
}

.auth-mobile {
    display: block;
}

.verification-banner-desktop {
    background-color: #E0F7FA;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.verification-banner-desktop .verification-banner-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
}

.verification-banner-desktop .verification-banner-text {
    font-size: 15px;
    flex: 1;
}

/* Responsive */
@media (min-width: 1024px) {
    .auth-desktop-container {
        display: block;
    }
    
    .auth-mobile {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .onboarding-illustration {
        max-width: 250px;
        height: 250px;
    }
    
    .illustration-basket {
        font-size: 100px;
    }
    
    .illustration-voucher {
        width: 240px;
        height: 150px;
    }
    
    .card-front,
    .card-back {
        width: 160px;
        height: 100px;
    }
    
    .verification-code-inputs {
        gap: 8px;
    }
    
    .code-input {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

