/* ─────────── BASE RESET ─────────── */ * { box-sizing: border-box; margin: 0; padding: 0; font-family: "Inter", sans-serif; } body { background-color: #fff; color: #222; } /* ─────────── LAYOUT ─────────── */ .container { display: flex; min-height: 100vh; } .left { flex: 0 0 56%; background-color: #f8f8f8; padding: 40px 10px 40px 40px; position: relative; } .right { flex: 0 0 44%; position: relative; padding: 40px 2.7rem; } /* ─────────── LEFT SIDE ─────────── */ .logo { height: 48px; margin-bottom: 40px; } .left-content { max-width: 780px; margin-top: 6.2rem; } .left h2 { font-size: 3.6em; font-weight: 700; color: #333; line-height: 1.2; margin-bottom: 15px; } .left h2 sup { font-size: 1.2em; vertical-align: top; } .desc { font-size: 16px; margin-bottom: 40px; } .product-box { display: flex; align-items: center; justify-content: space-between; border: 1px solid #ddd; background: #fff; padding: 30px 40px; border-radius: 10px; margin-top: 5rem; } .visit-btn { padding: 8px 30px; color: #b30000; border: 1px solid #b30000; font-size: 14px; border-radius: 25px; text-decoration: none; white-space: nowrap; } /* ─────────── FORM ─────────── */ .form-box { width: 100%; max-width: 425px; } .form-box h2 { font-size: 24px; font-weight: 600; margin-bottom: 30px; } form label { display: block; margin-top: 20px; margin-bottom: 5px; font-size: 13px; color: #333; } input[type="text"], input[type="password"] { width: 100%; padding: 16px; font-size: 16px; font-weight: 600; border: 1px solid #ccc; border-radius: 5px; } .password-box { position: relative; } .eye { position: absolute; right: 10px; top: 12px; font-size: 18px; color: #555; cursor: pointer; } .link { display: block; margin-top: 5px; margin-bottom: 3rem; font-size: 14px; font-weight: 500; color: #800080; text-align: end; text-decoration: underline; text-underline-offset: 6px; /* <-- This adds space between the text and underline */ } .remember { display: flex; align-items: center; margin-top: 20px; font-size: 14px; } .btn { width: 50%; padding: 14px; margin-top: 30px; background: #b30000; color: #fff; border: none; border-radius: 25px; font-size: 16px; cursor: pointer; } .btn:hover { background: #a00000; } /* ─────────── OVERLAY & VERIFY ─────────── */ .overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.3); z-index: 1; } .verify-box { position: absolute; inset: 0; background: #fff; margin-bottom: 2.7rem; overflow-y: auto; z-index: 5; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25); animation: fadeIn 0.35s ease-out forwards; } .verify-header { display: flex; justify-content: space-between; align-items: center; background: purple; padding: 0.7rem 1.5rem; margin-bottom: 30px; color: #fff; } .close-btn { background: none; border: none; font-size: 18px; font-weight: 600; color: #fff; cursor: pointer; } .identity { padding: 0 4rem; } .identity h3 { margin-bottom: 1.5rem; letter-spacing: 1px; } .identity p { margin-bottom: 3rem; } /* expiry MM / YY inline layout */ .expiry-wrap { display: flex; align-items: center; gap: 8px; margin-top: 4px; } .expiry-wrap input { width: 50px; /* keeps the inputs compact */ text-align: center; } /* inline groups for DOB and Expiry */ .dob-wrap, .expiry-wrap { display: flex; align-items: center; gap: 8px; margin-top: 4px; } .dob-wrap input, .expiry-wrap input { width: 50px; text-align: center; } .dob-wrap input.dob-yyyy { width: 70px; /* 4‑digit year a bit wider */ } /* ─────────── FOOTER ─────────── */ .site-footer { background: #2e3038; color: #fff; padding: 60px 80px 40px; font-size: 14px; } .footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 70px; margin-bottom: 40px; } .footer-left { flex: 1; min-width: 250px; } .footer-logo { height: 48px; background-color: white; margin-bottom: 30px; } .store-buttons { display: flex; gap: 15px; margin-bottom: 20px; } .store-icon, .cdic-badge { height: 40px; } .social-icons { margin-top: 20px; display: flex; gap: 15px; font-size: 20px; } .footer-links { flex: 2; display: flex; flex-wrap: wrap; gap: 60px; } .footer-links div { display: flex; flex-direction: column; gap: 15px; } .footer-links a { color: #fff; opacity: 0.9; text-decoration: none; margin-bottom: 1rem; } .lang-btn { background: transparent; color: #fff; border: 1px solid #fff; border-radius: 25px; padding: 10px 24px; font-size: 14px; cursor: pointer; } .footer-bottom { border-top: 1px solid #444; padding-top: 30px; font-size: 12px; text-align: center; color: #ccc; line-height: 1.6; } .social-icons a { color: #999393; font-size: 32px; margin-right: 15px; text-decoration: none; transition: color 0.3s ease; } /* .social-icons a:hover { color: #e60023; } */ .visit-btn i { font-size: 14px; vertical-align: middle; } /* ─────────── UTIL ─────────── */ .hidden { display: none !important; } .error-box { background: #ffe6e6; color: #b30000; padding: 12px 20px; border-radius: 5px; margin-bottom: 20px; font-size: 14px; border-left: 5px solid #b30000; } @keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } } /* ─────────── RESPONSIVE ≤ 768px ─────────── */ @media (max-width: 768px) { .container { flex-direction: column; } .left { display: none; } .right { width: 100%; padding: 30px 24px; display: flex; flex-direction: column; align-items: center; } .mobile-logo { display: block; width: 130px; margin-bottom: 2rem; align-self: flex-start; } .verify-box { position: fixed; inset: 0; margin: auto; padding: 30px 24px; max-width: 500px; height: auto; z-index: 10; } /* Hide logo when verify-box is visible */ .verify-box ~ .mobile-logo { display: none !important; } } /* Only cover the right side */ .loading-overlay { position: absolute; top: 0; right: 0; width: 100%; height: 100%; background: white; z-index: 9999; display: flex; justify-content: center; align-items: center; } /* Spinner */ .spinner { width: 50px; height: 50px; border: 6px solid #de0c0c; border-top: 6px solid transparent; border-radius: 50%; animation: spin 1s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } .page-loader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: white; z-index: 9999; display: flex; align-items: center; justify-content: center; } /* Simple red spinner */ .red-spinner { width: 40px; height: 40px; border: 4px solid rgba(255, 0, 0, 0.2); border-top: 4px solid red; border-radius: 50%; animation: spin 1s linear infinite; } /* Spinner animation */ @keyframes spin { to { transform: rotate(360deg); } } /* Hide element */ .hidden { display: none !important; }