/* =========================
   GLOBAL RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: #e8f3f3;
    color: #333;
    overflow: auto;
}

/* =========================
   HEADER (TOP FIXED)
========================= */
header {
    padding: 10px 43px;
    background-color: #f9f9f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;

    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Logo */
.logo-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.logo {
    max-height: 40px;
    width: auto;
}

/* Header Right */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.release-link {
    text-decoration: none;
    color: #0d9488;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.release-link:hover {
    background: #f0f7f7;
    padding: 6px 10px;
    border-radius: 6px;
}

/* =========================
   FOOTER
========================= */
footer {
    background-color: #0d9488;
    color: white;
    padding: 10px 20px;
    text-align: center;
    font-size: 13px;
    width: 100%;
}

/* =========================
   STICKY SECTION (TITLE + TABS)
========================= */
.sticky-section {
    position: sticky;
    top: 0; /* sits below header automatically */
    background: #e8f3f3;
    z-index: 999;
    padding-bottom: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* =========================
   PAGE HEADER (TITLE + BACK)
========================= */
.page-header-inline {
    max-width: 1100px;
    margin: 10px auto 0;
    padding: 0 10px;   /* ✅ SAME as tabs */

    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Title */
.page-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.back-link {
    text-decoration: none;
    color: #555;
    font-size: 14px;
}

/* =========================
   TABS (APS / EKYC / FPMS)
========================= */
.tab-bar-inline {
    max-width: 1100px;
    margin: 5px auto 0;   /* reduce gap */
    padding: 0 10px;

    display: flex;
    gap: 10px;
    justify-content: flex-start;  /* 🔥 align left */
}

.tab-btn {
    background: white;
    border: 1px solid #d9d9d9;
    padding: 6px 16px;
    font-weight: 500;
    color: #172B4D;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.2s;
    font-size: 14px;
}

.tab-btn.active {
    background-color: #0d9488;
    color: white;
    border-color: #0d9488;
}

/* =========================
   CONTENT AREA
========================= */

#content-area {
    max-width: 1100px;
    margin: 35px auto 20px;
    padding: 25px; /* slightly reduced for balance */
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* =========================
   HEADER (STICKY)
========================= */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #f9f9f9;
}

/* =========================
   PAGE HEADER (TITLE + BACK)
========================= */
.page-header {
    max-width: 1100px;
    margin: 15px auto 0;
    padding: 0 25px;   /* ✅ SAME as content */

    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* TITLE */
.page-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

/* BACK BUTTON */
.back-link {
    text-decoration: none;
    color: #555;
    font-size: 14px;
}

/* =========================
   TABS
========================= */
.tab-bar-inline {
    max-width: 1100px;
    margin: 12px auto 0;
    padding: 0 25px;   /* ✅ SAME as header + content */

    display: flex;
    gap: 10px;
}

/* TAB BUTTON */
.tab-btn {
    background: white;
    border: 1px solid #d9d9d9;
    padding: 6px 16px;
    font-weight: 500;
    color: #172B4D;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.2s;
    font-size: 14px;
}

.tab-btn.active {
    background-color: #0d9488;
    color: white;
    border-color: #0d9488;
}

/* =========================
   RELEASE NOTES CONTENT
========================= */
.date-row {
    font-size: 22px;
    font-weight: 600;
    margin: 35px 0 18px;
    border-bottom: 2px solid #F4F5F7;
    padding-bottom: 10px;
}

.entry {
    margin-bottom: 35px;
}

.badge {
    background: #0d9488;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    margin-bottom: 8px;
    display: inline-block;
}

.entry-title {
    font-size: 20px;
    margin: 15px 0;
}

.entry-subtext {
    color: #6B778C;
    font-size: 14px;
    margin-bottom: 12px;
}

ul {
    padding-left: 20px;
}

li {
    margin-bottom: 15px;
}

/* =========================
   MINIMAL HEADER MODE
========================= */
.minimal-header .header-actions {
    display: none;
}