/* =========================================================
   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;
    min-width: 320px;

    background: #07142b !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 16px;
    line-height: 1.7;

    color: #ffffff !important;

    overflow-x: hidden;
}

img {
    max-width: 100%;
}

a {
    -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
    font: inherit;
}

/* =========================================================
   BIẾN MÀU 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.16);
    --border-red: rgba(255, 88, 88, 0.65);

    --shadow-blue:
        0 0 25px rgba(30, 80, 162, 0.16);

    --shadow-red:
        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.97),
            rgba(6, 23, 53, 0.99)
        );

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

    color: #ffffff !important;

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

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

.image_background {
    position: relative;

    width: 100%;

    overflow: hidden;

    background: var(--blue-dark);

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

.image_background img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: cover;

    border-radius: 12px;
}

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

.header_info {
    display: flex !important;

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

    flex-wrap: wrap;
    gap: 20px;

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

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

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

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

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

.left_info {
    display: flex;

    align-items: center;
    gap: 16px;

    flex: 1 1 400px;

    min-width: 0;

    color: #ffffff !important;
}

.header_profile {
    position: relative;

    width: 100px;
    height: 100px;

    flex: 0 0 100px;

    padding: 0;
    margin: 0;

    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;

    color: #ffffff !important;

    font-size: clamp(24px, 3.6vw, 34px);
    font-weight: 700;

    line-height: 1.35;

    overflow-wrap: anywhere;

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

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

/* =========================================================
   HEADER BÊN PHẢI - MẠNG XÃ HỘI
========================================================= */

.right_info {
    display: flex !important;

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

    flex-wrap: wrap;
    gap: 12px;

    margin-left: auto;
}

.right_info a {
    display: inline-flex;

    text-decoration: none !important;

    outline-offset: 4px;
}

.logo_social {
    display: grid;
    place-items: center;

    width: 48px;
    height: 48px;

    flex-shrink: 0;

    overflow: hidden;

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

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

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 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.14);

    border-color: var(--red);

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

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

.bio_box {
    position: relative;

    width: 100%;

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

    overflow: hidden;

    color: #ffffff !important;

    background:
        linear-gradient(
            180deg,
            rgba(18, 57, 122, 0.94),
            rgba(7, 20, 43, 0.99)
        ) !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);
}

.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
   THANH TIÊU ĐỀ TRANG TRÍ
========================================================= */

.tlg-future {
    position: relative;

    width: 100%;

    overflow: hidden;

    color: #ffffff !important;

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

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

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

.tlg-future::before {
    content: "THANH LOAN GO | XE GHÉP TUYẾN DÀI";

    display: block;

    padding: 10px 16px;

    color: #ffffff !important;

    background:
        linear-gradient(
            90deg,
            #1E50A2,
            #123875,
            #0b2454
        );

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

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

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

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

.tlg-shell {
    position: relative;

    width: 100%;
    min-width: 0;

    padding: 22px;

    color: #ffffff !important;

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

.tlg-shell article {
    display: block;

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

    margin: 0 auto;

    color: #ffffff !important;
}

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

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

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

.bio_box h1,
.tlg-shell h1 {
    margin: 10px 0 22px;
    padding-bottom: 14px;

    color: #ffffff !important;

    font-size: clamp(25px, 4vw, 34px);
    font-weight: 700;

    line-height: 1.4;

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

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

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

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

    color: #ffffff !important;

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

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

    font-size: clamp(21px, 2.8vw, 25px);
    font-weight: 700;

    line-height: 1.45;

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

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

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

    color: #ffffff !important;

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

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

    font-size: clamp(18px, 2.4vw, 21px);
    font-weight: 700;

    line-height: 1.5;
}

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

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

    color: #ffffff !important;

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

    overflow-wrap: break-word;
}

.bio_box p:last-child,
.tlg-shell p:last-child {
    margin-bottom: 0;
}

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

    font-weight: 700;
}

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

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

    padding: 17px 20px 17px 44px;

    color: #ffffff !important;

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

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

.bio_box li,
.tlg-shell li {
    margin: 0 0 9px;

    padding-left: 3px;

    color: #ffffff !important;

    line-height: 1.8;
}

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

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

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

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

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

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

    text-decoration-color: #ffffff;
}

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

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

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

    margin: 2px 0;
    padding: 3px 8px;

    color: #ffffff !important;

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

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

    text-decoration: none;
}

.tlg-shell a[href^="tel:"]:hover {
    background: rgba(255, 88, 88, 0.25);

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

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

.table-responsive {
    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);
}

.bio_box table,
.tlg-shell table {
    width: 100%;
    min-width: 650px;

    margin: 0;

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

    background: #0b2454 !important;

    color: #ffffff !important;

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

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

    color: #ffffff !important;

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

    text-align: left;
    vertical-align: middle;

    overflow-wrap: break-word;
}

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

    color: #ffffff !important;

    font-weight: 700;

    text-align: center;
}

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

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

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

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

/* =========================================================
   LINK TRONG BẢNG
========================================================= */

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

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

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

.bio_box article img,
.tlg-shell article img {
    display: block;

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

    margin: 18px auto;

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

/* Không ảnh hưởng đến logo mạng xã hội và avatar */

.header_profile img,
.logo_social img,
.image_background img {
    margin: 0;
}

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

.bio_box blockquote,
.tlg-shell blockquote {
    margin: 22px 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.15);
}

.bio_box blockquote p,
.tlg-shell blockquote p {
    margin: 0;

    color: #ffffff !important;
}

/* =========================================================
   PHẦN LIÊN HỆ CUỐI BÀI
========================================================= */

.tlg-shell article > h2:last-of-type {
    margin-top: 35px;
}

.tlg-shell article > p a[href^="https://zalo.me"] {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* =========================================================
   CHỌN VĂN BẢN
========================================================= */

::selection {
    color: #ffffff;
    background: #1E50A2;
}

/* =========================================================
   THANH CUỘN BẢNG
========================================================= */

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

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

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

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

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

@media (max-width: 768px) {

    body {
        font-size: 15px;
    }

    .container {
        width: 96%;

        margin: 15px auto;
        padding: 9px;

        border-radius: 12px;
    }

    .image_background {
        border-radius: 9px;
    }

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

    .header_info {
        flex-direction: column;

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

        gap: 17px;

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

        text-align: center;
    }

    .left_info {
        flex-direction: column;

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

        flex: 1 1 auto;

        gap: 12px;

        width: 100%;
    }

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

        flex-basis: 88px;
    }

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

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

        text-align: center;
    }

    .right_info {
        justify-content: center;

        gap: 12px;

        width: 100%;
        margin-left: 0;
    }

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

    .bio_box {
        padding: 10px;

        border-radius: 11px;
    }

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

    .tlg-shell {
        padding: 17px 13px;
    }

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

    .bio_box h2,
    .tlg-shell h2 {
        margin-top: 27px;
        padding: 12px 13px;

        font-size: 21px;
    }

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

        font-size: 18px;
    }

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

    .bio_box ul,
    .bio_box ol,
    .tlg-shell ul,
    .tlg-shell ol {
        padding: 15px 14px 15px 35px;
    }

    .bio_box li,
    .tlg-shell li {
        line-height: 1.75;
    }

    .table-responsive {
        margin: 18px 0;

        border-radius: 8px;
    }

    .bio_box table,
    .tlg-shell table {
        min-width: 620px;

        font-size: 14px;
    }

    .bio_box th,
    .bio_box td,
    .tlg-shell th,
    .tlg-shell td {
        padding: 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: 10px;
    }

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

    .header_info {
        gap: 14px;

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

        border-radius: 10px;
    }

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

        flex-basis: 74px;

        border-width: 2px;
    }

    .left_info h1,
    .header_info h1 {
        font-size: 22px;
        line-height: 1.4;
    }

    .right_info {
        gap: 9px;
    }

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

        border-radius: 8px;
    }

    .logo_social img {
        padding: 4px;
    }

    .bio_box {
        padding: 6px;

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

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

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

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

        text-align: center;
    }

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

    .bio_box h1,
    .tlg-shell h1 {
        margin: 8px 0 17px;
        padding-bottom: 10px;

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

    .bio_box h2,
    .tlg-shell h2 {
        margin: 24px 0 13px;
        padding: 10px 11px;

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

        border-left-width: 4px;
    }

    .bio_box h3,
    .tlg-shell h3 {
        margin: 20px 0 10px;
        padding: 8px 10px;

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

    .bio_box p,
    .tlg-shell p {
        margin-bottom: 13px;

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

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

        padding: 13px 10px 13px 29px;

        border-radius: 8px;
    }

    .bio_box li,
    .tlg-shell li {
        margin-bottom: 8px;
        padding-left: 2px;

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

    .table-responsive {
        margin: 16px 0;

        border-width: 1px;
        border-radius: 7px;
    }

    .bio_box table,
    .tlg-shell table {
        min-width: 600px;

        font-size: 13px;
    }

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

    .bio_box blockquote,
    .tlg-shell blockquote {
        margin: 17px 0;
        padding: 13px 12px;
    }

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

        border-radius: 7px;
    }
}

/* =========================================================
   Đ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: 7px;
    }

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

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

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

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

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

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

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

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}