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

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

html {
    scroll-behavior: smooth;
    background: #07142b;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0 !important;
    padding: 0;
    background: #07142b !important;
    font-family: Arial, Helvetica, sans-serif !important;
    color: #ffffff !important;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

a {
    overflow-wrap: anywhere;
}

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

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

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

    --border: rgba(255, 255, 255, 0.18);
    --border-red: rgba(255, 88, 88, 0.65);

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

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

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

    width: min(95%, 1100px);

    margin: 25px auto;
    padding: 12px;

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

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;

    color: #ffffff;

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

/* =========================================================
   ẢNH NỀN ĐẦU TRANG
========================================================= */

.image_background {
    position: relative;

    width: 100%;

    overflow: hidden;

    border-radius: 12px;

    background: var(--blue-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

    display: block;

    object-fit: cover;

    border-radius: 12px;

    transition: transform 0.4s ease;
}

.image_background:hover img {
    transform: scale(1.015);
}

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

.header_info {
    display: flex !important;

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

    gap: 20px;

    margin: 20px 0 25px;
    padding: 20px;

    flex-wrap: wrap;

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

    border: 1px solid rgba(255, 88, 88, 0.4) !important;
    border-radius: 14px;

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

.left_info {
    display: flex;

    align-items: center;

    gap: 16px;

    flex: 1 1 400px;
    min-width: 0;

    color: #ffffff !important;
}

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

    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);
}

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

    display: block;

    object-fit: cover;

    border-radius: 50%;
}

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

    color: #ffffff !important;

    font-size: clamp(23px, 3.5vw, 34px);

    line-height: 1.3;

    overflow-wrap: anywhere;

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

.left_info h1 strong {
    color: #ffffff !important;
    font-weight: 800;
}

/* =========================================================
   MẠNG XÃ HỘI
========================================================= */

.right_info {
    display: flex !important;

    gap: 12px;

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

    flex-wrap: wrap;

    margin-left: auto;
}

.right_info > a {
    display: inline-flex;

    text-decoration: none !important;

    outline-offset: 4px;
}

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

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border: 1px solid rgba(255, 88, 88, 0.5);
    border-radius: 10px;

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

    overflow: hidden;

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

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

    padding: 5px;

    object-fit: contain;

    display: block;

    opacity: 1;

    filter: none !important;

    border-radius: 8px;
}

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

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

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

/* =========================================================
   BIO BOX
========================================================= */

.bio_box {
    width: 100%;

    margin-top: 20px;

    padding: 0;

    color: #ffffff !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 14px;

    position: relative;

    overflow: visible;
}

/* =========================================================
   TLG FUTURE
   KHUNG NỘI DUNG CHÍNH
========================================================= */

.tlg-future {
    position: relative;

    width: 100%;

    color: #ffffff !important;

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

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

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

    overflow: hidden;
}

.tlg-future::before {
    content: "THANH LOAN GO  |  DỊCH VỤ XE GHÉP";

    display: block;

    padding: 10px 18px;

    color: #ffffff !important;

    background:
        linear-gradient(
            90deg,
            #d93636,
            #ff5858,
            #123875
        );

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

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.3px;
    text-align: center;
    text-transform: uppercase;
}

.tlg-shell {
    position: relative;

    width: 100%;

    padding: 25px;

    color: #ffffff !important;

    overflow-wrap: anywhere;
}

.tlg-shell main {
    width: 100%;
    max-width: 100%;

    margin: 0 auto;
}

.tlg-shell *,
.tlg-shell *::before,
.tlg-shell *::after {
    box-sizing: border-box;
}

/* =========================================================
   ÉP CHỮ TRẮNG TOÀN BỘ NỘI DUNG
========================================================= */

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

.tlg-shell strong,
.tlg-shell b {
    color: #ffffff !important;
    font-weight: 700;
}

/* =========================================================
   PHÂN CÁCH CÁC SECTION
========================================================= */

.tlg-shell section {
    width: 100%;
    margin: 0;
    padding: 0 0 24px;
}

.tlg-shell section + section {
    padding-top: 8px;

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

/* =========================================================
   TIÊU ĐỀ H2
========================================================= */

.bio_box h2,
.tlg-future h2,
.tlg-shell h2 {
    position: relative;

    color: #ffffff !important;

    font-size: clamp(21px, 2.5vw, 26px);
    font-weight: 800;

    line-height: 1.4;

    margin: 30px 0 17px;
    padding: 13px 17px;

    background:
        linear-gradient(
            90deg,
            rgba(255, 88, 88, 0.13),
            rgba(255, 255, 255, 0.035)
        );

    border-left: 5px solid var(--red);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);

    border-radius: 5px 9px 9px 5px;

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

    overflow-wrap: anywhere;
}

.tlg-shell section:first-child h2 {
    margin-top: 0;
}

/* =========================================================
   TIÊU ĐỀ H3
========================================================= */

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

    font-size: clamp(18px, 2vw, 21px);
    font-weight: 750;

    line-height: 1.45;

    margin: 25px 0 12px;
    padding: 10px 14px;

    background:
        linear-gradient(
            135deg,
            #123875,
            #0b2454
        );

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

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.16);

    overflow-wrap: anywhere;
}

/* =========================================================
   ĐOẠN VĂN
========================================================= */

.bio_box p,
.tlg-future p,
.tlg-shell p {
    margin: 12px 0 16px;

    color: #ffffff !important;

    font-size: 16px;
    line-height: 1.8;

    overflow-wrap: anywhere;
}

.tlg-shell p:last-child {
    margin-bottom: 10px;
}

.tlg-shell em {
    color: #dbe7ff !important;
}

/* =========================================================
   DANH SÁCH UL / OL
========================================================= */

.bio_box ul,
.bio_box ol,
.tlg-shell ul,
.tlg-shell ol {
    margin: 17px 0 22px;

    padding: 17px 22px 17px 45px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.075),
            rgba(255, 255, 255, 0.035)
        );

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
}

.tlg-shell li {
    padding-left: 3px;

    margin: 0 0 9px;

    color: #ffffff !important;

    line-height: 1.75;
}

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

.tlg-shell li::marker {
    color: var(--red) !important;
    font-weight: 800;
}

.tlg-shell li strong {
    color: #ffffff !important;
}

/* =========================================================
   LINK TRONG NỘI DUNG
========================================================= */

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

    font-weight: 700;

    text-decoration: underline;
    text-decoration-color: var(--red);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;

    overflow-wrap: anywhere;

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

.tlg-shell a:hover,
.bio_box a:hover {
    color: #ffe1e1 !important;

    text-decoration-color: #ffffff;
}

.tlg-shell a:focus-visible,
.bio_box a:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 4px;
    border-radius: 3px;
}

/* =========================================================
   BẢNG GIÁ - KHUNG CUỘN NGANG
========================================================= */

.table-responsive {
    display: block;

    width: 100%;
    max-width: 100%;

    margin: 22px 0;

    overflow-x: auto;
    overflow-y: hidden;

    -webkit-overflow-scrolling: touch;

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

    background: #0b2454;

    box-shadow:
        0 0 18px rgba(0, 0, 0, 0.18),
        0 0 12px rgba(255, 88, 88, 0.08);
}

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

.table-responsive::-webkit-scrollbar-track {
    background: #061735;
}

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

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: #ff7777;
}

/* =========================================================
   BẢNG GIÁ
========================================================= */

.bio_box table,
.tlg-future table,
.tlg-shell table {
    width: 100%;

    min-width: 760px;

    margin: 0;

    border-collapse: collapse;
    border-spacing: 0;

    background: #0b2454 !important;

    color: #ffffff !important;

    font-size: 15px;

    border: 0;

    table-layout: auto;
}

.tlg-shell thead {
    background: #123875 !important;
}

.bio_box th,
.bio_box td,
.tlg-shell th,
.tlg-shell td {
    padding: 13px 14px;

    color: #ffffff !important;

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

    text-align: left;
    vertical-align: top;

    line-height: 1.6;

    overflow-wrap: anywhere;
}

.tlg-shell th {
    background: #123875 !important;

    color: #ffffff !important;

    font-weight: 800;

    text-align: center;

    vertical-align: middle;
}

.tlg-shell td {
    background: #0b2454 !important;
}

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

.tlg-shell tbody tr:hover td {
    background: #173d80 !important;
}

.tlg-shell table strong,
.tlg-shell table b {
    color: #ffffff !important;
}

.tlg-shell table p {
    margin: 0;
}

/* =========================================================
   NOTE / ĐOẠN LƯU Ý
========================================================= */

.tlg-shell em {
    font-style: italic;
}

.tlg-shell p:has(> em) {
    padding: 14px 17px;

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

    border-left: 5px solid var(--red);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 7px;
}

/* =========================================================
   HÌNH ẢNH TRONG NỘI DUNG
========================================================= */

.bio_box img,
.tlg-future img,
.tlg-shell img {
    max-width: 100%;
    height: auto;

    display: block;

    border-radius: 8px;
}

/* =========================================================
   HOTLINE - LINK ĐIỆN THOẠI
========================================================= */

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

    color: #ffffff !important;

    font-weight: 800;

    text-decoration: none;

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

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.tlg-shell a[href^="tel:"]:hover {
    color: #ffe1e1 !important;
}

/* =========================================================
   KHU VỰC LIÊN HỆ CUỐI BÀI
========================================================= */

#lien-he-dat-xe {
    margin-top: 25px;
}

#lien-he-dat-xe h2 {
    border-left-color: var(--red);

    background:
        linear-gradient(
            90deg,
            rgba(255, 88, 88, 0.18),
            rgba(255, 255, 255, 0.035)
        );
}

#lien-he-dat-xe > p {
    overflow-wrap: anywhere;
}

/* Làm nổi bật số điện thoại và liên kết đặt xe */
#lien-he-dat-xe p:last-child {
    margin-top: 22px;
    padding: 18px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #123875,
            #0b2454
        );

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

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

#lien-he-dat-xe p:last-child a {
    display: inline-block;

    margin: 5px 3px;
    padding: 10px 14px;

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

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

    text-decoration: none;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

#lien-he-dat-xe p:last-child a:hover {
    background: rgba(255, 88, 88, 0.2);

    transform: translateY(-2px);
}

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

@media (max-width: 768px) {

    body {
        font-size: 15px;
    }

    .container {
        width: 96%;

        margin: 15px auto;

        padding: 8px;

        border-radius: 12px;
    }

    .image_background {
        border-radius: 9px;
    }

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

    .header_info {
        flex-direction: column;

        gap: 17px;

        margin: 14px 0 20px;
        padding: 17px;

        text-align: center;
    }

    .left_info {
        width: 100%;

        flex: 1 1 auto;

        flex-direction: column;

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

        gap: 12px;
    }

    .left_info h1,
    .header_info h1 {
        font-size: clamp(22px, 4vw, 29px);

        text-align: center;
    }

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

    .right_info {
        width: 100%;

        justify-content: center;

        margin-left: 0;

        gap: 10px;
    }

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

    .bio_box {
        margin-top: 15px;
    }

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

    .tlg-shell {
        padding: 19px;
    }

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

        font-size: 11px;
        letter-spacing: 0.8px;
    }

    .tlg-shell h2 {
        font-size: 22px;

        padding: 12px 14px;

        margin-top: 25px;
    }

    .tlg-shell h3 {
        font-size: 19px;

        padding: 10px 12px;

        margin-top: 22px;
    }

    .tlg-shell p {
        font-size: 15px;

        line-height: 1.75;
    }

    .tlg-shell ul,
    .tlg-shell ol {
        padding: 15px 17px 15px 37px;
    }

    .tlg-shell li {
        line-height: 1.7;
    }

    .table-responsive {
        margin: 18px 0;
    }

    .tlg-shell table {
        min-width: 720px;

        font-size: 14px;
    }

    .tlg-shell th,
    .tlg-shell td {
        padding: 11px;
    }

    #lien-he-dat-xe p:last-child {
        padding: 14px 10px;
    }
}

/* =========================================================
   ĐIỆN THOẠI
========================================================= */

@media (max-width: 480px) {

    body {
        font-size: 14px;

        line-height: 1.7;
    }

    .container {
        width: 98%;

        margin: 8px auto;

        padding: 5px;

        border-radius: 9px;
    }

    .image_background {
        border-radius: 7px;
    }

    .image_background img {
        border-radius: 7px;
    }

    .header_info {
        gap: 14px;

        margin: 12px 0 15px;
        padding: 13px;

        border-radius: 10px;
    }

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

        border-width: 2px;
    }

    .left_info {
        gap: 10px;
    }

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

        line-height: 1.35;
    }

    .right_info {
        gap: 8px;
    }

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

        border-radius: 8px;
    }

    .logo_social img {
        padding: 4px;
    }

    .bio_box {
        margin-top: 12px;
    }

    .tlg-future {
        border-width: 1px !important;

        border-radius: 9px;
    }

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

        font-size: 9px;
        letter-spacing: 0.5px;
    }

    .tlg-shell {
        padding: 14px 11px;
    }

    .tlg-shell section {
        padding-bottom: 18px;
    }

    .tlg-shell h2 {
        font-size: 19px;

        line-height: 1.45;

        margin: 23px 0 13px;

        padding: 10px 11px;

        border-left-width: 4px;

        border-radius: 4px 7px 7px 4px;
    }

    .tlg-shell section:first-child h2 {
        margin-top: 0;
    }

    .tlg-shell h3 {
        font-size: 17px;

        line-height: 1.45;

        margin: 19px 0 10px;

        padding: 9px 10px;

        border-left-width: 3px;
    }

    .tlg-shell p {
        font-size: 14px;

        line-height: 1.8;

        margin: 10px 0 13px;
    }

    .tlg-shell ul,
    .tlg-shell ol {
        margin: 13px 0 17px;

        padding: 13px 12px 13px 29px;

        border-radius: 8px;
    }

    .tlg-shell li {
        padding-left: 1px;

        margin-bottom: 8px;

        font-size: 14px;
    }

    .table-responsive {
        margin: 15px 0;

        border-width: 1px;

        border-radius: 7px;
    }

    .tlg-shell table {
        width: 100%;

        min-width: 680px;

        font-size: 13px;
    }

    .tlg-shell th,
    .tlg-shell td {
        padding: 9px 10px;

        line-height: 1.6;
    }

    .tlg-shell p:has(> em) {
        padding: 12px;

        border-left-width: 4px;
    }

    #lien-he-dat-xe h2 {
        font-size: 19px;
    }

    #lien-he-dat-xe p:last-child {
        padding: 12px 8px;

        border-width: 1px;
    }

    #lien-he-dat-xe p:last-child a {
        display: block;

        width: 100%;

        margin: 9px 0 0;
        padding: 11px 8px;

        font-size: 14px;
    }
}

/* =========================================================
   ĐIỆN THOẠI RẤT NHỎ
========================================================= */

@media (max-width: 350px) {

    .container {
        width: 99%;

        padding: 4px;
    }

    .tlg-shell {
        padding: 11px 8px;
    }

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

    .tlg-shell h2 {
        font-size: 18px;

        padding: 9px;
    }

    .tlg-shell h3 {
        font-size: 16px;
    }

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

        letter-spacing: 0.3px;
    }

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

/* =========================================================
   HỖ TRỢ NGƯỜI DÙNG GIẢM CHUYỂN ĐỘNG
========================================================= */

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

    html {
        scroll-behavior: auto;
    }

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