/* =========================================================
   XE GHÉP HÀ NỘI - NAM TRỰC
   THANH LOAN GO
   ========================================================= */

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

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

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

body {
    margin: 0 !important;
    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;

    --red: #ff5858;
    --red-dark: #d93636;
    --red-soft: rgba(255, 88, 88, 0.14);

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

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

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

.image_background {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: var(--blue-dark);
}

.image_background img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

/* =========================================================
   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.95),
            rgba(18, 57, 122, 0.82)
        );

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

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

.left_info {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
    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);
}

.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, 38px);
    line-height: 1.25;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}

.right_info {
    display: flex !important;
    gap: 15px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-left: auto;
}

.logo_social {
    width: 55px;
    height: 55px;
    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;
}

.logo_social img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    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);
}

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

.bio_box {
    width: 100%;
    margin-top: 20px;
    padding: 0;
    color: #ffffff !important;
    position: relative;
}

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

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

.tlg-future {
    width: 100%;

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

    border: 2px solid var(--red) !important;
    border-radius: 14px;
    color: #ffffff !important;

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

    overflow: hidden;
    position: relative;
}

.tlg-future::before {
    content: "TLG // XE GHÉP HÀ NỘI - NAM TRỰC";
    display: block;
    padding: 10px 16px;

    color: #ffffff !important;

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

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

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tlg-shell {
    position: relative;
    padding: 25px;
    color: #ffffff !important;
}

/* =========================================================
   TIÊU ĐỀ NỘI DUNG
========================================================= */

.tlg-shell h2,
.tlg-shell h3 {
    font-family: Arial, Helvetica, sans-serif;
    position: relative;
    color: #ffffff !important;
}

.tlg-shell h2 {
    margin: 32px 0 16px;
    padding: 14px 18px;

    font-size: 25px;
    line-height: 1.35;

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.05),
            rgba(255, 255, 255, 0.01)
        );

    border-left: 5px solid var(--red);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 4px 12px 12px 4px;

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

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

.tlg-shell h2::after {
    content: "//";
    float: right;
    color: var(--red) !important;
    font-weight: bold;
    opacity: 0.8;
}

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

    font-size: 20px;
    line-height: 1.45;

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

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

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

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

.tlg-shell p {
    margin: 12px 0;
    color: #ffffff !important;
    font-size: 16px;
    line-height: 1.8;
}

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

.tlg-shell em {
    color: var(--text-soft) !important;
}

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

.tlg-shell ul,
.tlg-shell ol {
    margin: 15px 0;
    padding: 18px 25px 18px 45px;

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

.tlg-shell li {
    margin: 7px 0;
    color: #ffffff !important;
}

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

.tlg-shell ul ul {
    margin: 8px 0;
    padding-top: 10px;
    padding-bottom: 10px;
    background: rgba(255, 255, 255, 0.035);
}

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

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

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

/* =========================================================
   KHỐI LƯU Ý
========================================================= */

.tlg-shell em {
    display: block;
    margin: 15px 0 25px;
    padding: 14px 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;

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

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

.tlg-shell h3 + p {
    position: relative;
}

/* =========================================================
   CONTACT BOX
========================================================= */

.contact_box {
    margin-top: 35px;
    padding: 24px 22px;

    background:
        linear-gradient(
            135deg,
            rgba(30, 80, 162, 0.92),
            rgba(11, 36, 84, 0.98)
        );

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

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

.contact_box h2 {
    margin-top: 0;
    text-align: center;
    background: transparent;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
}

.contact_box h2::after {
    display: none;
}

.contact_box p {
    margin: 10px 0;
}

.contact_box a {
    overflow-wrap: anywhere;
}

/* =========================================================
   HOTLINE NỔI BẬT
========================================================= */

.contact_box p:nth-last-of-type(2) a {
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid var(--red);
    border-radius: 7px;
    background: rgba(255, 88, 88, 0.09);
    text-decoration: none;
}

/* =========================================================
   BẢNG - DỰ PHÒNG CHO NỘI DUNG SAU NÀY
========================================================= */

.tlg-shell .tlg-table-wrap {
    width: 100%;
    margin: 22px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;

    border: 2px solid var(--red);
    border-radius: 12px;
    background: #0b2454;
}

.tlg-shell table {
    width: 100%;
    min-width: 650px;
    border-collapse: collapse;
    background: #0b2454 !important;
    color: #ffffff !important;
}

.tlg-shell th,
.tlg-shell td {
    padding: 13px 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff !important;
    background: #0b2454 !important;
    vertical-align: top;
}

.tlg-shell th {
    background: #123875 !important;
    text-align: left;
    font-weight: 700;
}

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

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

/* =========================================================
   ẢNH TRONG CONTENT
========================================================= */

.tlg-shell img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 15px auto;
    border-radius: 10px;
}

/* =========================================================
   ĐƯỜNG NGĂN
========================================================= */

.tlg-shell hr {
    height: 1px;
    margin: 25px 0;
    border: 0;
    background: linear-gradient(
        90deg,
        transparent,
        var(--red),
        transparent
    );
}

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

@media (max-width: 768px) {

    .container {
        width: 95%;
        margin: 15px auto;
        padding: 8px;
    }

    .header_info {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .left_info {
        flex-direction: column;
        justify-content: center;
        width: 100%;
    }

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

    .right_info {
        justify-content: center;
        margin-left: 0;
        width: 100%;
    }

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

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

    .tlg-shell {
        padding: 18px;
    }

    .tlg-shell h2 {
        font-size: 22px;
        margin-top: 25px;
    }

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

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

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

    .contact_box {
        padding: 18px 15px;
    }
}

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

@media (max-width: 480px) {

    body {
        font-size: 14px;
    }

    .container {
        width: 98%;
        padding: 6px;
        margin: 10px auto;
    }

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

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

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

    .right_info {
        gap: 9px;
    }

    .tlg-future::before {
        padding: 8px 12px;
        font-size: 9px;
        letter-spacing: 0.08em;
    }

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

    .tlg-shell h2 {
        font-size: 19px;
        padding: 10px 11px;
        margin-top: 22px;
    }

    .tlg-shell h2::after {
        display: none;
    }

    .tlg-shell h3 {
        font-size: 17px;
        padding: 9px 10px;
    }

    .tlg-shell p {
        font-size: 14px;
        line-height: 1.75;
    }

    .tlg-shell ul,
    .tlg-shell ol {
        padding: 12px 12px 12px 29px;
    }

    .tlg-shell li {
        margin: 6px 0;
    }

    .contact_box {
        padding: 15px 12px;
        border-radius: 10px;
    }

    .contact_box h2 {
        padding: 10px 5px;
        font-size: 19px;
    }

    .contact_box p {
        font-size: 14px;
    }

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

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

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

    html {
        scroll-behavior: auto;
    }

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