:root {
    --gs1-navy: #002f6c;
    --gs1-blue: #005bbb;
    --gs1-bright: #0878ee;
    --gs1-sky: #eaf5ff;
    --gs1-pale: #f5faff;
    --gs1-orange: #f26322;
    --ink: #062a61;
    --muted: #60789c;
    --line: #d8e7f6;
    --success: #079657;
    --warning: #f5a000;
    --shadow: 0 14px 35px rgba(15, 64, 120, .09);
    --radius-lg: 18px;
    --radius-md: 13px;
    --header-height: 94px;
}

:root {
    --color-primary-blue: #002c6c;
    --color-primary-forest: #00ac4a;
    --color-primary-gold: #c4b000;
    --color-primary-grass: #7ac143;
    --color-primary-honey: #b78b20;
    --color-primary-lavender: #af96d4;
    --color-primary-lime: #c1d82f;
    --color-primary-link: #008dbd;
    --color-primary-mint: #71b790;
    --color-primary-mist: #8db9ca;
    --color-primary-olive: #9dbb68;
    --color-primary-orange: #f26334;
    --color-primary-peach: #fbb034;
    --color-primary-purple: #bd80b7;
    --color-primary-raspberry: #f05587;
    --color-primary-sky: #00b6de;
    --color-primary-slate: #89aadb;
    --color-primary-tangerine: #ff8200;
    --color-primary-teal: #22bcb9;
    --color-primary-terracotta: #d18158;
    --color-primary-silver: #888b8d;
    --color-primary-light-gray: #f4f4f4;
    --color-primary-keys: "blue" "forest" "gold" "grass" "honey" "lavender" "lime" "link" "mint" "mist" "olive" "orange" "peach" "purple" "raspberry" "sky" "slate" "tangerine" "teal" "terracotta" "silver" "light-gray";
    --color-accessible-forest-dark-1: #026b30;
    --color-accessible-forest-dark-2: #014b22;
    --color-accessible-forest-light-1: #b3eacb;
    --color-accessible-forest-light-2: #ccf1dc;
    --color-accessible-forest: #008037;
    --color-accessible-gold-dark-1: #665b0b;
    --color-accessible-gold-dark-2: #4e4608;
    --color-accessible-gold: #826f00;
    --color-accessible-grass-dark-1: #376911;
    --color-accessible-grass-dark-2: #2c530e;
    --color-accessible-grass: #417e12;
    --color-accessible-honey-dark-1: #705517;
    --color-accessible-honey-dark-2: #594312;
    --color-accessible-honey: #8d6b19;
    --color-accessible-lavender-dark-1: #6f4aa8;
    --color-accessible-lavender-dark-2: #604091;
    --color-accessible-lavender: #835cbc;
    --color-accessible-link-dark-1: #0a5e7a;
    --color-accessible-link-dark-2: #084c63;
    --color-accessible-link: #00799e;
    --color-accessible-lime-dark-1: #576111;
    --color-accessible-lime-dark-2: #3e450c;
    --color-accessible-lime: #667800;
    --color-accessible-mint-dark-1: #276b45;
    --color-accessible-mint-dark-2: #1f5637;
    --color-accessible-mint: #3f7c5a;
    --color-accessible-mist-dark-1: #356577;
    --color-accessible-mist-dark-2: #2a515f;
    --color-accessible-mist: #41778c;
    --color-accessible-olive-dark-1: #576337;
    --color-accessible-olive-dark-2: #48522e;
    --color-accessible-olive: #677642;
    --color-accessible-orange-dark-1: #a82c05;
    --color-accessible-orange-dark-2: #912305;
    --color-accessible-orange: #cd3c0d;
    --color-accessible-peach-dark-1: #855304;
    --color-accessible-peach-dark-2: #6d4403;
    --color-accessible-peach: #9d6304;
    --color-accessible-purple-dark-1: #823d80;
    --color-accessible-purple-dark-2: #6f346d;
    --color-accessible-purple: #a2539a;
    --color-accessible-raspberry-dark-1: #b32253;
    --color-accessible-raspberry-dark-2: #961c46;
    --color-accessible-raspberry: #d12b61;
    --color-accessible-sky-dark-1: #095a6b;
    --color-accessible-sky-dark-2: #074755;
    --color-accessible-sky: #007b93;
    --color-accessible-slate-dark-1: #235696;
    --color-accessible-slate-dark-2: #1c4578;
    --color-accessible-slate: #3a70bf;
    --color-accessible-tangerine-dark-1: #7a3d00;
    --color-accessible-tangerine-dark-2: #630;
    --color-accessible-tangerine-light-1: #ffdab3;
    --color-accessible-tangerine-light-2: #ffe6cc;
    --color-accessible-tangerine: #a15700;
    --color-accessible-teal-dark-1: #14615f;
    --color-accessible-teal-dark-2: #104c4b;
    --color-accessible-teal: #177c7a;
    --color-accessible-terracotta-dark-1: #854525;
    --color-accessible-terracotta-dark-2: #703a1f;
    --color-accessible-terracotta: #ab5a2f;
    --color-accessible-keys: "forest-dark-1" "forest-dark-2" "forest-light-1" "forest-light-2" "forest" "gold-dark-1" "gold-dark-2" "gold" "grass-dark-1" "grass-dark-2" "grass" "honey-dark-1" "honey-dark-2" "honey" "lavender-dark-1" "lavender-dark-2" "lavender" "link-dark-1" "link-dark-2" "link" "lime-dark-1" "lime-dark-2" "lime" "mint-dark-1" "mint-dark-2" "mint" "mist-dark-1" "mist-dark-2" "mist" "olive-dark-1" "olive-dark-2" "olive" "orange-dark-1" "orange-dark-2" "orange" "peach-dark-1" "peach-dark-2" "peach" "purple-dark-1" "purple-dark-2" "purple" "raspberry-dark-1" "raspberry-dark-2" "raspberry" "sky-dark-1" "sky-dark-2" "sky" "slate-dark-1" "slate-dark-2" "slate" "tangerine-dark-1" "tangerine-dark-2" "tangerine-light-1" "tangerine-light-2" "tangerine" "teal-dark-1" "teal-dark-2" "teal" "terracotta-dark-1" "terracotta-dark-2" "terracotta";
    --color-ui-1: #f0f5fa;
    --color-ui-2: #e5f0fc;
    --color-ui-3: #c4d7ed;
    --color-ui-4: #e5e8eb;
    --color-ui-5: #a6b0bb;
    --color-ui-6: #696d73;
    --color-ui-7: #414345;
    --color-ui-8: #262626;
    --color-ui-danger: #ba1b23;
    --color-ui-keys: "1" "2" "3" "4" "5" "6" "7" "8" "danger";
    --color-keys: primary accessible ui;
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #cd3c0d;
    --secondary: #6c757d;
    --success: #008037;
    --info: #e5f0fc;
    --warning: #ffe6cc;
    --danger: #ba1b23;
    --light: #f8f9fa;
    --dark: #343a40;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --font-family-sans-serif: "GothamSSm",Verdana,sans-serif;
    --font-family-monospace: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace
}


* {
    box-sizing: border-box;
}

html, body {
    min-height: 100%;
}

body {
    margin: 0;
    color: var(--ink);
    background: #f8fbff;
    font-family: "Noto Sans Thai", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    width: 100%;
    min-height: 100%;
}

a {
    color: inherit;
}

/*.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}*/

.app-shell {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background: rgba(255,255,255,.98);
}

.app-container {
    width: 100%;
    /*width: min(100%, 1640px);*/
    /*padding-inline: clamp(20px, 4.2vw, 72px);*/
}

.site-header {
    height: var(--header-height);
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid #eaf1f8;
    position: relative;
    z-index: 20;
}

.header-inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
    flex: 0 0 auto;
}

.brand-logo {
    width: 133px;
    height: 72px;
    object-fit: contain;
}

.brand-divider {
    width: 1px;
    height: 48px;
    background: #bfd0e2;
}

.brand-tagline {
    font-size: .94rem;
    color: #38577c;
    line-height: 1.3;
}

.main-nav {
    align-items: center;
    gap: clamp(20px, 2.4vw, 42px);
}

    .main-nav .nav-link {
        position: relative;
        padding: 34px 0 28px;
        color: #173e75;
        text-decoration: none;
        font-weight: 600;
        white-space: nowrap;
    }

        .main-nav .nav-link::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: 20px;
            height: 3px;
            border-radius: 4px;
            background: transparent;
        }

        .main-nav .nav-link:hover, .main-nav .nav-link.active {
            color: var(--gs1-navy);
        }

            .main-nav .nav-link.active::after {
                background: var(--gs1-blue);
            }

.staff-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 23px;
    border: 1.5px solid var(--gs1-blue);
    border-radius: 10px;
    color: var(--gs1-navy);
    text-decoration: none;
    font-weight: 700;
    background: white;
}

    .staff-button:hover {
        color: white;
        background: var(--gs1-blue);
    }

.page-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-hero {
    min-height: 163px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(244,250,255,.92) 48%, rgba(215,237,255,.85) 100%), radial-gradient(circle at 73% 22%, #90cffd 0 2px, transparent 3px);
    border-bottom: 1px solid #dceaf7;
}

    .event-hero::before,
    .event-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
    }

    .event-hero::before {
        opacity: .44;
        background-image: linear-gradient(30deg, transparent 45%, rgba(34,132,219,.16) 46% 47%, transparent 48%), linear-gradient(150deg, transparent 46%, rgba(34,132,219,.11) 47% 48%, transparent 49%);
        background-size: 170px 100px;
    }

    .event-hero::after {
        right: -5%;
        left: auto;
        width: 48%;
        background: linear-gradient(180deg, transparent 45%, rgba(54,136,204,.11) 45% 47%, transparent 47%), repeating-linear-gradient(90deg, rgba(0,77,153,.10) 0 4px, transparent 4px 10px);
        clip-path: polygon(12% 70%, 28% 44%, 39% 58%, 50% 22%, 60% 48%, 73% 13%, 83% 47%, 100% 3%, 100% 100%, 0 100%);
        opacity: .48;
    }

.hero-network {
    position: absolute;
    right: 28%;
    top: 20px;
    width: 380px;
    height: 110px;
    opacity: .25;
    background-image: radial-gradient(circle, #1683df 0 2px, transparent 3px);
    background-size: 26px 26px;
    mask-image: radial-gradient(ellipse, #000 10%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 21px 0 22px;
}

.eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #6a8db8;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .34em;
}

.event-title-row {
    display: flex;
    align-items: center;
    gap: 38px;
}

    .event-title-row h1 {
        margin: 0;
        color: #002b69;
        font-size: clamp(1.9rem, 2.6vw, 2.65rem);
        font-weight: 800;
        line-height: 1.2;
    }

    .event-title-row p {
        margin: 7px 0 0;
        color: #6c82a1;
        font-size: 1.05rem;
        font-weight: 500;
    }

.event-date {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-left: 30px;
    border-left: 1px solid #b9cee3;
    color: var(--gs1-navy);
    font-weight: 800;
    font-size: 1.16rem;
    white-space: nowrap;
}

    .event-date i {
        font-size: 1.65rem;
    }

.content-area {
    flex: 1;
    position: relative;
    padding: 0 0 18px;
    background: linear-gradient(135deg, rgba(222,240,255,.42), transparent 25%), linear-gradient(225deg, rgba(222,240,255,.5), transparent 25%), #f8fbff;
}

.registration-stepper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 12px 7.8% 15px;
}

.step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #7286a4;
    text-align: center;
    font-weight: 600;
}

    .step:not(:last-child)::after {
        content: "";
        position: absolute;
        z-index: 0;
        top: 22px;
        left: calc(50% + 28px);
        width: calc(100% - 56px);
        height: 2px;
        background: repeating-linear-gradient(90deg, #cbd9e8 0 5px, transparent 5px 9px);
    }

    .step.active:not(:last-child)::after {
        background: repeating-linear-gradient(90deg, #1680eb 0 5px, transparent 5px 9px);
    }

.step-number {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #e8eef5;
    color: #4d6485;
    font-size: 1.25rem;
    border: 3px solid #f4f8fc;
    box-shadow: 0 0 0 1px #deebf5;
}

.step-label {
    margin-top: 5px;
    font-size: .98rem;
}

.step.active {
    color: var(--gs1-navy);
    font-weight: 800;
}

    .step.active .step-number {
        color: white;
        background: linear-gradient(145deg, #087bed, #00469b);
        box-shadow: 0 0 0 3px #d8ecff;
    }

.main-grid {
    align-items: stretch;
}

.content-card, .security-panel {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid rgba(210,228,244,.85);
}

.content-card {
    background: white;
    padding: clamp(20px, 2vw, 34px);
}

.verification-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}

.success-mark {
    display: grid;
    place-items: center;
    flex: 0 0 72px;
    height: 72px;
    border-radius: 50%;
    color: white;
    background: var(--success);
    box-shadow: 0 0 0 14px #dcf7eb;
    font-size: 2rem;
}

.success-kicker {
    color: var(--success);
    font-weight: 800;
}

.verification-heading h2 {
    margin: 1px 0 0;
    font-size: clamp(1.65rem, 2vw, 2.05rem);
    font-weight: 800;
}

.verification-heading p {
    margin: 1px 0 0;
    color: var(--muted);
    font-size: 1rem;
}

.member-summary {
    display: grid;
    grid-template-columns: 128px 1fr;
    align-items: center;
    gap: 24px;
    padding: 18px 26px;
    border: 1px solid #cfe5f7;
    border-radius: var(--radius-md);
    background: linear-gradient(105deg, #f3faff, #fbfdff);
}

.company-symbol {
    position: relative;
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    margin-inline: auto;
    border-radius: 50%;
    background: #dcefff;
    color: var(--gs1-navy);
    font-size: 2.4rem;
}

    .company-symbol span {
        position: absolute;
        right: -2px;
        bottom: 2px;
        display: grid;
        place-items: center;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        color: white;
        background: var(--gs1-blue);
        border: 3px solid white;
        font-size: .92rem;
    }

.member-data {
    margin: 0;
}

    .member-data > div {
        display: grid;
        grid-template-columns: minmax(140px, 190px) 1fr;
        gap: 18px;
        align-items: center;
        min-height: 30px;
    }

    .member-data dt {
        color: #637b9d;
        font-weight: 500;
    }

    .member-data dd {
        margin: 0;
        color: #052e6e;
        font-weight: 700;
    }

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    color: #087643;
    background: #dcf7e7;
    border: 1px solid #bdebd1;
    border-radius: 8px;
    font-size: .9rem;
}

    .status-badge i {
        font-size: .55rem;
    }

.otp-notice {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 12px;
    padding: 9px 16px;
    border-radius: 9px;
    background: #e8f5ff;
    color: #0d58a9;
}

.otp-label {
    display: block;
    margin: 11px 0 7px;
    font-weight: 700;
}

.otp-inputs {
    display: flex;
    justify-content: center;
    gap: clamp(8px, 1.1vw, 16px);
}

.otp-input {
    width: clamp(48px, 4.2vw, 66px);
    height: 55px;
    border: 1.5px solid #b8cce2;
    border-radius: 8px;
    text-align: center;
    color: var(--gs1-navy);
    background: white;
    font-size: 1.38rem;
    font-weight: 800;
    outline: none;
    transition: .18s ease;
}

    .otp-input:focus {
        border-color: var(--gs1-bright);
        box-shadow: 0 0 0 4px rgba(8,120,238,.13);
    }

.otp-timer {
    margin: 7px 0 11px;
    color: #697f9d;
    text-align: center;
    font-size: .9rem;
}

    .otp-timer strong {
        color: var(--gs1-bright);
    }

.submit-button {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(90deg, #0755ae, #003b7a);
    font-weight: 700;
}

    .submit-button:hover {
        background: linear-gradient(90deg, #003f87, #002e62);
    }

.resend-row {
    display: flex;
    justify-content: center;
    gap: 9px;
    padding: 7px 0;
    color: #7b8da8;
    font-size: .88rem;
}

.resend-button {
    padding: 0;
    border: 0;
    color: #8294ad;
    background: none;
}

    .resend-button:not(:disabled) {
        color: var(--gs1-blue);
        font-weight: 700;
    }

.change-gln {
    padding-top: 4px;
    border-top: 1px solid #dce7f1;
    text-align: center;
}

    .change-gln a {
        color: #064faa;
        text-decoration: none;
        font-weight: 700;
    }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 12px 6px 0;
    color: #07479b;
    text-decoration: none;
    font-weight: 700;
}

.security-panel {
    height: 100%;
    padding: clamp(22px, 2.2vw, 36px);
    background: linear-gradient(160deg, rgba(241,249,255,.98), rgba(231,245,255,.92));
}

.security-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.shield-icon {
    display: grid;
    place-items: center;
    flex: 0 0 56px;
    height: 56px;
    border-radius: 50%;
    color: #074b9c;
    background: #d9edff;
    font-size: 1.65rem;
}

.security-heading h2 {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 800;
}

.security-heading p {
    margin: 0;
    color: var(--muted);
}

.security-list {
    display: grid;
    gap: 22px;
}

.security-item {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 15px;
    align-items: center;
}

.round-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    background: linear-gradient(145deg, #095cb5, #003670);
    font-size: 1.15rem;
}

.security-item h3, .help-box h3 {
    margin: 0;
    font-size: 1.03rem;
    font-weight: 800;
}

.security-item p, .help-box p {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: .86rem;
    line-height: 1.35;
}

.panel-divider {
    margin: 22px 0 12px;
    border-top: 1px solid #cbddec;
}

.help-box {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 11px;
    background: white;
    border: 1px solid #dce8f2;
    box-shadow: 0 6px 18px rgba(19,72,124,.06);
}

.warning-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: white;
    background: var(--warning);
}

.help-box .btn {
    white-space: nowrap;
    font-weight: 700;
}

.secure-connection {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
    padding: 12px 16px;
    color: #087641;
    background: #e5f8ec;
    border: 1px solid #ceeeda;
    border-radius: 10px;
}

    .secure-connection > i {
        font-size: 1.35rem;
    }

    .secure-connection strong, .secure-connection small {
        display: block;
    }

    .secure-connection small {
        margin-top: 1px;
        color: #5b806e;
    }

.site-footer {
    padding: 8px 0;
    color: #7890ad;
    font-size: .72rem;
    letter-spacing: .05em;
}

    .site-footer .app-container {
        display: flex;
        justify-content: space-between;
        gap: 20px;
    }

.footer-motto {
    letter-spacing: .22em;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .mobile-nav > a:not(.staff-button) {
        padding: 12px 4px;
        color: var(--ink);
        text-decoration: none;
        border-bottom: 1px solid #e7eef6;
        font-weight: 600;
    }

@media (min-width: 1200px) and (min-height: 850px) {
    .content-area {
        display: flex;
        align-items: center;
    }

        .content-area > .app-container {
            padding-bottom: 5px;
        }
}

@media (max-width: 1199.98px) {
    :root {
        --header-height: 78px;
    }

    .brand-logo {
        width: 112px;
        height: 62px;
    }

    .brand-tagline {
        font-size: .82rem;
    }

    .event-hero {
        min-height: auto;
    }

    .event-title-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .event-date {
        padding-left: 0;
        border-left: 0;
    }

    .registration-stepper {
        padding-inline: 2%;
    }

    .security-panel {
        height: auto;
    }
}

@media (max-width: 767.98px) {
    .app-container {
        padding-inline: 16px;
    }

    .brand-divider, .brand-tagline {
        display: none;
    }

    .brand-logo {
        width: 100px;
    }

    .event-hero::after, .hero-network {
        display: none;
    }

    .hero-content {
        padding: 17px 0;
    }

    .eyebrow {
        font-size: .58rem;
        letter-spacing: .19em;
    }

    .event-title-row h1 {
        font-size: 1.55rem;
    }

    .event-title-row p {
        font-size: .9rem;
    }

    .event-date {
        font-size: 1rem;
    }

    .registration-stepper {
        padding: 13px 0;
    }

    .step:not(:last-child)::after {
        left: calc(50% + 20px);
        width: calc(100% - 40px);
        top: 18px;
    }

    .step-number {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .step-label {
        font-size: .7rem;
        line-height: 1.2;
    }

    .content-card {
        padding: 20px 16px;
    }

    .verification-heading {
        align-items: flex-start;
    }

    .success-mark {
        flex-basis: 48px;
        height: 48px;
        font-size: 1.25rem;
        box-shadow: 0 0 0 8px #dcf7eb;
    }

    .verification-heading h2 {
        font-size: 1.45rem;
    }

    .verification-heading p {
        font-size: .86rem;
    }

    .member-summary {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 10px;
    }

    .company-symbol {
        width: 70px;
        height: 70px;
        font-size: 1.9rem;
    }

    .member-data > div {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 5px 0;
        border-bottom: 1px solid #e2edf6;
    }

        .member-data > div:last-child {
            border-bottom: 0;
        }

    .otp-inputs {
        gap: 6px;
    }

    .otp-input {
        width: calc((100vw - 90px) / 6);
        max-width: 50px;
        height: 50px;
    }

    .security-panel {
        padding: 22px 16px;
    }

    .security-heading h2 {
        font-size: 1.32rem;
    }

    .help-box {
        grid-template-columns: 44px 1fr;
    }

        .help-box .btn {
            grid-column: 1 / -1;
            width: 100%;
        }

    .site-footer .app-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .step-label {
        font-size: .62rem;
    }

    .otp-notice {
        align-items: flex-start;
        font-size: .82rem;
    }

    .resend-row {
        flex-wrap: wrap;
    }

    .footer-motto {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}


.process-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-box {
    min-width: 240px;
    padding: 28px 32px;
    border-radius: 22px;
    background: #fff;
    text-align: center;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .15);
}

.process-spinner {
    width: 54px;
    height: 54px;
    margin: 0 auto 16px;
    border-radius: 50%;
    border: 5px solid #e5e7eb;
    border-top-color: #0d6efd;
    animation: spin .8s linear infinite;
}

.process-title {
    font-size: 18px;
    font-weight: 800;
    color: #172033;
}

.process-text {
    margin-top: 4px;
    color: #64748b;
    font-size: 14px;
}

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


.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .mobile-nav > a {
        display: flex;
        align-items: center;
        padding: 12px 14px;
        border-radius: 12px;
        text-decoration: none;
        color: #1f2937;
        font-size: 15px;
        font-weight: 600;
        transition: all .2s ease;
    }

        .mobile-nav > a:hover {
            background: #eef5ff;
            color: #0056a4;
        }

.mobile-nav-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 10px 0;
}

.mobile-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    background: linear-gradient( 135deg, #eef5ff, #f8fbff );
    border: 1px solid #dbeafe;
    margin-bottom: 8px;
}

.mobile-user-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0056a4;
    color: #fff;
    flex-shrink: 0;
}

.mobile-user-label {
    font-size: 12px;
    color: #6b7280;
}

.mobile-user-name {
    font-size: 15px;
    font-weight: 700;
    color: #172033;
}

.mobile-logout {
    color: #dc3545 !important;
}

    .mobile-logout:hover {
        background: #fff1f2 !important;
        color: #b42318 !important;
    }


    .mobile-logout-btn {
    width: 100%;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border-radius: 12px;
    color: #dc3545;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
}

.mobile-logout-btn:hover {
    background: #fff1f2;
}

/* =====================================================
   Event Detail Tabs
===================================================== */

.event-detail-tabs {
    background: #ffffff;
    padding: 8px;
    border-radius: 18px;
    border: 1px solid #e7edf5;
    box-shadow: 0 8px 24px rgba(15, 54, 92, 0.06);
}


/* =====================================================
   Tab Navigation
===================================================== */

.event-tab-nav {
    display: flex;
    gap: 8px;
}


    /* =====================================================
   Tab Item
===================================================== */

    .event-tab-nav .nav-item {
        flex: 1;
    }


    /* =====================================================
   Tab Button
===================================================== */

    .event-tab-nav .nav-link {
        position: relative;
        width: 100%;
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 16px 18px;
        border-radius: 14px;
        color: #607089;
        background: transparent;
        border: 1px solid transparent;
        text-align: left;
        transition: all .2s ease;
    }


        /* hover */

        .event-tab-nav .nav-link:hover {
            background: #f4f8fd;
            color: #0056a4;
            border-color: #e3edf8;
        }


        /* =====================================================
   Active Tab
===================================================== */

        .event-tab-nav .nav-link.active {
            color: #ffffff;
            background: linear-gradient( 135deg, #0056a4, #1684ca );
            box-shadow: 0 8px 20px rgba(0, 86, 164, 0.22);
            border-color: transparent;
        }


/* =====================================================
   Icon
===================================================== */

.tab-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eef6fd;
    color: #1684ca;
    font-size: 20px;
    transition: all .2s ease;
}


.event-tab-nav .nav-link.active
.tab-icon {
    background: rgba(255,255,255,.16);
    color: #ffffff;
}


/* =====================================================
   Text
===================================================== */

.tab-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}


    .tab-text strong {
        font-size: 15px;
        font-weight: 700;
    }


    .tab-text small {
        margin-top: 4px;
        font-size: 14px;
        color: #8b98aa;
    }


.event-tab-nav .nav-link.active
.tab-text small {
    color: rgba(255,255,255,.75);
}


/* =====================================================
   Count Badge
===================================================== */

.tab-count {
    margin-left: auto;
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #eef4fb;
    color: #0056a4;
    font-size: 12px;
    font-weight: 700;
}


.event-tab-nav .nav-link.active
.tab-count {
    background: rgba(255,255,255,.18);
    color: #ffffff;
}


/* =====================================================
   Tab Content
===================================================== */

.tab-content {
    animation: fadeTab .2s ease;
}


@keyframes fadeTab {

    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


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

@media (max-width: 768px) {

    .event-tab-nav {
        flex-direction: column;
    }


        .event-tab-nav .nav-link {
            padding: 14px;
        }


    .tab-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 18px;
    }


    .tab-text strong {
        font-size: 14px;
    }
}
