/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: #07142b;
}

body {
    margin: 0 !important;
    padding: 0;
    background: #07142b !important;

    font-family: Arial, Helvetica, sans-serif !important;
    color: #ffffff !important;

    line-height: 1.7;

    overflow-x: hidden;
}

/* =========================================================
   BIẾN CHUNG
========================================================= */

:root {
    --blue: #1E50A2;
    --blue-dark: #0b2454;
    --blue-deep: #061735;
    --blue-light: #2d68c7;

    --blue-soft: #123875;
    --blue-hover: #173d80;

    --red: #ff5858;
    --red-dark: #d93636;
    --red-light: #ff7474;

    --white: #ffffff;
    --text: #ffffff;
    --text-soft: #dbe7ff;

    --border: rgba(255, 255, 255, 0.18);
    --border-soft: rgba(255, 255, 255, 0.10);
    --border-red: rgba(255, 88, 88, 0.70);

    --shadow:
        0 0 25px rgba(255, 88, 88, 0.12);
}

/* =========================================================
   BODY BACKGROUND
========================================================= */

body::before {
    content: "";

    position: fixed;

    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    z-index: -2;

    background:
        radial-gradient(
            circle at top left,
            rgba(30, 80, 162, 0.20),
            transparent 35%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(255, 88, 88, 0.08),
            transparent 35%
        );

    pointer-events: none;
}

body::after {
    content: "";

    position: fixed;

    inset: 0;

    z-index: -1;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.015) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.015) 1px,
            transparent 1px
        );

    background-size: 35px 35px;

    opacity: 0.45;
}

/* =========================================================
   KHUNG WEBSITE
========================================================= */

.container {
    position: relative;
    z-index: 1;

    width: min(95%, 1000px);

    margin: 25px auto;

    padding: 12px;

    background:
        linear-gradient(
            180deg,
            rgba(18, 57, 122, 0.96),
            rgba(6, 23, 53, 0.98)
        );

    border:
        1px solid rgba(255, 255, 255, 0.08);

    border-radius: 14px;

    color: #ffffff !important;

    box-shadow:
        0 0 30px rgba(0, 0, 0, 0.35),
        0 0 20px rgba(30, 80, 162, 0.12);

    overflow: hidden;
}

/* =========================================================
   ẢNH NỀN
========================================================= */

.image_background {
    width: 100%;

    overflow: hidden;

    border-radius: 12px;

    background: var(--blue-dark);

    border:
        1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
        0 0 18px rgba(0, 0, 0, 0.18);
}

.image_background img {
    width: 100%;
    height: auto;

    display: block;

    object-fit: cover;

    border-radius: 12px;
}

/* =========================================================
   HEADER
========================================================= */

.header_info {
    display: flex !important;

    justify-content: space-between;
    align-items: center;

    gap: 20px;

    margin: 20px 0 0;

    padding: 18px;

    flex-wrap: wrap;

    background:
        linear-gradient(
            135deg,
            rgba(11, 36, 84, 0.97),
            rgba(18, 57, 122, 0.88)
        );

    border:
        1px solid rgba(255, 88, 88, 0.35);

    border-radius: 14px 14px 0 0;

    box-shadow:
        0 0 20px rgba(255, 88, 88, 0.08);

    position: relative;
}

.header_info::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 3px;

    background: var(--red);

    box-shadow:
        0 0 10px var(--red),
        0 0 25px var(--red);

    border-radius: 14px 14px 0 0;
}

/* =========================================================
   LEFT INFO
========================================================= */

.left_info {
    display: flex;

    align-items: center;

    gap: 15px;

    min-width: 0;

    flex: 1 1 auto;

    color: #ffffff !important;
}

.header_profile {
    width: 110px;
    height: 110px;

    padding: 0;
    margin: 0;

    border:
        3px solid var(--red);

    border-radius: 50%;

    overflow: hidden;

    flex-shrink: 0;

    background: var(--blue-dark);

    box-shadow:
        0 0 12px rgba(255, 88, 88, 0.45),
        0 0 25px rgba(255, 88, 88, 0.14);
}

.header_profile img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.left_info h1,
.header_info h1 {
    margin: 0;

    color: #ffffff !important;

    font-size: clamp(
        24px,
        4vw,
        36px
    );

    line-height: 1.25;

    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.10);
}

.left_info h1 strong {
    font-weight: 700;
}

/* =========================================================
   RIGHT SOCIAL
========================================================= */

.right_info {
    display: flex !important;

    align-items: center;
    justify-content: flex-end;

    gap: 12px;

    flex-wrap: wrap;

    margin-left: auto;

    flex-shrink: 0;
}

.right_info a {
    display: block;

    text-decoration: none !important;
}

.logo_social {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border:
        1px solid rgba(255, 88, 88, 0.45);

    border-radius: 10px;

    background:
        rgba(255, 255, 255, 0.04);

    overflow: hidden;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.logo_social img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;

    opacity: 1;

    filter: none !important;
}

.right_info a:hover .logo_social {
    transform: translateY(-3px);

    background:
        rgba(255, 88, 88, 0.12);

    border-color:
        rgba(255, 88, 88, 0.90);

    box-shadow:
        0 0 10px rgba(255, 88, 88, 0.45),
        0 0 20px rgba(255, 88, 88, 0.12);
}

/* =========================================================
   BIO BOX
   LƯU Ý:
   bio_box đang là con của header_info
========================================================= */

.bio_box {
    width: 100%;

    flex: 0 0 100%;

    margin-top: 2px;

    padding: 25px;

    color: #ffffff !important;

    background:
        linear-gradient(
            180deg,
            rgba(18, 57, 122, 0.96),
            rgba(7, 20, 43, 0.99)
        ) !important;

    border:
        2px solid var(--red) !important;

    border-radius: 14px;

    box-shadow:
        0 0 25px rgba(255, 88, 88, 0.12),
        inset 0 0 25px rgba(0, 0, 0, 0.15);

    position: relative;

    overflow: hidden;
}

.bio_box::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 3px;

    background: var(--red);

    box-shadow:
        0 0 10px var(--red),
        0 0 22px var(--red);

    z-index: 1;
}

/* =========================================================
   TLG FUTURE
========================================================= */

.tlg-future {
    width: 100%;

    position: relative;

    color: #ffffff !important;

    background:
        linear-gradient(
            180deg,
            rgba(18, 57, 122, 0.82),
            rgba(7, 20, 43, 0.55)
        ) !important;

    border:
        1px solid rgba(255, 255, 255, 0.10);

    border-radius: 12px;

    overflow: hidden;
}

.tlg-future::before {
    content: "THANH LOAN GO // XE GHÉP";

    display: block;

    padding: 9px 15px;

    color: #ffffff !important;

    background:
        linear-gradient(
            90deg,
            var(--red),
            var(--red-dark),
            var(--blue-dark)
        );

    border-bottom:
        1px solid rgba(255, 88, 88, 0.55);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}

/* =========================================================
   TLG SHELL
========================================================= */

.tlg-shell {
    width: 100%;

    position: relative;

    padding: 5px 5px 15px;

    color: #ffffff !important;
}

/* =========================================================
   ÉP CHỮ TRẮNG
========================================================= */

.bio_box,
.bio_box *,
.tlg-future,
.tlg-future *,
.tlg-shell,
.tlg-shell * {
    color: #ffffff !important;
}

/* =========================================================
   HEADING
========================================================= */

.bio_box h1,
.bio_box h2,
.bio_box h3 {
    position: relative;

    color: #ffffff !important;

    line-height: 1.35;

    font-weight: 700;
}

.bio_box h1 {
    font-size: 32px;

    margin: 0 0 20px;

    padding-bottom: 12px;

    border-bottom:
        2px solid rgba(255, 88, 88, 0.55);
}

.bio_box h2 {
    font-size: 24px;

    margin: 32px 0 16px;

    padding: 12px 16px;

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.06),
            rgba(255, 255, 255, 0.015)
        );

    border-left:
        5px solid var(--red);

    border-radius:
        6px 10px 10px 6px;

    box-shadow:
        inset 0 0 14px rgba(0, 0, 0, 0.08);
}

.bio_box h3 {
    font-size: 20px;

    margin: 25px 0 12px;

    padding: 9px 13px;

    background:
        linear-gradient(
            135deg,
            rgba(18, 56, 117, 0.92),
            rgba(11, 36, 84, 0.92)
        );

    border-left:
        4px solid var(--red);

    border-radius: 6px;
}

/* =========================================================
   TEXT
========================================================= */

.bio_box p {
    margin: 0 0 15px;

    color: #ffffff !important;

    line-height: 1.75;
}

.bio_box strong,
.bio_box b {
    color: #ffffff !important;

    font-weight: 700;
}

/* =========================================================
   LINK
========================================================= */

.bio_box a {
    color: #ffffff !important;

    font-weight: 700;

    text-decoration: underline;

    text-decoration-color: var(--red);

    text-decoration-thickness: 2px;

    text-underline-offset: 3px;

    transition:
        color 0.2s ease,
        text-decoration-color 0.2s ease;
}

.bio_box a:hover {
    color: #ffe1e1 !important;

    text-decoration-color:
        var(--red-light);
}

/* =========================================================
   DANH SÁCH
========================================================= */

.bio_box ul,
.bio_box ol {
    margin: 16px 0 20px;

    padding:
        16px 20px 16px 42px;

    background:
        rgba(255, 255, 255, 0.055);

    border:
        1px solid rgba(255, 255, 255, 0.15);

    border-radius: 10px;
}

.bio_box li {
    margin-bottom: 8px;

    color: #ffffff !important;
}

.bio_box li:last-child {
    margin-bottom: 0;
}

.bio_box li::marker {
    color: var(--red) !important;

    font-weight: 700;
}

/* =========================================================
   TABLE RESPONSIVE
========================================================= */

.table-responsive {
    width: 100%;

    margin: 20px 0;

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;

    border:
        2px solid var(--red);

    border-radius: 12px;

    background:
        #0b2454;

    box-shadow:
        0 0 18px rgba(255, 88, 88, 0.10);
}

/* =========================================================
   TABLE
========================================================= */

.bio_box table {
    width: 100%;

    min-width: 680px;

    margin: 0;

    border-collapse: collapse;

    border-spacing: 0;

    background:
        #0b2454 !important;

    color: #ffffff !important;
}

.bio_box th,
.bio_box td {
    padding:
        13px 12px;

    border:
        1px solid rgba(255, 255, 255, 0.18);

    color: #ffffff !important;

    vertical-align: top;
}

.bio_box th {
    background:
        #123875 !important;

    text-align: center;

    font-weight: 700;

    white-space: nowrap;
}

.bio_box td {
    background:
        #0b2454 !important;
}

.bio_box tbody tr:nth-child(even) td {
    background:
        #102e65 !important;
}

.bio_box tbody tr:hover td {
    background:
        #173d80 !important;
}

.bio_box td:first-child {
    font-weight: 700;

    min-width: 180px;
}

/* =========================================================
   FAQ
========================================================= */

.faq-item {
    margin: 15px 0;

    padding: 18px 20px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.07),
            rgba(255, 255, 255, 0.025)
        );

    border:
        1px solid rgba(255, 255, 255, 0.18);

    border-left:
        5px solid var(--red);

    border-radius: 10px;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.14);
}

.faq-item h3 {
    margin:
        0 0 10px;

    padding: 0;

    background: none;

    border: none;

    border-left: none;

    box-shadow: none;

    font-size: 19px;

    color: #ffffff !important;
}

.faq-item p {
    margin: 0;

    color: #ffffff !important;
}

/* =========================================================
   HR
========================================================= */

.bio_box hr {
    margin: 30px 0;

    border: 0;

    border-top:
        1px solid rgba(255, 88, 88, 0.50);

    box-shadow:
        0 0 8px rgba(255, 88, 88, 0.10);
}

/* =========================================================
   HOTLINE / PHONE
========================================================= */

.bio_box a[href^="tel:"] {
    display: inline-block;

    padding: 2px 8px;

    color: #ffffff !important;

    background:
        rgba(255, 88, 88, 0.12);

    border:
        1px solid rgba(255, 88, 88, 0.45);

    border-radius: 6px;

    text-decoration: none;

    font-weight: 700;

    transition:
        background 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.bio_box a[href^="tel:"]:hover {
    background:
        rgba(255, 88, 88, 0.22);

    box-shadow:
        0 0 12px rgba(255, 88, 88, 0.25);

    transform: translateY(-1px);
}

/* =========================================================
   LINK ZALO / WEBSITE
========================================================= */

.bio_box a[target="_blank"] {
    word-break: break-word;
}

/* =========================================================
   ĐOẠN LIÊN HỆ CUỐI TRANG
========================================================= */

.bio_box h2:last-of-type {
    margin-top: 30px;
}

/* =========================================================
   HÌNH ẢNH NẾU CÓ THÊM VÀO CONTENT
========================================================= */

.bio_box img {
    display: block;

    max-width: 100%;
    height: auto;

    border-radius: 10px;
}

/* =========================================================
   SCROLLBAR TABLE
========================================================= */

.table-responsive::-webkit-scrollbar {
    height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #061735;
    border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: var(--red);
    border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: var(--red-light);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .container {
        width: 96%;

        margin: 18px auto;

        padding: 10px;
    }

    .header_info {
        gap: 15px;
    }

    .left_info {
        flex: 1 1 100%;
    }

    .right_info {
        width: 100%;

        justify-content: center;

        margin-left: 0;
    }

    .bio_box {
        padding: 20px;
    }

    .bio_box h2 {
        font-size: 22px;
    }

    .bio_box h3 {
        font-size: 19px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    body {
        font-size: 15px;
    }

    .container {
        width: 95%;

        margin: 12px auto;

        padding: 7px;

        border-radius: 10px;
    }

    .image_background,
    .image_background img {
        border-radius: 9px;
    }

    /* -------------------------
       HEADER
    ------------------------- */

    .header_info {
        margin-top: 14px;

        padding: 15px;

        border-radius: 11px 11px 0 0;

        flex-direction: column;

        justify-content: center;

        text-align: center;
    }

    .left_info {
        width: 100%;

        flex-direction: column;

        justify-content: center;

        align-items: center;

        gap: 10px;
    }

    .header_profile {
        width: 90px;
        height: 90px;
    }

    .left_info h1,
    .header_info h1 {
        width: 100%;

        font-size: 23px;

        line-height: 1.3;
    }

    .right_info {
        width: 100%;

        justify-content: center;

        gap: 9px;
    }

    .logo_social {
        width: 44px;
        height: 44px;

        border-radius: 8px;
    }

    /* -------------------------
       BIO
    ------------------------- */

    .bio_box {
        padding: 15px;

        margin-top: 0;

        border-radius: 0 0 11px 11px;
    }

    .tlg-future {
        border-radius: 9px;
    }

    .tlg-future::before {
        padding: 8px 12px;

        font-size: 10px;

        letter-spacing: 0.08em;
    }

    .tlg-shell {
        padding: 2px;
    }

    .bio_box h1 {
        font-size: 25px;
    }

    .bio_box h2 {
        font-size: 21px;

        margin-top: 26px;

        padding: 10px 12px;

        border-left-width: 4px;
    }

    .bio_box h3 {
        font-size: 18px;

        margin-top: 20px;

        padding: 8px 11px;
    }

    .bio_box p {
        line-height: 1.7;
    }

    .bio_box ul,
    .bio_box ol {
        padding:
            14px 15px 14px 32px;
    }

    /* -------------------------
       TABLE
    ------------------------- */

    .table-responsive {
        margin: 17px 0;

        border-radius: 9px;
    }

    .bio_box table {
        min-width: 650px;
    }

    .bio_box th,
    .bio_box td {
        padding: 10px;

        font-size: 14px;
    }

    /* -------------------------
       FAQ
    ------------------------- */

    .faq-item {
        padding: 15px;

        border-radius: 8px;
    }

    .faq-item h3 {
        font-size: 17px;
    }

    /* -------------------------
       PHONE
    ------------------------- */

    .bio_box a[href^="tel:"] {
        padding: 3px 7px;
    }
}

/* =========================================================
   MOBILE NHỎ
========================================================= */

@media (max-width: 480px) {

    body {
        font-size: 14px;
    }

    .container {
        width: 98%;

        margin: 8px auto;

        padding: 5px;
    }

    .header_info {
        padding: 12px;

        gap: 12px;
    }

    .header_profile {
        width: 76px;
        height: 76px;

        border-width: 2px;
    }

    .left_info h1,
    .header_info h1 {
        font-size: 20px;
    }

    .right_info {
        gap: 7px;
    }

    .logo_social {
        width: 37px;
        height: 37px;

        border-radius: 7px;
    }

    .bio_box {
        padding: 10px;

        border-width: 1px;
    }

    .tlg-future::before {
        font-size: 9px;

        padding: 7px 10px;
    }

    .bio_box h1 {
        font-size: 21px;

        margin-bottom: 15px;
    }

    .bio_box h2 {
        font-size: 19px;

        padding: 9px 10px;

        margin:
            22px 0 12px;
    }

    .bio_box h3 {
        font-size: 16px;

        padding: 7px 9px;

        margin-top: 17px;
    }

    .bio_box p {
        line-height: 1.65;
    }

    .bio_box ul,
    .bio_box ol {
        padding:
            12px 10px 12px 28px;

        border-radius: 8px;
    }

    .bio_box li {
        margin-bottom: 7px;
    }

    .bio_box th,
    .bio_box td {
        padding: 9px 8px;

        font-size: 13px;
    }

    .table-responsive {
        border-width: 1px;
    }

    .faq-item {
        padding: 13px;
    }

    .faq-item h3 {
        font-size: 16px;
    }

    .bio_box hr {
        margin: 22px 0;
    }
}

/* =========================================================
   MÀN HÌNH RẤT NHỎ
========================================================= */

@media (max-width: 360px) {

    .container {
        width: 99%;
    }

    .header_profile {
        width: 68px;
        height: 68px;
    }

    .left_info h1,
    .header_info h1 {
        font-size: 18px;
    }

    .logo_social {
        width: 34px;
        height: 34px;
    }

    .bio_box h2 {
        font-size: 18px;
    }

    .bio_box h3 {
        font-size: 15px;
    }
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

a:focus-visible {
    outline:
        2px solid var(--red-light);

    outline-offset: 3px;

    border-radius: 4px;
}

/* =========================================================
   GIẢM CHUYỂN ĐỘNG
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}