:root {
    --bg-main: #fbf3f7;
    --bg-accent: #ffe4f0;
    --ink-main: #332231;
    --ink-soft: #6b4c61;
    --primary: #ed4081;
    --primary-dark: #c92b68;
    --gold: #ed4081;
    --gold-soft: #ffd1e4;
    --surface: rgba(255, 255, 255, 0.82);
    --surface-strong: #ffffff;
    --line: rgba(63, 20, 43, 0.12);
    --shadow-soft: 0 14px 44px rgba(72, 24, 50, 0.12);
    --shadow-strong: 0 20px 48px rgba(61, 15, 40, 0.26);
}

html {
    overflow-y: scroll;
}

body {
    font-family: 'Kanit', 'Outfit', sans-serif;
    color: var(--ink-main);
    background:
        radial-gradient(900px 320px at 10% -10%, rgba(237, 64, 129, 0.24), transparent 70%),
        radial-gradient(700px 300px at 100% 0%, rgba(255, 161, 201, 0.2), transparent 70%),
        linear-gradient(168deg, #fff9fc 0%, var(--bg-main) 62%, #f8e9f1 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.wrapper.row1 {
    background: transparent;
}

#header {
    margin: 18px auto 12px;
    padding: 20px 24px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: linear-gradient(132deg, rgba(150, 22, 78, 0.96) 0%, rgba(237, 64, 129, 0.93) 58%, rgba(247, 129, 176, 0.9) 100%);
    box-shadow: var(--shadow-strong);
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

#header h1,
#header h2,
#header .fa-stack {
    color: #fff;
}

#header h1 {
    font-size: 2.35rem;
    font-weight: 600;
    letter-spacing: 0.55px;
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

#header h2 {
    font-size: 1.34rem;
    font-weight: 300;
    margin: 8px 0 0;
    opacity: 0.92;
    letter-spacing: 0.25px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
}

#header .navbar-brand {
    margin: 0;
    padding: 0;
    height: auto;
    float: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.econ-brand-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.22));
}

.econ-brand-logo-white {
    filter: brightness(0) invert(1) saturate(0) drop-shadow(0 8px 14px rgba(0, 0, 0, 0.26));
}

#hgroup {
    flex: 1;
    min-width: 0;
}

.navbar.navbar-default {
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(6px);
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 1200;
}

.navbar-default .dropdown-menu {
    z-index: 1300;
}

.navbar-default .navbar-nav > li > a {
    color: var(--ink-main);
    font-weight: 500;
    transition: color 0.25s ease, background-color 0.25s ease;
}

.navbar-default .navbar-nav > li > a:hover {
    color: var(--primary-dark);
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .active > a:hover {
    background: rgba(237, 64, 129, 0.14);
    color: var(--primary-dark);
    border-radius: 8px;
}

.econ-main {
    animation: riseIn 0.7s ease;
}

.econ-hero {
    margin: 10px 0 20px;
    padding: 24px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: var(--shadow-soft);
    background:
        linear-gradient(140deg, rgba(255, 255, 255, 0.9) 0%, rgba(239, 247, 244, 0.86) 55%, rgba(242, 238, 229, 0.82) 100%);
    position: relative;
    overflow: hidden;
}

.econ-hero:after {
    content: "";
    position: absolute;
    right: -20px;
    bottom: -70px;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(237, 64, 129, 0.18) 0%, rgba(255, 161, 201, 0.1) 55%, transparent 70%);
    pointer-events: none;
}

.econ-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--ink-soft);
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(24, 47, 42, 0.12);
    border-radius: 999px;
    padding: 6px 12px;
    margin-bottom: 10px;
}

.econ-hero h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 2.8rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--primary-dark);
}

.econ-hero p {
    margin-bottom: 16px;
    font-size: 1.6rem;
    color: var(--ink-soft);
    max-width: 860px;
}

.econ-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.econ-hero .btn {
    border-radius: 999px;
    font-weight: 500;
    padding: 9px 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.econ-hero .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 18px rgba(17, 52, 41, 0.2);
}

.btn-gold {
    background: linear-gradient(135deg, #f26ca0, #ed4081);
    border-color: #d93573;
    color: #fff;
}

.btn-gold:hover,
.btn-gold:focus {
    color: #fff;
    background: linear-gradient(135deg, #e85d93, #c92b68);
    border-color: #b8235d;
}

.econ-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 6px 0 0;
}

.metric-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px 12px;
    min-height: 82px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.metric-label {
    color: var(--ink-soft);
    font-size: 1.2rem;
}

.metric-value {
    color: var(--primary-dark);
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.1;
}

.econ_breadcrumb {
    border-radius: 10px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.82);
    margin-bottom: 18px;
}

.panel {
    border: 1px solid rgba(255, 255, 255, 0.54);
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface);
    box-shadow: 0 12px 22px rgba(16, 61, 48, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.panel:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(16, 61, 48, 0.13);
}

.panel .panel-heading {
    border: none;
    padding: 12px 16px;
}

.panel .panel-heading h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.panel-primary > .panel-heading {
    background: linear-gradient(120deg, #ed4081, #d93f93);
}

.panel-success > .panel-heading {
    background: linear-gradient(120deg, #f0629a, #ed4081);
    color: #fff;
}

.panel-default > .panel-heading {
    background: linear-gradient(120deg, #e8f7ef, #ecf5fb);
}

.list-group-item {
    border-color: rgba(20, 68, 53, 0.08);
    padding-top: 12px;
    padding-bottom: 12px;
    background: transparent;
}

.list-group-item a {
    color: var(--primary-dark);
    word-break: break-word;
}

.carousel-inner {
    border-radius: 12px;
}

.carousel-inner img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

.btn-success {
    background: linear-gradient(135deg, #ed4081, #c92b68);
    border-color: #c92b68;
}

.btn-success:hover,
.btn-success:focus {
    background: linear-gradient(135deg, #de3a78, #b8235d);
    border-color: #b8235d;
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .econ-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    #header {
        padding: 14px;
        margin-top: 10px;
        border-radius: 16px;
        gap: 12px;
        align-items: flex-start;
    }

    #header h1 {
        font-size: 1.65rem;
        letter-spacing: 0.35px;
    }

    #header h2 {
        font-size: 1.12rem;
        margin-top: 5px;
    }

    #header .navbar-brand {
        width: 62px;
        height: 62px;
        border-radius: 14px;
    }

    .econ-brand-logo {
        width: 42px;
        height: 42px;
    }

    .econ-hero {
        padding: 16px;
        border-radius: 16px;
    }

    .econ-hero h3 {
        font-size: 2.1rem;
    }

    .econ-hero p {
        font-size: 1.45rem;
    }

    .panel .panel-heading h3 {
        font-size: 1.6rem;
    }
}
