:root {
    --primary: #2f6bff;
    --primary-ink: #ffffff;
    --ink: #e3ebf7;
    --muted: #93a4bd;
    --radius: 14px;
    --radius-sm: 10px;
    --theme-btn-radius: var(--radius-sm);
    --theme-btn-bg: linear-gradient(90deg, #19d08a, #11b679);
    --theme-btn-text: #0a1733;
    --theme-btn-hbg: linear-gradient(90deg, #11b679, #19d08a);
    --theme-btn-htext: var(--theme-btn-text);
    --container: 1080px;
    --base-size: 16px;
    --font-body: "Anuphan", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-heading: var(--font-body);
    --font-mono: "Menlo", Consolas, "Courier New", ui-monospace, monospace;
    --navy-950: #02082c;
    --navy-850: #061440;
    --navy-900: #030c33;
    --navy-800: #0e1d45;
    --blue-700: #0d2769;
    --blue-600: #1a41a1;
    --blue-500: var(--primary);
    --blue-400: #4d8dff;
    --blue-200: #95baff;
    --blue-100: #bfd6ff;
    --accent-500: #19d08a;
    --accent-700: #055b3a;
    --accent-600: #11b679;
    --accent-400: #3ae199;
    --accent-300: #b0ebca;
    --accent-200: #cbf2db;
    --accent-100: #eefbf3;
    --accent-ink: #0a1733;
    --accent-glow: rgba(25, 208, 138, 0.42);
    --gold-500: var(--accent-500);
    --gold-400: var(--accent-400);
    --green-500: #25d366;
    --green-600: #12b357;
    --green-400: #4ce085;
    --green-900: #02240c;
    --red-500: #ff5263;
    --bg: #070c1c;
    --surface: #0f1830;
    --bg-elev: var(--surface);
    --card: var(--surface);
    --wash: rgba(255, 255, 255, 0.035);
    --wash-2: rgba(255, 255, 255, 0.06);
    --card-2: #0b1225;
    --card-hover: #142249;
    --border: #1d2b4d;
    --border-strong: #2f3e62;
    --figure-ink: #19d08a;
    --figure-ink-lit: #3ae199;
    --text: var(--ink);
    --text-soft: #ccd5e5;
    --text-dim: var(--muted);
    --surface-lit: #fbfcff;
    --surface-lit-2: #eef4ff;
    --border-lit: #c7dcff;
    --ink-on-lit-strong: #111829;
    --ink-on-lit: #494f5e;
    --ink-on-lit-soft: #707581;
    --ink-deep: #010427;
    --scrim: rgba(1, 4, 39, 0.94);
    --scrim-modal: rgba(4, 18, 66, 0.92);
    --scrim-modal-soft: rgba(4, 18, 66, 0.9);
    --red-800: #5d181f;
    --red-700: #8f2a34;
    --red-600: #e2344c;
    --red-400: #ff6e7b;
    --red-100: #ffd3d2;
    --blue-300: #63a7ff;
    --primary-a8: rgba(47, 107, 255, 0.08);
    --primary-a12: rgba(47, 107, 255, 0.12);
    --primary-a16: rgba(47, 107, 255, 0.16);
    --primary-a22: rgba(47, 107, 255, 0.22);
    --primary-a25: rgba(47, 107, 255, 0.25);
    --primary-a28: rgba(47, 107, 255, 0.28);
    --primary-a30: rgba(47, 107, 255, 0.3);
    --primary-a35: rgba(47, 107, 255, 0.35);
    --primary-a38: rgba(47, 107, 255, 0.38);
    --primary-a40: rgba(47, 107, 255, 0.4);
    --primary-a45: rgba(47, 107, 255, 0.45);
    --primary-a50: rgba(47, 107, 255, 0.5);
    --primary-a65: rgba(47, 107, 255, 0.65);
    --primary-a70: rgba(47, 107, 255, 0.7);
    --accent-500-a7: rgba(25, 208, 138, 0.07);
    --accent-500-a8: rgba(25, 208, 138, 0.08);
    --accent-500-a10: rgba(25, 208, 138, 0.1);
    --accent-500-a12: rgba(25, 208, 138, 0.12);
    --accent-500-a16: rgba(25, 208, 138, 0.16);
    --accent-500-a18: rgba(25, 208, 138, 0.18);
    --accent-500-a20: rgba(25, 208, 138, 0.2);
    --accent-500-a25: rgba(25, 208, 138, 0.25);
    --accent-500-a30: rgba(25, 208, 138, 0.3);
    --accent-500-a34: rgba(25, 208, 138, 0.34);
    --accent-500-a35: rgba(25, 208, 138, 0.35);
    --accent-500-a38: rgba(25, 208, 138, 0.38);
    --accent-500-a40: rgba(25, 208, 138, 0.4);
    --accent-500-a50: rgba(25, 208, 138, 0.5);
    --accent-500-a55: rgba(25, 208, 138, 0.55);
    --accent-500-a60: rgba(25, 208, 138, 0.6);
    --accent-500-a78: rgba(25, 208, 138, 0.78);
    --accent-500-a85: rgba(25, 208, 138, 0.85);
    --accent-400-a10: rgba(58, 225, 153, 0.1);
    --accent-400-a28: rgba(58, 225, 153, 0.28);
    --accent-400-a45: rgba(58, 225, 153, 0.45);
    --accent-400-a55: rgba(58, 225, 153, 0.55);
    --accent-400-a85: rgba(58, 225, 153, 0.85);
    --accent-400-a90: rgba(58, 225, 153, 0.9);
    --green-500-a8: rgba(37, 211, 102, 0.08);
    --green-500-a12: rgba(37, 211, 102, 0.12);
    --green-500-a16: rgba(37, 211, 102, 0.16);
    --green-500-a35: rgba(37, 211, 102, 0.35);
    --green-500-a40: rgba(37, 211, 102, 0.4);
    --green-500-a60: rgba(37, 211, 102, 0.6);
    --green-500-a70: rgba(37, 211, 102, 0.7);
    --red-400-a30: rgba(255, 110, 123, 0.3);
    --red-500-a8: rgba(255, 82, 99, 0.08);
    --red-500-a10: rgba(255, 82, 99, 0.1);
    --red-500-a16: rgba(255, 82, 99, 0.16);
    --red-500-a28: rgba(255, 82, 99, 0.28);
    --red-500-a30: rgba(255, 82, 99, 0.3);
    --red-500-a40: rgba(255, 82, 99, 0.4);
    --red-600-a24: rgba(226, 52, 76, 0.24);
    --red-700-a54: rgba(143, 42, 52, 0.54);
    --blue-600-a45: rgba(26, 65, 161, 0.45);
    --blue-400-a10: rgba(77, 141, 255, 0.1);
    --blue-300-a16: rgba(99, 167, 255, 0.16);
    --blue-300-a30: rgba(99, 167, 255, 0.3);
    --blue-300-a40: rgba(99, 167, 255, 0.4);
    --card-2-a98: rgba(11, 18, 37, 0.98);
    --navy-850-a98: rgba(6, 20, 64, 0.98);
    --grad-brand: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-400) 100%);
    --grad-cta: linear-gradient(90deg, #19d08a, #11b679);
    --grad-blue: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-600) 100%);
    --grad-gold: var(--grad-cta);
    --hero-primary-wash: rgba(47, 107, 255, 0.3);
    --hero-accent-wash: rgba(25, 208, 138, 0.12);
    --grad-hero: radial-gradient(1100px 560px at 78% -12%, var(--hero-primary-wash), transparent 60%), radial-gradient(820px 480px at 8% 6%, var(--hero-accent-wash), transparent 55%);
    --shadow-card: 0 18px 40px -20px rgba(0, 0, 0, 0.85);
    --shadow-glow: 0 10px 38px -8px var(--accent-glow);
    --shadow-blue-glow: 0 10px 38px -8px rgba(47, 107, 255, 0.5);
}


body, p, a, span, small, label, li, td, th, div, h1, h2, h3, h4, h5, h6 {
    color: var(--text);
}

body {
    background-color: var(--bg) !important;
    background-image: var(--grad-hero);
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--text);
    /* font-size: 0.875rem; */
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: var(--font-body) !important;
}

:where(body.dashboard-page) .container {
    max-width: 800px;
}

.animated.fast {
    -webkit-animation-duration: 800ms;
    animation-duration: 800ms;
}

.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.fadeIn {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
}

.sbg-aurora {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.sbg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.55;
    will-change: transform;
    mix-blend-mode: screen;
}

.sbg-orb--blue {
    width: 48vw;
    height: 48vw;
    left: -10vw;
    top: -12vw;
    background: radial-gradient(circle, var(--primary-a65) 0%, transparent 68%);
    animation: sbg-drift-1 24s ease-in-out infinite;
}

.sbg-orb--green {
    width: 42vw;
    height: 42vw;
    right: -12vw;
    bottom: -14vw;
    background: radial-gradient(circle, var(--accent-500-a34) 0%, transparent 68%);
    animation: sbg-drift-2 28s ease-in-out infinite;
}

.sbg-orb--violet {
    width: 36vw;
    height: 36vw;
    left: 42vw;
    top: 32vh;
    background: radial-gradient(circle, var(--blue-600-a45) 0%, transparent 68%);
    animation: sbg-drift-3 32s ease-in-out infinite;
}

.header {
    position: relative;
    z-index: 300;
}

/* .navbar {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: .5rem 1rem;
} */

:where(body.dashboard-page) .navbar {
    background-color: var(--accent-500);
    /* background: url(../images/bg-nav.jpg); */
    -webkit-box-shadow: 5px 5px 8px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 5px 5px 8px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 5px 8px 10px 2px rgba(0, 0, 0, 0.5);
    background: linear-gradient(180deg, var(--blue-700), var(--blue-700));
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 300;
    padding: 6px 0 8px;
    background: linear-gradient(180deg, var(--scrim-modal) 0%, var(--scrim) 100%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid var(--border-strong);
    box-shadow: 0 12px 34px -14px rgba(0, 0, 0, 0.85);
    overflow: visible;
}
.navbar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--blue-500) 25%, var(--accent-500) 50%, var(--blue-500) 75%, transparent 100%);
    background-size: 220% 100%;
    animation: sbg-sheen 7s linear infinite;
    opacity: 0.9;
}

:where(body.dashboard-page) .top-nav {
    width: 100%;
    margin-top: 20px;
    text-align: center;
}

.top-nav {
    margin-top: 6px;
}

:where(body.dashboard-page) .top-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
:where(body.dashboard-page) .top-nav ul li i {
    background: -webkit-linear-gradient(90deg, var(--surface-lit) 0%, var(--red-100) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.top-nav ul li a, .top-nav ul li i, .top-nav ul li p {
    background: none !important;
    -webkit-background-clip: border-box !important;
    -webkit-text-fill-color: currentColor !important;
    color: var(--text-soft) !important;
}

.top-nav ul li a:hover i, .top-nav ul li a:hover p {
    color: var(--accent-400);
}

.top-nav ul li a {
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    padding: 5px 12px;
    border-radius: var(--radius);
    background: var(--wash) !important;
    border: 1px solid var(--border);
    transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

:where(body.dashboard-page) .top-nav ul li a:link {
    color: var(--primary-ink);
    text-decoration: none;
}
.top-nav ul li a:hover {
    background: var(--card-hover);
    border-color: var(--blue-400);
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue-glow);
}

.navbar .col-8 {
    position: relative;
}

.navbar .col-8::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(340px, 86%);
    height: 110%;
    pointer-events: none;
    background: radial-gradient(closest-side, var(--primary-a38), var(--accent-500-a12) 55%, transparent 75%);
    filter: blur(4px);
    z-index: 0;
}

:where(body.dashboard-page) .header-logo {
    width: 100%;
    max-width: 250px;
    margin-bottom: 0px;
    margin-top: 0px;
}
.header-logo {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 6px 16px var(--primary-a45));
    transition: transform 0.25s ease, filter 0.25s ease;
}

.slide {
    background: var(--navy-950);
}

:where(body.dashboard-page) .slide-img img {
    width: 100%;
}

@media (min-width: 768px) {
    .d-md-block {
        display: block !important;
    }
}

:where(body.dashboard-page) footer {
    margin-bottom: 120px;
}

footer {
    color: var(--text-dim);
}
.text-muted {
    color: #6c757d !important;
}
.text-muted, .history-link-text, small.text-muted {
    color: var(--text-dim) !important;
}

.site-footer-desktop {
    position: relative;
    margin-top: 36px;
    padding: 30px 0 0px;
    background: linear-gradient(180deg, transparent 0%, var(--navy-900) 70%);
    border-top: 1px solid var(--border);
}

footer.text-muted, footer.text-muted p {
    color: var(--text-dim) !important;
}

.site-footer-desktop::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue-500), var(--accent-500), transparent);
}

/* :where(body.dashboard-page) .container {
    max-width: 800px;
} */

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.footer-logo {
    max-width: 150px;
    margin: 0 auto;
    filter: drop-shadow(0 4px 16px var(--primary-a45));
    transition: transform 0.25s ease;
}

.footer-tagline {
    color: var(--text-soft);
    font-size: 1.0625rem;
    margin: 0;
}

footer.text-muted, footer.text-muted p {
    color: var(--text-dim) !important;
}
.footer-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 18px 0 14px;
}
.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--wash);
    border: 1px solid var(--border);
    color: var(--text-soft);
    font-size: 0.875rem;
    transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.footer-badge i {
    color: var(--accent-400);
}
.fa-bolt:before {
    content: "\f0e7";
}
.footer-badge:hover {
    transform: translateY(-2px);
    border-color: var(--blue-400);
    color: var(--text);
    box-shadow: var(--shadow-blue-glow);
}
.footer-copy {
    color: var(--text-dim);
    font-size: 0.8125rem;
    margin: 8px 0 0;
    letter-spacing: normal;
}
footer.text-muted, footer.text-muted p {
    color: var(--text-dim) !important;
}


:where(body.dashboard-page) .site-footer-mobile {
    display: block;
    box-shadow: 0px -10px 10px var(--red-700-a54);
    width: 100%;
    padding: 6px 6px 0px 6px;
    position: fixed;
    bottom: 0;
    z-index: 100000;
    background: linear-gradient(180deg, var(--card-2-a98) 0%, var(--card-2-a98) 50%, var(--navy-850-a98) 100%);
    border-top: 2px solid var(--red-500-a30);
}
.site-footer-mobile {
    background: linear-gradient(180deg, var(--scrim-modal-soft) 0%, var(--scrim) 100%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
    border-top: 1px solid var(--border-strong);
    box-shadow: 0 -14px 38px -10px var(--primary-a38);
}
.site-footer-mobile::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue-500), var(--accent-500), var(--blue-500), transparent);
    background-size: 220% 100%;
    animation: sbg-sheen 7s linear infinite;
}

:where(body.dashboard-page) .site-footer-mobile ul {
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: 0;
}
:where(body.dashboard-page) .site-footer-mobile li {
    list-style: none;
    margin: 0;
    text-align: center;
}
.site-footer-mobile li {
    position: relative;
    flex: 1;
}

:where(body.dashboard-page) .site-footer-mobile a {
    color: var(--red-400);
    font-family: var(--font-body);
}

@media (min-width: 768px) {
    :where(body.dashboard-page) .site-footer-mobile a {
        font-size: 1.1875rem;
    }
}
.site-footer-mobile a, .site-footer-mobile i {
    color: var(--text-soft);
}
.site-footer-mobile a {
    color: var(--text-soft);
    padding: 6px 0 4px;
    border-radius: var(--radius-sm);
    transition: color 0.2s ease, transform 0.15s ease;
}

:where(body.dashboard-page) .site-footer-mobile li:nth-child(3) {
    width: 70px;
}
:where(body.dashboard-page) a.m-auto.mobile-nav-center {
    color: var(--primary-ink);
    font-size: 1rem;
}
a.m-auto.mobile-nav-center {
    color: var(--primary-ink);
}
:where(body.dashboard-page) .site-footer-mobile li:nth-child(3) a {
    text-align: center;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
}
@media (min-width: 768px) {
    :where(body.dashboard-page) .site-footer-mobile li:nth-child(3) a {
        top: -42px;
    }
}
@media (max-width: 575px) {
    :where(body.dashboard-page) .site-footer-mobile li:nth-child(3) a {
        top: -20px;
    }
}

:where(body.dashboard-page) .site-footer-mobile li:nth-child(3) img {
    display: block;
    margin-bottom: 0px;
}

@media (min-width: 768px) {
    :where(body.dashboard-page) .site-footer-mobile li:nth-child(3) img {
        width: 200px;
    }
}

@media (max-width: 575px) {
    :where(body.dashboard-page) .site-footer-mobile li img {
        width: 100px;
    }
}

.site-footer-mobile li:nth-child(3) img {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.5));
}

@keyframes sbg-sheen {
    to {
        background-position: 220% 0;
    }
}

.site-footer-mobile i {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    margin-bottom: -5px;
    /* background: #ffffff; */
    width: 30px;
    height: 30px;
    padding: 10px;
    /* border-radius: 50px; */
    color: var(--red-400);
    font-size: 0.9375rem;
}

.site-footer-mobile a, .site-footer-mobile i {
    color: var(--text-soft);
    text-decoration: none;
}

.site-footer-mobile i {
    transition: color 0.2s ease;
}
:where(body.dashboard-page) .site-footer-mobile a:hover {
    text-decoration: none;
    color: var(--primary-ink);
}
.site-footer-mobile a:hover, .site-footer-mobile i:hover {
    color: var(--accent-400);
}
.site-footer-mobile li:not(:nth-child(3)) a:hover {
    color: var(--accent-400);
    transform: translateY(-2px);
}
.site-footer-mobile li:not(:nth-child(3)) a:hover i {
    color: var(--accent-400);
}



:where(body.dashboard-page) .container.content {
    background-color: var(--surface-lit);
    margin-top: -80px;
    min-height: 200px;
    position: relative;
    padding: 15px 15px 15px 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    -o-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    border: 2px solid var(--red-400-a30);
}

:where(body.dashboard-page) .container.content, :where(body.dashboard-page) .credit-box, :where(body.dashboard-page) .btn-block, :where(body.dashboard-page) .swal2-popup, :where(body.dashboard-page) .swal2-actions button, :where(body.dashboard-page) .modal-dialogs, :where(body.dashboard-page) .modal-content {
    border-radius: 1rem !important;
}

.container.content{
    background-color: var(--card-2);
    background-image: radial-gradient(90% 55% at 100% 0%, var(--primary-a22) 0%, transparent 55%), radial-gradient(85% 55% at 0% 100%, var(--accent-500-a12) 0%, transparent 55%), radial-gradient(70% 45% at 50% 0%, var(--blue-400-a10) 0%, transparent 60%), linear-gradient(180deg, var(--card) 0%, var(--card-2) 100%);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-card), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
    color: var(--text);
}

input.form-control, textarea.form-control, select, select.form-control, .custom-select, .input-group-text {
    background-color: var(--navy-900) !important;
    border: 1px solid var(--border-strong) !important;
    color: var(--text) !important;
}
.login-title{
    font-size: 2rem;
    font-family: var(--font-body) !important;
}

@media (max-width: 575px) {
    :where(body.dashboard-page) .top-nav ul li p {
        display: none;
    }
}

.btn-line-style{
    border-radius: 15px;
    height: 2.5rem;
}

/********* contact btn *********/

.contact-float {
    --channel-line: #06c755;
    --channel-line-dark: #04a548;
    --channel-line-glow: rgba(6, 199, 85, 0.55);
    --channel-line-ring: rgba(6, 199, 85, 0.45);
    --channel-tg: #29a9eb;
    --channel-tg-dark: #1c94d6;
    --channel-tg-glow: rgba(41, 169, 235, 0.55);
    position: fixed;
    right: 12px;
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    z-index: 9990;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
@media (min-width: 768px) {
    .contact-float {
        right: 18px;
        bottom: calc(104px + env(safe-area-inset-bottom, 0px));
        gap: 12px;
    }
}
.contact-float__btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.375rem;
    text-decoration: none;
    transition: transform 0.18s ease, filter 0.2s ease, box-shadow 0.2s ease;
}
.contact-float__btn--line {
    background: linear-gradient(135deg, var(--channel-line), var(--channel-line-dark));
    box-shadow: 0 10px 26px -10px var(--channel-line-glow);
}
.contact-float__btn--tg {
    background: linear-gradient(135deg, var(--channel-tg), var(--channel-tg-dark));
    box-shadow: 0 10px 26px -10px var(--channel-tg-glow);
}
@media (min-width: 768px) {
    .contact-float__btn {
        width: 54px;
        height: 54px;
        font-size: 1.5rem;
    }
}
.contact-float__label {
    position: absolute;
    top: 50%;
    right: calc(100% + 10px);
    transform: translate(8px, -50%);
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    color: var(--text);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}
.contact-float__btn--line::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    animation: sbg-contact-ring 2.8s ease-out infinite;
    pointer-events: none;
}
@keyframes sbg-contact-ring {
    0% {
        box-shadow: 0 0 0 0 var(--channel-line-ring);
    }
    70%,
    100% {
        box-shadow: 0 0 0 14px transparent;
    }
}
/* @media (hover: hover) {
    .contact-float__btn:hover .contact-float__label,
    .contact-float__btn:focus .contact-float__label {
        opacity: 1;
        transform: translate(0, -50%);
    }
} */

.contact-float__btn:hover, .contact-float__btn:focus {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px) scale(1.05);
    filter: brightness(1.06);
}
.btn-line-style{
    font-family: var(--font-body) !important;
}
.btn-line-style:hover{
    text-decoration: none;
    background-color: rgb(49, 172, 72);
}

#login-form .invalid-feedback {
    color: #dc3545;
}

/********************* register *********************/
/*.field-registerform-checked .custom-checkbox{
    padding-left: 0;
}*/
.field-registerform-checked{
    margin-top: 4px;
    padding: 13px 15px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    background: var(--wash);
    transition: border-color 0.2s ease, background 0.2s ease;
}
#registerform-checked{
    width: 20px;
    padding: 5px 10px;
}

.ip:has(.is-invalid) ~ .invalid-feedback {
    display: block;
}
a.l-terms{
    color: var(--accent-500);
    font-weight: 600;
}
.btn-to-register{
    color: #fff;
}
.btn-to-register:hover{
    color: var(--accent-500);
}

.benefits-section {
    padding: 26px 24px;
    /* border: 1px solid var(--border); */
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    height: 100%;
}
.benefits-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 13px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: var(--green-500-a12);
    border: 1px solid var(--green-500-a35);
    color: var(--green-400);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}
.benefits-title {
    color: var(--text);
    font-weight: 700;
    font-size: 1.375rem;
    line-height: 1.35;
    margin: 0 0 6px;
}
.benefits-subtitle {
    color: var(--text-dim);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0 0 20px;
}
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.benefit-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease;
}
.benefit-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--accent-500-a12);
    border: 1px solid var(--accent-500-a30);
    color: var(--accent-400);
    font-size: 1.125rem;
}
.benefit-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.benefit-label {
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 600;
}
.benefit-value {
    color: var(--accent-400);
    font-size: 0.8125rem;
    font-weight: 700;
    margin-top: 2px;
}

/******************* terms ******************/
.terms-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 6px 0 16px;
}
.terms-head {
    text-align: center;
    margin-bottom: 26px;
}
.terms-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text);
    font-size: 1.625rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.35;
}
.terms-title i {
    color: var(--accent-500);
}
.terms-intro {
    max-width: 640px;
    margin: 12px auto 0;
    color: var(--text-dim);
    font-size: 0.9375rem;
    line-height: 1.7;
}
.terms-list {
    list-style: none;
    counter-reset: term;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.terms-item {
    counter-increment: term;
    position: relative;
    padding: 20px 20px 18px 66px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.2s ease, background 0.2s ease;
}
.terms-item::before {
    content: counter(term);
    position: absolute;
    left: 18px;
    top: 18px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--grad-gold);
    color: var(--accent-ink);
    font-weight: 800;
    font-size: 1.0625rem;
    box-shadow: 0 8px 20px -8px var(--accent-glow);
}
.terms-item-title {
    color: var(--text);
    font-size: 1.0625rem;
    font-weight: 700;
    margin: 0 0 10px;
    padding-top: 6px;
}
.terms-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.terms-points li {
    position: relative;
    padding-left: 20px;
    color: var(--text-soft);
    font-size: 0.875rem;
    line-height: 1.65;
}
.terms-points li::before {
    content: "›";
    position: absolute;
    left: 5px;
    top: -1px;
    color: var(--accent-500);
    font-weight: 700;
}
.terms-responsible {
    margin-top: 22px;
    padding: 22px 20px;
    border-radius: var(--radius);
    text-align: center;
    background: linear-gradient(135deg, var(--red-500-a10), var(--accent-500-a7));
    border: 1px solid var(--red-500-a28);
}
.tr-badge {
    display: inline-block;
    padding: 4px 13px;
    margin-bottom: 10px;
    border-radius: 999px;
    background: var(--red-500);
    color: #fff;
    font-weight: 800;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}
.tr-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text);
    font-size: 1.1875rem;
    font-weight: 700;
    margin: 0 0 14px;
}
.tr-title i {
    color: var(--gold-400);
}
.tr-list {
    list-style: none;
    max-width: 560px;
    margin: 0 auto 12px;
    padding: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.tr-list li {
    position: relative;
    padding-left: 24px;
    color: var(--text-soft);
    font-size: 0.875rem;
    line-height: 1.6;
}
.tr-list li::before {
    content: "•";
    position: absolute;
    left: 6px;
    color: var(--gold-400);
    font-weight: 900;
}
.tr-note {
    margin: 6px 0 0;
    color: var(--gold-400);
    font-size: 0.875rem;
    font-weight: 600;
}
.terms-foot {
    text-align: center;
    margin-top: 24px;
}
:where(body.dashboard-page) .btn-blue {
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    color: var(--primary-ink);
    background: var(--blue-600);
    background: linear-gradient(90deg, var(--blue-600) 0%, var(--primary) 100%);
    font-family: var(--font-body);
}
.btn-blue, .btn-blue:hover {
    background: var(--grad-blue);
    color: var(--primary-ink);
    border-color: transparent;
}
.terms-foot .btn-blue {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
}

/***************** contact *****************/
.contact-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 6px 0 16px;
}
.contact-head {
    text-align: center;
    margin-bottom: 26px;
}
.contact-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text);
    font-size: 1.625rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.35;
}
.contact-title i {
    color: var(--accent-500);
}
.contact-intro {
    max-width: 640px;
    margin: 12px auto 0;
    color: var(--text-dim);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(var(--cols, 3), 1fr);
    gap: 20px;
}
.ucard {
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.ucard--left, .ucard--right {
    flex-direction: row;
    align-items: flex-start;
}
.card, .ucard, .feature, .block--cta .card {
    background: linear-gradient(180deg, #101a34, #0d1730);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
a.ucard {
    text-decoration: none;
    color: inherit;
    transition: transform .18s ease, border-color .18s ease;
}
.ucard-icon {
    padding: 20px 16px 0;
    color: var(--primary);
}
.ucard--left .ucard-icon, .ucard--right .ucard-icon {
    padding: 18px 0 0 18px;
}
.ucard-icon svg {
    width: 40px;
    height: 40px;
    display: inline-block;
}
.ucard-body {
    padding: 16px;
}
.ucard--left .ucard-body, .ucard--right .ucard-body {
    flex: 1 1 auto;
}
.ucard-body h3 {
    margin: 0 0 6px;
    font-size: 17px;
}
.ucard-body p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}
.ucard-body p, .feature p, .faq-item p {
    color: #9fb0c9;
}
a.ucard:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
}

/****************** promotion ******************/
.promotion-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 6px 0 16px;
}
.promotion-head {
    text-align: center;
    margin-bottom: 26px;
}
.promotion-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text);
    font-size: 1.625rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.35;
}
.promotion-title i {
    color: var(--accent-500);
}
.promotion-intro {
    max-width: 640px;
    margin: 12px auto 0;
    color: var(--text-dim);
    font-size: 0.9375rem;
    line-height: 1.7;
}
.block--gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(var(--cols, 3), 1fr);
    gap: 16px;
    align-items: start;
}
@media (max-width: 768px) {
    .block--gallery .gallery-grid {
        grid-template-columns: repeat(var(--cols-m, 2), 1fr);
        gap: 12px;
    }
}
.block--gallery .gallery-item {
    position: relative;
    display: block;
    margin: 0;
}
.block--gallery a.gallery-item {
    transition: opacity .15s ease;
}
.gallery-media {
    position: relative;
    display: block;
}
.block--gallery .gallery-item img {
    border-radius: var(--img-radius, var(--radius));
    border: 1px solid var(--border);
    width: 100%;
    height: auto;
    display: block;
}
.gallery-scrim {
    position: absolute;
    inset: 0;
    border-radius: var(--img-radius, var(--radius));
    background: var(--gal-scrim, #000);
    opacity: 0;
    transition: opacity .2s ease;
    pointer-events: none;
}
.gallery-ov-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    background: var(--gal-ov-bg, var(--primary));
    color: var(--gal-ov-text, var(--primary-ink));
    pointer-events: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.gallery-item--ov-hover .gallery-ov-btn {
    opacity: 0;
    transition: opacity .2s ease;
}
.gallery-ov-ic {
    display: inline-flex;
}
.gallery-ov-ic svg {
    width: 14px;
    height: 14px;
}
.block--gallery a.gallery-item:hover {
    opacity: .92;
}
.gallery-item--ov-hover:hover .gallery-scrim {
    opacity: var(--gal-scrim-opacity, .45);
}
.gallery-item--ov-hover:hover .gallery-ov-btn {
    opacity: 1;
}
.gallery-item:hover .gallery-ov-btn {
    background: var(--gal-ov-hbg, var(--gal-ov-bg, var(--primary)));
    color: var(--gal-ov-htext, var(--gal-ov-text, var(--primary-ink)));
}