* {
    box-sizing: border-box;
}

:root {
    --primary: #0f172a;
    --secondary: #f59e0b;
    --btn: #38bdf8;
    --description: #94a3b8;
    --label: #e2e8f0;
    --border-img: #e0e0e0;
    --accent1: #f5f5f5;
    --accent2: #fff9c4;
}

html,
body {
    scroll-behavior: smooth;
}

html {
    font-size: 62.5%;
}

body {
    font-size: 1.6rem;
    font-family: "Poppins", sans-serif;
    background: var(--primary);
}
/*---------- Common ----------*/

a {
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: "Sora", sans-serif;
}

input,
textarea,
select,
button {
    font-size: inherit;
    font-family: inherit;
}

.container {
    width: 1170px;
    max-width: calc(100% - 48px);
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo span {
    font-family: "Sora", Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    margin-left: 5px;
    color: #fff;
}

.btn {
    --height: 56px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    height: var(--height);
    line-height: var(--height);
    border: 1px solid rgba(0, 9, 88, 0.7);
    border-radius: 99px;
    font-weight: 600;
    font-size: 1.4rem;
    text-align: center;
}

.btn:hover {
    opacity: 0.9;
    cursor: pointer;
}

.btn--primary {
    color: #fff;
    background: var(--btn);
    border: none;
    box-shadow: 0px 13px 26px -8px rgba(85, 229, 99, 0.42);
}

.btn__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    stroke: var(--btn);
    box-shadow: 4px 3px 10px -1px rgba(6, 191, 0, 0.4);
}
/*---------- Header ----------*/
.header {
    padding: 26px 0 8px 0;
    position: sticky;
    top: -25px;
    z-index: 999;
    /* background: var(--primary); */
    background: rgba(0, 0, 0, 0.05); /* nền mờ */
    backdrop-filter: blur(10px); /* hiệu ứng kính mờ */
    -webkit-backdrop-filter: blur(10px);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar__list {
    display: flex;
}

.navbar__link {
    padding: 8px 18px;
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 1;
    color: #5e6085;
}

.navbar__link:hover {
    color: #000958;
    text-shadow: 1px 0 0 currentColor;
}

/*---------- Body-content ----------*/

.body-content {
    padding: 10px 0;
}

/* ── Layout ── */
.layout {
    display: flex;
    height: calc(100vh - 150px);
    gap: 30px;
    padding: 20px 20px;
    border: 2px solid rgb(49, 95, 147);
}

/* ── Sidebar ── */
.sidebar {
    width: 240px;
}

.sidebar__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar__link {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--label);
    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.sidebar__link:hover {
    background: #fff;
    color: var(--btn);
    transform: translateX(4px);
}

.sidebar__item--active .sidebar__link {
    background: #fff;
    color: var(--btn);
    font-weight: 600;
    border-left: 3px solid var(--btn);
    padding-left: 25px;
}

.sidebar__icon {
    font-size: 1.6rem;
}

/* ── Main content ── */
.heading-content {
    padding: 40px 0 0 0;
    text-align: center;
}

.heading-content h1 {
    font-family: "Sora", sans-serif;
    font-weight: 600;
    font-size: 2.6rem;
    color: #38bdf8;
}

.section-content h2 {
    line-height: 2;
    font-weight: 600;
    font-size: 1.6rem;
}

.section-content span,
.section-content p {
    line-height: 1.6;
}

.main-content {
    flex: 1;
    min-width: 0; /*tránh tràn nội dung */
    height: 100%;
}

.section-content {
    height: 100%;
    color: var(--description);
}

.section__img,
.section__video {
    width: 100%;
    height: 100%;
}

.content-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.5rem;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
}

.content-table thead {
    background: var(--btn);
    color: #fff;
}

.content-table thead th {
    padding: 18px 24px;
    text-align: left;
    font-family: "Sora", sans-serif;
    font-weight: 600;
    font-size: 1.4rem;
    letter-spacing: 0.03em;
}

.content-table tbody tr {
    border-bottom: 1px solid #be9b9b;
    transition: background 0.2s ease;
}

.content-table tbody tr:last-child {
    border-bottom: none;
}

.content-table tbody tr:hover {
    background: #ede8b8;
}

.content-table tbody td {
    padding: 18px 24px;
    color: var(--description);
    line-height: 1.7;
    vertical-align: top;
}

.content-table tbody td:first-child {
    font-weight: 600;
    color: var(--secondary);
    white-space: nowrap;
}

.content-table tbody td:nth-child(2) {
    color: var(--btn);
    font-weight: 500;
    white-space: nowrap;
}
