/* ==========================================================================
   iGOV Tài sản - trang Bảng giá (Báo giá)
   Figma: Website-iGOV / node 5994:44793 (tab Khởi tạo) + 5995:45655 (tab Gia hạn)
   ========================================================================== */

/* @font-face cho Inter đã khai báo đầy đủ ở library/css/fonts.css
   (mỗi weight = một family named, font-weight: normal).
   Trang này chỉ dùng font-family named, không re-declare. */

.igov-baogia {
    font-family: Inter, sans-serif;
    color: #181d27;
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
    background: url(/sites/igov/images/pages/igov-tai-san-bao-gia/bg.webp) no-repeat center top/cover;
}

.igov-baogia :where(*),
.igov-baogia :where(*::before),
.igov-baogia :where(*::after) {
    box-sizing: border-box;
}

.igov-baogia :where(h1, h2, h3, p, ul, li) {
    margin: 0;
    padding: 0;
}

.igov-baogia :where(ul) {
    list-style: none;
}

.igov-baogia :where(img) {
    display: block;
    max-width: 100%;
    height: auto;
}

.baogia-container {
    width: 100%;
    max-width: 1328px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --------------------------------------------------------------------------
   Nền trang trí phía trên (ellipse gradient + 2 ảnh code mờ, theo Figma 1920)
   -------------------------------------------------------------------------- */

.baogia-top {
    position: relative;
    overflow: hidden;
}

.igov-baogia .baogia-decor {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.baogia-decor--ellipse {
    left: 2%;
    top: 454px;
    width: 60%;
    height: 783px;
    background: linear-gradient(135deg, #d9d9d9, #bcb2f3);
    border-radius: 50%;
    opacity: 0.4;
}

.baogia-decor--code {
    width: 692px;
    height: 692px;
    object-fit: contain;
}

.baogia-decor--code-left {
    left: -33px;
    top: 699px;
    opacity: 0.3;
}

.baogia-decor--code-right {
    right: -340px;
    top: -65px;
    width: 735px;
    height: 735px;
    opacity: 0.2;
}

/* --------------------------------------------------------------------------
   Hero - tiêu đề + mô tả
   -------------------------------------------------------------------------- */

.baogia-hero {
    position: relative;
    z-index: 1;
    padding-top: 40px;
}

.baogia-hero .baogia-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.igov-baogia .baogia-hero__title {
    display: block;
    width: 100%;
    font-size: 40px;
    line-height: 52px;
    font-family: Inter Bold;
    letter-spacing: 0;
    text-align: center;
    color: #181d27;
}

.igov-baogia .baogia-hero__subtitle {
    display: block;
    width: 100%;
    font-size: 20px;
    line-height: 28px;
    font-family: Inter;
    letter-spacing: 0;
    text-align: center;
    color: #535862;
}

/* --------------------------------------------------------------------------
   Tab bảng giá
   -------------------------------------------------------------------------- */

.baogia-pricing {
    position: relative;
    z-index: 1;
    margin-top: 40px;
}

.baogia-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.igov-baogia .baogia-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 24px;
    background: #fff;
    border: 1px solid #d5d7da;
    border-radius: 9999px;
    font-family: Inter Medium, Inter, sans-serif;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.2px;
    color: #252b37;
    cursor: pointer;
}

.igov-baogia .baogia-tab img {
    flex: none;
    width: 24px;
    height: 24px;
}

.igov-baogia .baogia-tab .baogia-tab__icon {
    display: none;
}

.igov-baogia .baogia-tab .baogia-tab__icon-gray {
    display: block;
}

.igov-baogia .baogia-tab.is-active {
    border: 2px solid #1b49f5;
    font-family: Inter SemiBold, Inter, sans-serif;
    color: #2662ff;
    box-shadow: 0 8px 30px -6px rgba(116, 135, 255, 0.05), 0 8px 30px -4px rgba(10, 27, 137, 0.03);
}

.igov-baogia .baogia-tab.is-active .baogia-tab__icon {
    display: block;
}

.igov-baogia .baogia-tab.is-active .baogia-tab__icon-gray {
    display: none;
}

.baogia-panel {
    display: none;
}

.baogia-panel.is-active {
    display: block;
}

/* --------------------------------------------------------------------------
   Card bảng giá (2 cột)
   -------------------------------------------------------------------------- */

.baogia-cards {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 24px;
}
.baogia-cards-tab2{
    gap: 0;
}
.igov-baogia .baogia-card-tab2:first-child{
    border-right: 1px solid #E9EAEB;
    border-radius: 24px 0 0 24px;
}
.igov-baogia .baogia-card-tab2:last-child{
    border-radius: 0 24px 24px 0;
}
.igov-baogia .baogia-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1 1 calc((100% - 24px) / 2);
    min-width: 0;
    padding: 24px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 30px -6px rgba(116, 135, 255, 0.05), 0 8px 30px -4px rgba(10, 27, 137, 0.03);
}

.baogia-card__name-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.baogia-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: #eef4ff;
    border-radius: 12px;
}

.baogia-card__icon img {
    width: 24px;
    height: 24px;
}

.igov-baogia .baogia-card__name {
    display: block;
    font-size: 20px;
    line-height: 28px;
    font-family: Inter SemiBold;
    letter-spacing: 0;
    color: #252b37;
}

.baogia-card__head {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.baogia-card__price-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
}

.baogia-card__money {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 8px;
    width: 100%;
}

.igov-baogia .baogia-card__price {
    font-size: 32px;
    line-height: 40px;
    font-family: Inter Bold;
    letter-spacing: -0.2px;
    color: #252b37;
    white-space: nowrap;
}

.igov-baogia .baogia-card__unit {
    font-size: 20px;
    line-height: 28px;
    font-family: Inter SemiBold;
    letter-spacing: 0;
    color: #a4a7ae;
    white-space: nowrap;
}

.baogia-card__breakdown {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.igov-baogia .baogia-card__bd-line {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.2px;
    color: #535862;
}

.igov-baogia .baogia-card__bd-strong {
    font-family: Inter Bold;
    color: #535862;
}

.igov-baogia .baogia-card__desc {
    padding: 8px 12px;
    background: #f5f5f5;
    border-radius: 12px;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.2px;
    color: #535862;
}

.baogia-check {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.baogia-card--detail .baogia-check {
    gap: 16px;
}

.igov-baogia .baogia-check li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.2px;
    color: #535862;
}

.igov-baogia .baogia-check li img {
    flex: none;
    width: 24px;
    height: 24px;
}

/* --------------------------------------------------------------------------
   Tập huấn/Đào tạo - heading + 2 card mỗi nhóm
   -------------------------------------------------------------------------- */

.baogia-training {
    position: relative;
    z-index: 1;
    margin-top: 64px;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.baogia-training--tab2 {
    gap: 24px;
}

.baogia-group {
    display: flex;
    flex-direction: column;
    /* gap: 32px; */
    border-radius: 24px;
    background: var(--Background-Base, #FFF);
    /* box-shadow: 0 8px 30px -6px rgba(116, 135, 255, 0.05), 0 8px 30px -4px rgba(10, 27, 137, 0.03); */
}
.baogia-group-tab2{
    border: 1px solid var(--Border-Second, #E9EAEB);
    overflow: hidden;
    box-shadow: 0 8px 30px -6px rgba(116, 135, 255, 0.05), 0 8px 30px -4px rgba(10, 27, 137, 0.03);
}

.igov-baogia .baogia-group__title {
    display: block;
    font-size: 24px;
    line-height: 32px;
    font-family: Inter Bold;
    letter-spacing: -0.2px;
    text-align: center;
    color: #181d27;
    padding: 24px 0;

}
.igov-baogia .baogia-group__title-tab2{
    border-bottom: 1px solid var(--Border-Second, #E9EAEB);
    color: #252b37;
}

.igov-baogia .baogia-card-tab2 {
    flex: 1 1 50%;
    box-shadow: none;
}
/* --------------------------------------------------------------------------
   Lưu ý
   -------------------------------------------------------------------------- */

.baogia-note {
    position: relative;
    z-index: 1;
    margin-top: 64px;
    padding-bottom: 96px;
}

.baogia-note__box {
    padding: 24px;
    background: #fff;
    border: 1px solid #f8aa0a;
    border-radius: 24px;
}

.igov-baogia .baogia-note__content {
    width: 100%;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.2px;
    color: #535862;
}

.igov-baogia .baogia-note__label {
    font-family: Inter Bold;
}

.igov-baogia .baogia-note__content ul {
    padding-left: 24px;
    list-style: disc;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1199px) {
    .baogia-hero {
        padding-top: 96px;
    }

    .igov-baogia .baogia-hero__title {
        font-size: 34px;
        line-height: 44px;
    }

    .igov-baogia .baogia-card__price {
        font-size: 28px;
        line-height: 36px;
    }
}

@media (max-width: 1024px) {
    .baogia-pricing,
    .baogia-training,
    .baogia-note {
        margin-top: 48px;
    }

    .baogia-training {
        gap: 48px;
    }

    .baogia-training--tab2 {
        gap: 24px;
    }

    .igov-baogia .baogia-card {
        flex: 1 1 100%;
    }

    .igov-baogia .baogia-card-tab2 {
        flex: 1 1 100%;
    }

    .igov-baogia .baogia-card-tab2:first-child {
        border-right: none;
        border-bottom: 1px solid #e9eaeb;
        border-radius: 0;
    }

    .igov-baogia .baogia-card-tab2:last-child {
        border-radius: 0;
    }

    .baogia-note {
        padding-bottom: 72px;
    }
}

@media (max-width: 767px) {
    .baogia-container {
        padding: 0 16px;
    }

    .igov-baogia .baogia-decor {
        display: none;
    }

    .baogia-hero {
        padding-top: 56px;
    }

    .igov-baogia .baogia-hero__title {
        font-size: 28px;
        line-height: 36px;
    }

    .igov-baogia .baogia-hero__subtitle {
        font-size: 16px;
        line-height: 24px;
    }

    .baogia-pricing,
    .baogia-training,
    .baogia-note {
        margin-top: 32px;
    }

    .baogia-training {
        gap: 32px;
    }

    .baogia-training--tab2 {
        gap: 16px;
    }

    .baogia-group {
        gap: 24px;
    }

    .baogia-tabs {
        gap: 12px;
    }

    .igov-baogia .baogia-tab {
        width: 100%;
    }

    .igov-baogia .baogia-card {
        gap: 20px;
        padding: 20px;
    }

    .igov-baogia .baogia-card__name,
    .igov-baogia .baogia-card__unit {
        font-size: 18px;
        line-height: 26px;
    }

    .igov-baogia .baogia-card__price {
        font-size: 26px;
        line-height: 34px;
    }

    .igov-baogia .baogia-group__title {
        font-size: 20px;
        line-height: 28px;
    }

    .baogia-note {
        padding-bottom: 56px;
    }

    .baogia-note__box {
        padding: 16px;
    }

    .igov-baogia .baogia-note__content ul {
        padding-left: 20px;
    }
}
