/* =========================================================
   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;
    font-size: 16px;
    line-height: 1.7;

    color: #ffffff !important;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
}

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

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

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

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

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

.image_background {
    position: relative;

    width: 100%;

    overflow: hidden;

    background: var(--blue-dark);

    border: 1px solid rgba(255, 88, 88, 0.25);
    border-radius: 12px;
}

.image_background img {
    display: block;

    width: 100%;
    height: auto;

    max-width: 100%;

    object-fit: cover;

    border-radius: 12px;
}

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

.header_info {
    display: flex !important;

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

    gap: 20px;

    margin: 20px 0 30px;
    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;

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

/* =========================================================
   THÔNG TIN BÊN TRÁI
========================================================= */

.left_info {
    display: flex;

    align-items: center;

    gap: 15px;

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

    color: #ffffff !important;
}

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

    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 22px rgba(255, 88, 88, 0.12);
}

.header_profile img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

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

    color: #ffffff !important;

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

    line-height: 1.3;

    overflow-wrap: anywhere;

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

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

/* =========================================================
   SOCIAL MEDIA
========================================================= */

.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;

    flex-shrink: 0;

    text-decoration: none;

    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.45);
    border-radius: 10px;

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

    overflow: hidden;

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

.logo_social img {
    display: block;

    width: 100%;
    height: 100%;

    padding: 5px;

    object-fit: contain;

    opacity: 1;

    filter: none !important;
}

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

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

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

    border-color: var(--red);
}

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

.bio_box {
    position: relative;

    width: 100%;

    margin-top: 20px;
    padding: 10px;

    color: #ffffff !important;

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

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

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

    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: 2;

    pointer-events: none;
}

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

.tlg-future {
    position: relative;

    width: 100%;

    color: #ffffff !important;

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

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

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

    overflow: hidden;
}

/* =========================================================
   THANH TRANG TRÍ TLG
========================================================= */

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

    display: block;

    padding: 10px 16px;

    color: #ffffff !important;

    background:
        linear-gradient(
            90deg,
            var(--red-dark),
            var(--red),
            #0b2454
        );

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

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

    letter-spacing: 0.12em;

    text-transform: uppercase;

    text-align: center;
}

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

.tlg-shell {
    position: relative;

    width: 100%;
    min-width: 0;

    padding: 24px;

    color: #ffffff !important;

    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* =========================================================
   ÉP CHỮ TRẮNG TRONG NỘI DUNG
========================================================= */

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

.tlg-shell h1,
.tlg-shell h2,
.tlg-shell h3,
.tlg-shell h4,
.tlg-shell h5,
.tlg-shell h6,
.tlg-shell p,
.tlg-shell li,
.tlg-shell td,
.tlg-shell th,
.tlg-shell strong,
.tlg-shell b {
    color: #ffffff !important;
}

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

.tlg-shell h1 {
    margin: 12px 0 24px;

    padding: 0 0 15px;

    font-size: clamp(26px, 4vw, 34px);

    line-height: 1.35;

    font-weight: 800;

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

    overflow-wrap: anywhere;
}

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

.tlg-shell h2 {
    position: relative;

    margin: 32px 0 18px;

    padding: 13px 16px;

    color: #ffffff !important;

    font-size: clamp(21px, 3vw, 25px);

    line-height: 1.4;

    font-weight: 800;

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

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

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

    border-radius: 5px 10px 10px 5px;

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

    overflow-wrap: anywhere;
}

.tlg-shell h2:first-child {
    margin-top: 5px;
}

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

.tlg-shell h3 {
    margin: 25px 0 12px;

    padding: 10px 14px;

    color: #ffffff !important;

    font-size: clamp(17px, 2.5vw, 20px);

    line-height: 1.45;

    font-weight: 700;

    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.15);

    overflow-wrap: anywhere;
}

/* =========================================================
   TIÊU ĐỀ H4, H5, H6
========================================================= */

.tlg-shell h4,
.tlg-shell h5,
.tlg-shell h6 {
    margin: 18px 0 10px;

    color: #ffffff !important;

    font-weight: 700;

    line-height: 1.45;
}

.tlg-shell h4 {
    font-size: 18px;
}

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

.tlg-shell h6 {
    font-size: 15px;
}

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

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

    color: #ffffff !important;

    font-size: 16px;

    line-height: 1.8;

    overflow-wrap: break-word;
}

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

    font-weight: 700;
}

/* =========================================================
   ĐƯỜNG PHÂN CÁCH
========================================================= */

.tlg-shell hr {
    height: 1px;

    margin: 28px 0;

    border: 0;

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

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

.tlg-shell a,
.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;

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

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

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

    padding: 17px 22px 17px 44px;

    color: #ffffff !important;

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

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

    border-left: 3px solid rgba(255, 88, 88, 0.75);

    border-radius: 10px;
}

.tlg-shell li {
    margin: 8px 0;

    padding-left: 3px;

    color: #ffffff !important;

    line-height: 1.75;
}

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

    font-weight: 700;
}

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

/* =========================================================
   BẢNG GIÁ - KHUNG RESPONSIVE
========================================================= */

.table-responsive {
    display: block;

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

    margin: 22px 0;

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

    -webkit-overflow-scrolling: touch;

    background: #0b2454;

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

    border-radius: 10px;

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

.table-responsive:focus {
    outline: 2px solid var(--red);

    outline-offset: 3px;
}

/* =========================================================
   BẢNG TRONG TLG SHELL
========================================================= */

.tlg-shell table {
    width: 100%;
    min-width: 560px;

    margin: 0;

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

    background: #0b2454 !important;

    color: #ffffff !important;

    font-size: 15px;

    line-height: 1.6;
}

/* =========================================================
   BẢNG - THEAD
========================================================= */

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

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

.tlg-shell th {
    padding: 14px 12px;

    color: #ffffff !important;

    background: #123875 !important;

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

    font-weight: 800;

    text-align: center;

    vertical-align: middle;

    white-space: normal;
}

/* =========================================================
   BẢNG - TD
========================================================= */

.tlg-shell td {
    padding: 13px 12px;

    color: #ffffff !important;

    background: #0b2454 !important;

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

    vertical-align: middle;

    overflow-wrap: break-word;
}

.tlg-shell td:first-child {
    text-align: left;
}

.tlg-shell td:last-child {
    font-weight: 700;
}

/* =========================================================
   BẢNG - DÒNG XEN KẼ
========================================================= */

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

    color: #ffffff !important;
}

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

    color: #ffffff !important;

    transition: background 0.2s ease;
}

/* =========================================================
   BẢNG - CHỮ ĐẬM VÀ LINK
========================================================= */

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

.tlg-shell table a {
    color: #ffffff !important;

    text-decoration: underline;

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

/* =========================================================
   BLOCKQUOTE
========================================================= */

.tlg-shell blockquote {
    margin: 20px 0;

    padding: 16px 18px;

    color: #ffffff !important;

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

    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: 8px;

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

.tlg-shell blockquote p {
    margin: 0;

    color: #ffffff !important;
}

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

.tlg-shell img {
    display: block;

    width: auto;
    max-width: 100%;

    height: auto;

    margin: 18px auto;

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

    border-radius: 10px;

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

/* =========================================================
   HOTLINE - LINK GỌI ĐIỆN
========================================================= */

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

    font-weight: 800;

    text-decoration: none;

    text-decoration-color: transparent;

    white-space: nowrap;

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

    padding-bottom: 2px;
}

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

    border-bottom-color: #ffffff;
}

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

.tlg-shell a[href*="zalo.me"] {
    overflow-wrap: anywhere;
}

/* =========================================================
   KHUNG THÔNG TIN ĐẶT XE
========================================================= */

.tlg-shell p:has(a[href^="tel:"]) {
    overflow-wrap: anywhere;
}

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

@media (max-width: 768px) {

    body {
        font-size: 15px;
    }

    .container {
        width: 95%;

        margin: 15px auto;

        padding: 8px;
    }

    .header_info {
        flex-direction: column;

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

        gap: 18px;

        padding: 17px;

        text-align: center;
    }

    .left_info {
        flex-direction: column;

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

        flex: 1 1 100%;

        width: 100%;

        gap: 12px;

        text-align: center;
    }

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

        font-size: clamp(23px, 4.5vw, 30px);

        text-align: center;
    }

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

    .right_info {
        justify-content: center;

        gap: 12px;

        width: 100%;

        margin-left: 0;
    }

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

    .bio_box {
        padding: 7px;
    }

    .tlg-shell {
        padding: 18px;
    }

    .tlg-shell h1 {
        font-size: 27px;
    }

    .tlg-shell h2 {
        margin-top: 27px;

        padding: 12px 14px;

        font-size: 22px;
    }

    .tlg-shell h3 {
        padding: 10px 12px;

        font-size: 18px;
    }

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

        line-height: 1.8;
    }

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

    .table-responsive {
        margin: 18px 0;

        border-radius: 8px;
    }

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

        font-size: 14px;
    }

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

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

@media (max-width: 480px) {

    html,
    body {
        width: 100%;

        font-size: 14px;
    }

    .container {
        width: 98%;

        margin: 8px auto;

        padding: 5px;

        border-radius: 10px;
    }

    .image_background {
        border-radius: 8px;
    }

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

    .header_info {
        gap: 14px;

        margin: 12px 0 18px;

        padding: 13px 10px;

        border-radius: 10px;
    }

    .left_info {
        gap: 10px;
    }

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

        border-width: 2px;
    }

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

        line-height: 1.35;
    }

    .right_info {
        gap: 9px;
    }

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

        border-radius: 8px;
    }

    .logo_social img {
        padding: 4px;
    }

    .bio_box {
        margin-top: 12px;

        padding: 5px;

        border-width: 1px;

        border-radius: 10px;
    }

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

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

        font-size: 10px;

        letter-spacing: 0.08em;
    }

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

    .tlg-shell h1 {
        margin: 10px 0 18px;

        padding-bottom: 12px;

        font-size: 23px;

        line-height: 1.4;
    }

    .tlg-shell h2 {
        margin: 25px 0 14px;

        padding: 10px 11px;

        font-size: 19px;

        line-height: 1.45;

        border-left-width: 4px;
    }

    .tlg-shell h2:first-child {
        margin-top: 3px;
    }

    .tlg-shell h3 {
        margin: 20px 0 10px;

        padding: 9px 10px;

        font-size: 16px;

        line-height: 1.5;

        border-left-width: 3px;
    }

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

    .tlg-shell p {
        margin: 10px 0 14px;

        font-size: 14px;

        line-height: 1.8;
    }

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

        padding: 13px 12px 13px 30px;

        border-radius: 8px;
    }

    .tlg-shell li {
        margin: 7px 0;

        padding-left: 1px;

        font-size: 14px;

        line-height: 1.75;
    }

    .tlg-shell hr {
        margin: 22px 0;
    }

    .table-responsive {
        width: 100%;
        max-width: 100%;

        margin: 16px 0;

        border-width: 1px;

        border-radius: 7px;
    }

    .tlg-shell table {
        width: 100%;
        min-width: 490px;

        font-size: 13px;

        line-height: 1.55;
    }

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

    .tlg-shell blockquote {
        margin: 15px 0;

        padding: 13px;

        border-left-width: 4px;
    }

    .tlg-shell img {
        margin: 14px auto;

        border-radius: 7px;
    }
}

/* =========================================================
   MOBILE SIÊU NHỎ
========================================================= */

@media (max-width: 360px) {

    .container {
        width: 99%;

        padding: 4px;
    }

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

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

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

    .right_info {
        gap: 7px;
    }

    .tlg-shell {
        padding: 12px 9px;
    }

    .tlg-shell h1 {
        font-size: 21px;
    }

    .tlg-shell h2 {
        padding: 9px;

        font-size: 18px;
    }

    .tlg-shell h3 {
        padding: 8px 9px;

        font-size: 15px;
    }

    .tlg-shell p,
    .tlg-shell li {
        font-size: 13px;
    }

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

        font-size: 12px;
    }

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

/* =========================================================
   HOVER - GIỮ GIAO DIỆN ỔN ĐỊNH
========================================================= */

@media (hover: hover) {

    .tlg-shell tbody tr {
        transition: background 0.2s ease;
    }

    .tlg-shell a:hover {
        text-shadow:
            0 0 8px rgba(255, 88, 88, 0.2);
    }
}

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

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

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }
}