/* =========================================================
   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;
    overflow-wrap: break-word;
}

/* =========================================================
   BIẾN MÀU CHUNG
========================================================= */

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

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

    color: #ffffff !important;

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

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

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

/* =========================================================
   ẢNH BANNER
========================================================= */

.image_background {
    width: 100%;

    margin: 0;
    padding: 0;

    overflow: hidden;

    background: var(--blue-dark);

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

.image_background img {
    display: block;

    width: 100%;
    max-width: 100%;
    height: auto;

    object-fit: cover;

    border-radius: 12px;
}

/* =========================================================
   HEADER THÔNG TIN
========================================================= */

.header_info {
    display: flex !important;

    flex-wrap: wrap;

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

    gap: 20px;

    margin: 20px 0 30px;
    padding: 18px;

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

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

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

/* =========================================================
   HEADER BÊN TRÁI
========================================================= */

.left_info {
    display: flex;

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

    align-items: center;

    gap: 16px;

    color: #ffffff !important;
}

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

    padding: 0;
    margin: 0;

    flex: 0 0 105px;

    overflow: hidden;

    background: var(--blue-dark);

    border: 3px solid var(--red);
    border-radius: 50%;

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

.header_profile img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 50%;
}

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

    font-size: clamp(22px, 3.5vw, 34px);
    line-height: 1.3;

    font-weight: 700;

    color: #ffffff !important;

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

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

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

.right_info {
    display: flex !important;

    flex: 0 1 auto;

    flex-wrap: wrap;

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

    gap: 12px;

    margin-left: auto;
}

.right_info > a {
    display: inline-flex;

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

    flex-shrink: 0;

    text-decoration: none !important;
}

.logo_social {
    display: grid;

    place-items: center;

    width: 48px;
    height: 48px;

    flex-shrink: 0;

    overflow: hidden;

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

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

    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;

    border-radius: 8px;
}

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

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

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

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

.bio_box {
    position: relative;

    flex: 1 1 100%;
    min-width: 0;

    width: 100%;

    margin-top: 5px;
    padding: 12px;

    overflow: hidden;

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

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

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

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

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

.tlg-future {
    position: relative;

    width: 100%;
    min-width: 0;

    overflow: hidden;

    color: #ffffff !important;

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

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

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

.tlg-future::before {
    content: "THANH LOAN GO  |  XE TIỆN CHUYẾN";

    display: block;

    padding: 10px 16px;

    color: #ffffff !important;

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

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

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

    letter-spacing: 0.1em;
    text-transform: uppercase;
}

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

.tlg-shell {
    position: relative;

    width: 100%;
    min-width: 0;

    padding: 25px;

    color: #ffffff !important;

    font-family: Arial, Helvetica, sans-serif;

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

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

.tlg-shell > *:first-child {
    margin-top: 0;
}

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

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

.tlg-shell h1 {
    margin: 0 0 22px;
    padding: 0 0 14px;

    color: #ffffff !important;

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

    font-weight: 700;

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

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

.tlg-shell h2 {
    position: relative;

    margin: 32px 0 18px;
    padding: 13px 17px;

    color: #ffffff !important;

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

    font-weight: 700;

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

.tlg-shell h2::after {
    content: "";

    display: block;

    position: absolute;

    left: 0;
    bottom: -1px;

    width: 65px;
    height: 2px;

    background: var(--red);
}

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

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

    color: #ffffff !important;

    font-size: clamp(18px, 2.5vw, 21px);
    line-height: 1.5;

    font-weight: 700;

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

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

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

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

.tlg-shell p {
    margin: 13px 0 17px;

    color: #ffffff !important;

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

    text-align: left;
}

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

    font-weight: 700;
}

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

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

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

    padding: 17px 22px 17px 43px;

    color: #ffffff !important;

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

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

.tlg-shell ul {
    list-style-type: disc;
}

.tlg-shell ol {
    list-style-type: decimal;
}

.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 > ul,
.tlg-shell li > ol {
    margin-top: 10px;
    margin-bottom: 10px;
}

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

.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:visited {
    color: #e0eaff !important;
}

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

    text-decoration-color: #ffffff;
}

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

.tlg-shell hr {
    height: 1px;

    margin: 25px 0;

    border: 0;

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

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

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

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

/* =========================================================
   BẢNG NỘI DUNG
========================================================= */

.tlg-shell .tlg-table-wrap {
    width: 100%;

    margin: 22px 0;

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;

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

    background: #0b2454;
}

.tlg-shell table {
    width: 100%;

    margin: 20px 0;

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

    color: #ffffff !important;

    background: #0b2454 !important;

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

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

    color: #ffffff !important;

    background: #0b2454 !important;

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

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

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

    font-weight: 700;
    text-align: center;
}

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

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

.tlg-shell img {
    display: block;

    width: auto;
    max-width: 100%;
    height: auto;

    margin: 20px auto;

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

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

/* Không làm ảnh banner hoặc avatar biến dạng */
.image_background img,
.header_profile img,
.logo_social img {
    margin: 0;
    border: none;
    box-shadow: none;
}

/* =========================================================
   NỘI DUNG LIÊN HỆ
========================================================= */

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

    color: #ffffff !important;

    font-weight: 700;
}

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

/* =========================================================
   HIGHLIGHT SỐ ĐIỆN THOẠI
========================================================= */

.tlg-hotline {
    margin: 25px 0;
    padding: 24px;

    text-align: center;

    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            #123875,
            #1E50A2
        );

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

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

.tlg-hotline-title {
    margin-bottom: 10px;

    color: #ffffff !important;

    font-size: 20px;
    font-weight: 700;
}

.tlg-hotline-number {
    display: inline-block;

    margin-top: 8px;
    padding: 10px 22px;

    color: #ffffff !important;

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

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

    font-size: 24px;
    font-weight: 700;

    text-decoration: none !important;

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

.tlg-hotline-number:hover {
    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            #173d80,
            #123875
        );
}

/* =========================================================
   INFO BOX
========================================================= */

.tlg-info-box {
    margin: 20px 0;
    padding: 20px;

    color: #ffffff !important;

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

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

    border-radius: 10px;
}

.tlg-info-box strong {
    color: #ffffff !important;
}

/* =========================================================
   GHI CHÚ
========================================================= */

.tlg-note {
    margin: 18px 0 25px;
    padding: 15px 18px;

    color: #ffffff !important;

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

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

    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);

    border-radius: 8px;

    font-style: italic;

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

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

.tlg-faq {
    margin: 14px 0;
    padding: 17px 18px;

    color: #ffffff !important;

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

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

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

/* =========================================================
   CHỮ IN ĐẬM
========================================================= */

.tlg-shell b,
.tlg-shell strong {
    font-weight: 700;
}

/* =========================================================
   FOCUS CHO LINK VÀ KHẢ NĂNG TRUY CẬP
========================================================= */

.tlg-shell a:focus-visible,
.right_info a:focus-visible {
    outline: 2px solid var(--red-light);
    outline-offset: 4px;

    border-radius: 4px;
}

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

@media (max-width: 768px) {

    body {
        font-size: 15px;
    }

    .container {
        width: 96%;

        margin: 15px auto;
        padding: 8px;

        border-radius: 12px;
    }

    .header_info {
        flex-direction: column;

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

        gap: 16px;

        margin: 15px 0 20px;
        padding: 16px;
    }

    .left_info {
        flex: 1 1 100%;

        width: 100%;

        flex-direction: column;

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

        text-align: center;

        gap: 12px;
    }

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

        flex-basis: 90px;
    }

    .left_info h1,
    .header_info h1 {
        font-size: clamp(22px, 4.5vw, 30px);
        text-align: center;
    }

    .right_info {
        width: 100%;

        justify-content: center;

        gap: 10px;

        margin-left: 0;
    }

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

    .bio_box {
        padding: 8px;
    }

    .tlg-shell {
        padding: 20px 17px;

        font-size: 15px;
        line-height: 1.75;
    }

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

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

        font-size: 22px;
    }

    .tlg-shell h3 {
        margin-top: 22px;
        padding: 9px 12px;

        font-size: 19px;
    }

    .tlg-shell p {
        font-size: 15px;
        line-height: 1.8;
    }

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

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

    .tlg-shell th,
    .tlg-shell td {
        padding: 10px;
        font-size: 14px;
    }

    .tlg-hotline {
        padding: 20px 14px;
    }

    .tlg-hotline-number {
        font-size: 21px;
    }
}

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

@media (max-width: 480px) {

    body {
        font-size: 14px;
        line-height: 1.7;
    }

    .container {
        width: 98%;

        margin: 9px auto;
        padding: 5px;

        border-radius: 10px;
    }

    .image_background {
        border-radius: 8px;
    }

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

    .header_info {
        gap: 13px;

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

        border-radius: 10px;
    }

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

        flex-basis: 76px;

        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: 38px;
        height: 38px;

        border-radius: 8px;
    }

    .logo_social img {
        padding: 4px;
    }

    .bio_box {
        padding: 5px;

        border-radius: 9px;
        border-width: 1px !important;
    }

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

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

        font-size: 10px;
        letter-spacing: 0.06em;
    }

    .tlg-shell {
        padding: 15px 11px;

        font-size: 14px;
        line-height: 1.75;
    }

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

        font-size: 23px;
        line-height: 1.4;
    }

    .tlg-shell h2 {
        margin: 25px 0 13px;
        padding: 10px 11px;

        font-size: 19px;
        line-height: 1.5;

        border-left-width: 4px;
    }

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

        font-size: 17px;
        line-height: 1.5;

        border-left-width: 3px;
    }

    .tlg-shell p {
        margin: 11px 0 15px;

        font-size: 14px;
        line-height: 1.8;
    }

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

        padding: 12px 12px 12px 31px;

        border-radius: 8px;
    }

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

        padding-left: 1px;

        font-size: 14px;
        line-height: 1.75;
    }

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

        font-size: 13px;
    }

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

        font-size: 13px;
    }

    .tlg-shell blockquote {
        padding: 13px 14px;
    }

    .tlg-hotline {
        padding: 17px 11px;

        border-radius: 10px;
    }

    .tlg-hotline-title {
        font-size: 17px;
    }

    .tlg-hotline-number {
        display: block;

        width: 100%;

        padding: 10px 12px;

        font-size: 19px;
    }

    .tlg-info-box,
    .tlg-note,
    .tlg-faq {
        padding: 13px;
    }
}

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

@media (max-width: 360px) {

    .container {
        width: 99%;
        padding: 4px;
    }

    .header_info {
        padding: 10px;
    }

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

    .right_info {
        gap: 6px;
    }

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

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

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

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

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

    .tlg-shell ul,
    .tlg-shell ol {
        padding-left: 28px;
    }
}

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

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

    html {
        scroll-behavior: auto;
    }

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