/* Code UI - Centered & Enlarged "Lấy mã đăng nhập" */
.code-page{--code-green:#007f70;--code-green-hover:#00685c;--code-ink:#102b2a;--code-muted:#566f76;margin:0;min-height:100vh;padding-bottom:0;background:radial-gradient(ellipse at 50% 0%,#eaf7f2 0,transparent 55%),radial-gradient(ellipse at 90% 40%,#edf9f5 0,transparent 45%),#f8fcfa;color:var(--code-ink);font-family:'Inter','Be Vietnam Pro',Arial,sans-serif}
.code-icons{position:absolute;width:0;height:0;overflow:hidden}
.code-page svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.code-page .code-header{position:relative;background:#ffffffed;border-bottom:1px solid #e1eeea;z-index:20}
.code-page .code-header .header{max-width:1200px;margin:0 auto;min-height:80px;gap:24px;padding:12px 32px;display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap}
.code-page .code-header .brand{font-size:20px;gap:10px;white-space:nowrap;letter-spacing:-.7px;display:flex;align-items:center;text-decoration:none;color:var(--code-ink)}
.code-page .code-header .brand-logo{width:42px;height:42px;object-fit:contain}
.code-page .code-header .brand small{font-size:9px;letter-spacing:1.5px;color:#6e7d8d;font-weight:700}
.code-page .code-nav{align-self:stretch;display:flex;align-items:center;gap:26px;margin-left:auto;font-size:13px;font-weight:600}
.code-page .code-nav>a{display:flex;align-items:center;position:relative;white-space:nowrap;text-decoration:none;color:#475569}
.code-page .code-nav>a[aria-current=page]{color:var(--code-green);font-weight:700}
.code-page .code-nav>a[aria-current=page]:after{content:'';position:absolute;height:3px;left:6px;right:6px;bottom:-12px;background:var(--code-green);border-radius:4px}
.code-page .code-header-help{border-radius:10px;padding:12px 18px;white-space:nowrap;font-size:13px;background:var(--code-green);color:#fff;text-decoration:none;font-weight:700}
.code-page .category-menu-toggle{width:48px;height:48px;min-width:48px;padding:0;border-radius:50%;justify-content:center;background:white;color:var(--code-green);border:1px solid #deebe7;box-shadow:0 5px 18px #14382f08}
.code-page .category-menu-label{display:none}
.code-page .category-menu-lines{margin:0}

/* CENTERED MAIN CONTAINER */
.code-main{max-width:860px;margin:auto;padding:48px 24px 32px}

/* THE ENLARGED HERO CARD */
.code-hero-wrap{max-width:680px;margin:0 auto 40px}
.code-card{position:relative;min-width:0;padding:44px 48px 36px;background:#fff;border:2px solid #84c7b8;border-radius:28px;box-shadow:0 20px 50px rgba(0,127,112,.08),0 4px 16px rgba(0,0,0,.03);transition:border-color .2s,box-shadow .2s}
.code-card:focus-within{border-color:var(--code-green);box-shadow:0 20px 50px rgba(0,127,112,.14),0 0 0 4px rgba(0,127,112,.1)}
.code-card:before{content:'';position:absolute;height:5px;width:140px;top:-2px;left:48px;border-radius:10px;background:linear-gradient(90deg,#008d78,#10b981)}
.code-card-heading{display:flex;gap:20px;align-items:center;margin:0 0 32px}
.code-heading-icon{display:grid;place-items:center;width:68px;height:68px;border-radius:20px;background:linear-gradient(135deg,#e4f7f0,#d1f2e7);color:var(--code-green);flex-shrink:0;box-shadow:0 6px 16px rgba(0,127,112,.12)}
.code-heading-icon svg{width:34px;height:34px}
.code-eyebrow{display:inline-block;margin:0 0 6px;color:var(--code-green);font-weight:800;letter-spacing:1.5px;font-size:11px;text-transform:uppercase}
.code-card h1{font-size:32px;line-height:1.2;font-weight:850;letter-spacing:-.8px;margin:0 0 8px;color:#0f2928}
.code-card-lead{margin:0;font-size:15px;line-height:1.55;color:var(--code-muted)}

/* FORM ELEMENTS - LARGE & CRISP */
.code-form-group{margin-bottom:24px}
.code-card label{display:block;margin:0 0 12px;font-size:15px;font-weight:750;color:#143534}
.code-card label>span{color:#e11d48}
.code-input-wrap{display:flex;align-items:center;gap:14px;min-height:64px;padding:0 20px;border:2px solid #a3cfc5;border-radius:16px;background:#fff;transition:border-color .18s,box-shadow .18s}
.code-input-wrap>svg{width:24px;height:24px;color:#718096}
.code-input-wrap:focus-within{border-color:var(--code-green);box-shadow:0 0 0 4px rgba(0,127,112,.15)}
.code-card input{display:block;min-width:0;flex:1;width:100%;border:0;outline:0;background:transparent;color:#0f2928;padding:16px 0;font:inherit;font-size:17px;font-weight:600;line-height:1.5;border-radius:0}
.code-card input::placeholder{color:#94a3b8;font-weight:400;opacity:1}
.code-input-hint{margin:10px 0 0 4px;font-size:13px;line-height:1.5;color:#64748b}

/* SUBMIT BUTTON - PROMINENT */
.code-submit{width:100%;display:flex;align-items:center;justify-content:center;gap:12px;min-height:64px;border:0;border-radius:16px;margin:28px 0 0;padding:16px 24px;background:linear-gradient(110deg,#008d78,#007162);box-shadow:0 10px 24px rgba(0,127,112,.25);color:#fff;font-size:18px;font-weight:800;letter-spacing:.2px;cursor:pointer;transition:transform .18s,box-shadow .18s,background .18s}
.code-submit:hover{background:linear-gradient(110deg,#009d86,#007d6d);transform:translateY(-2px);box-shadow:0 14px 28px rgba(0,127,112,.32)}
.code-submit:active{transform:translateY(0)}
.code-submit svg{width:22px;height:22px;transition:transform .2s ease}
.code-submit:hover svg{transform:translateX(4px)}
.code-submit:disabled{opacity:.65;cursor:not-allowed;transform:none}

.code-status{margin:16px 0 0;font-size:13px;line-height:1.6;color:#64748b;text-align:center;min-height:22px}
.code-status.is-copied{color:#047857;background:#d1fae5;border:1px solid #6ee7b7;border-radius:12px;padding:11px 16px;font-size:15px;font-weight:750;box-shadow:0 3px 10px rgba(8,121,104,.08)}
.code-status.is-error{color:#b91c1c;background:#fee2e2;border:1px solid #fca5a5;border-radius:12px;padding:11px 16px;font-size:14px;font-weight:700}

/* RESULT CONTAINER */
.code-result{margin-top:28px;padding:28px 24px;border-radius:20px;background:linear-gradient(135deg,#f0fdf9,#e6f7f2);border:2px dashed #059669;text-align:center}
.code-result-label{display:block;margin-bottom:12px;color:#047857;font-size:13px;font-weight:750;letter-spacing:1.5px;text-transform:uppercase}
.code-digits{display:block;font-size:48px;line-height:1.15;letter-spacing:8px;font-weight:900;color:#065f46;margin-bottom:10px;font-family:'JetBrains Mono','SF Mono',monospace}
.code-result>p{margin:0 0 18px;font-size:14px;font-weight:600;color:#b45309}
.code-copy{min-height:52px;padding:0 34px;border-radius:12px;border:2px solid var(--code-green);background:#fff;color:var(--code-green);font-size:16px;font-weight:750;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:all .18s ease}
.code-copy:hover{background:var(--code-green);color:#fff}
.code-copy.is-copied{background:#047857;border-color:#047857;color:#fff}

/* SUPPORT FOOTER */
.code-support{margin-top:32px;padding-top:24px;border-top:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between;font-size:14px;color:#64748b;gap:16px;flex-wrap:wrap}
.code-support a{display:inline-flex;align-items:center;gap:6px;color:var(--code-green);font-weight:750;text-decoration:none}
.code-support a:hover{text-decoration:underline}

/* GUIDE SECTION BELOW */
.code-guide{margin-top:48px}
.code-guide h2{font-size:22px;letter-spacing:-.6px;margin:0 0 24px;text-align:center;font-weight:800;color:var(--code-ink)}
.code-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:0 0 24px;padding:0;list-style:none}
.code-steps>li{display:flex;flex-direction:column;gap:12px;padding:22px 18px;border-radius:18px;border:1px solid #cce5dd;background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.02)}
.code-step-number{width:42px;height:42px;border-radius:12px;background:#e6f7f2;color:var(--code-green);font-size:17px;font-weight:850;display:grid;place-items:center}
.code-steps h3{margin:0;font-size:15px;font-weight:750;color:var(--code-ink)}
.code-steps p{margin:0;font-size:13px;line-height:1.55;color:#64748b}

.code-security{display:flex;align-items:center;justify-content:center;gap:10px;padding:16px 20px;border-radius:14px;background:#ecfdf5;border:1px solid #a7f3d0;color:#065f46;font-size:14px;font-weight:600;text-align:center}

.code-footer{margin-top:48px;border-top:1px solid #e5efeb;background:#ffffffcc}
.code-footer-inner{max-width:1200px;margin:auto;padding:24px 32px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.code-footer-brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:var(--code-ink)}
.code-footer-links{display:flex;align-items:center;gap:24px}
.code-footer-links>a{display:inline-flex;align-items:center;gap:6px;color:var(--code-muted);text-decoration:none;font-size:13px;font-weight:600}
.code-footer-links>a:hover{color:var(--code-green)}

/* RESPONSIVE */
@media(max-width:768px){
.code-main{padding:32px 16px 24px}
.code-hero-wrap{margin-bottom:32px}
.code-card{padding:30px 22px 26px;border-radius:22px}
.code-card:before{left:24px;width:100px}
.code-card-heading{gap:14px;margin-bottom:24px}
.code-heading-icon{width:54px;height:54px;border-radius:16px}
.code-heading-icon svg{width:28px;height:28px}
.code-card h1{font-size:26px}
.code-input-wrap{min-height:56px;padding:0 16px}
.code-card input{font-size:16px}
.code-submit{min-height:56px;font-size:16px;margin-top:22px}
.code-digits{font-size:38px;letter-spacing:6px}
.code-steps{grid-template-columns:1fr;gap:12px}
.code-steps>li{flex-direction:row;align-items:center;padding:18px;gap:16px}
.code-footer-inner{flex-direction:column;gap:16px;text-align:center}
}

/* Consistent Vietnamese typography for the code retrieval page. */
.code-page{font-family:'Be Vietnam Pro','Segoe UI',Arial,sans-serif;font-weight:400}
.code-page :is(button,input,select,textarea){font-family:inherit}
.code-page .code-eyebrow{font-size:11px;font-weight:600;letter-spacing:1.1px;line-height:1.6}
.code-page .code-card h1{font-weight:700;letter-spacing:-.35px;line-height:1.35}
.code-page .code-card-lead{font-size:15px;font-weight:400;line-height:1.75}
.code-page .code-card label{font-weight:600;line-height:1.6}
.code-page .code-card input{font-weight:400;letter-spacing:normal}
.code-page .code-submit{font-weight:700;letter-spacing:normal;line-height:1.5}
.code-page :is(.code-input-hint,.code-status){font-size:13px;line-height:1.75}
.code-page :is(.code-copy,.code-support a,.code-status.is-copied){font-weight:600}
.code-page .code-result-label{font-weight:600;letter-spacing:.6px;line-height:1.6}
.code-page .code-guide h2{font-weight:700;letter-spacing:-.2px;line-height:1.5}
.code-page .code-steps h3{font-weight:600;line-height:1.6}
.code-page .code-steps p{line-height:1.75}
