.page-hero {
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
    padding: 66px 0 44px;
    border-bottom: 1px solid #eef1f5;
}

.page-hero h1 {
    font-size: 40px;
    font-weight: 900;
    color: #071b42;
    margin-bottom: 14px;
    letter-spacing: -0.03em;
}

.page-hero p {
    max-width: 840px;
    font-size: 16px;
    line-height: 1.9;
    color: #4c607b;
    margin: 0;
}

.database-panel {
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
    border: 1px solid #e6edf6;
    border-radius: 32px;
    padding: 38px;
    box-shadow: 0 24px 70px rgba(7, 27, 66, 0.07);
}

.section-heading span {
    display: inline-block;
    font-size: 14px;
    font-weight: 900;
    color: #0b2a5b;
    margin-bottom: 8px;
}

.section-heading h2 {
    color: #061a3d;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.section-heading p {
    color: #52657f;
    line-height: 1.8;
    margin: 0;
}

.category-radio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.category-radio-card {
    cursor: pointer;
    margin: 0;
}

.category-radio-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio-card-body {
    min-height: 74px;
    background: #fff;
    border: 1px solid #e2e9f3;
    border-radius: 14px;
    padding: 14px 42px 12px 16px;
    display: block;
    position: relative;
    transition: .22s ease;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
}

.radio-card-body::after {
    content: "";
    width: 15px;
    height: 15px;
    border: 2px solid #cbd5e1;
    border-radius: 999px;
    position: absolute;
    top: 18px;
    right: 14px;
    background: #fff;
}

.radio-title-line {
    display: flex;
    align-items: center;
    gap: 10px;
}

.radio-title-line i {
    color: #ff7a00;
    font-size: 20px;
    line-height: 1;
    flex: 0 0 auto;
}

.radio-title-line strong {
    color: #071b42;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 900;
    display: block;
}

.radio-card-body small {
    color: #52657f;
    display: block;
    margin-top: 7px;
    line-height: 1.45;
    padding-left: 30px;
}

.category-radio-card input:checked + .radio-card-body {
    border-color: #ff9d3d;
    background: linear-gradient(180deg, #fff8ef 0%, #ffffff 100%);
    box-shadow: 0 16px 34px rgba(255, 122, 0, .13);
    transform: translateY(-2px);
}

.category-radio-card input:checked + .radio-card-body::after {
    border-color: #ff7a00;
    box-shadow: inset 0 0 0 4px #fff;
    background: #ff7a00;
}

.filter-box {
    background: #fff;
    border: 1px solid #e2e9f3;
    border-radius: 18px;
    padding: 20px 22px;
    box-shadow: 0 12px 30px rgba(7, 27, 66, .05);
}

.filter-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #071b42;
    font-weight: 900;
    margin-bottom: 14px;
}

.filter-title i {
    color: #ff7a00;
    font-size: 20px;
}

.filter-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.filter-checks label {
    background: #f7faff;
    border: 1px solid #e5ebf4;
    border-radius: 999px;
    padding: 9px 13px;
    font-weight: 700;
    color: #334761;
    cursor: pointer;
}

.filter-checks input {
    accent-color: #ff7a00;
    margin-right: 7px;
}

.database-table-card {
    background: #fff;
    border: 1px solid #e3eaf4;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(7, 27, 66, .08);
}

.table-toolbar {
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid #edf1f6;
}

.table-toolbar strong {
    color: #071b42;
    font-size: 22px;
    font-weight: 900;
}

.table-toolbar p {
    margin: 5px 0 0;
    color: #52657f;
}

.database-action-btn {
    border: 0;
    border-radius: 999px;
    background: #ffbf00;
    color: #071b42;
    padding: 12px 20px;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 12px 26px rgba(255, 191, 0, .25);
}

.database-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 1020px;
}

.database-table th {
    background: #f7faff;
    color: #071b42;
    font-size: 13px;
    font-weight: 900;
    padding: 14px 16px;
    border-bottom: 1px solid #e5ebf4;
    white-space: nowrap;
}

.database-table td {
    color: #263a55;
    padding: 15px 16px;
    border-bottom: 1px solid #edf1f6;
    vertical-align: middle;
    line-height: 1.55;
}

.database-table tbody tr:hover {
    background: #fffaf2;
}

.database-table td:first-child strong {
    color: #071b42;
    font-weight: 900;
}

.detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 36px;
    border-radius: 999px;
    background: #ffbf00;
    color: #071b42;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(255, 191, 0, .22);
}

.detail-btn:hover {
    color: #071b42;
    transform: translateY(-1px);
}

.fake-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 18px 20px 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.fake-pagination a,
.fake-pagination span {
    min-width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid #e4eaf4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #071b42;
    font-weight: 900;
    text-decoration: none;
    background: #fff;
}

.fake-pagination a.active {
    background: linear-gradient(135deg, #ff7a00 0%, #ffbf00 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 24px rgba(255, 122, 0, .25);
}

.fake-pagination a:hover {
    border-color: #ffbf00;
}

.back-link {
    color: #ff7a00;
    font-weight: 900;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.detail-panel {
    background: #fff;
    border: 1px solid #e3eaf4;
    border-radius: 28px;
    padding: 34px;
    box-shadow: 0 20px 60px rgba(7, 27, 66, .08);
}

.detail-main-card {
    background: linear-gradient(180deg, #fff8ef 0%, #ffffff 100%);
    border: 1px solid #ffd4a8;
    border-radius: 24px;
    padding: 28px;
}

.detail-badge {
    display: inline-flex;
    border-radius: 999px;
    background: #ffbf00;
    color: #071b42;
    font-weight: 900;
    padding: 7px 12px;
    margin-bottom: 14px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.detail-grid div {
    background: #f8fbff;
    border: 1px solid #e3eaf4;
    border-radius: 18px;
    padding: 20px;
}

.detail-grid strong {
    color: #071b42;
    font-weight: 900;
}

.detail-grid p {
    color: #52657f;
    line-height: 1.75;
    margin: 8px 0 0;
}

@media (max-width: 992px) {
    .category-radio-grid,
    .detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .table-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 48px 0 34px;
    }

    .page-hero h1 {
        font-size: 32px;
    }

    .database-panel,
    .detail-panel {
        padding: 24px 18px;
        border-radius: 22px;
    }

    .category-radio-grid,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .filter-checks label {
        width: 100%;
        border-radius: 14px;
    }
}
