.oric-page {
    --oric-blue: #0a4074;
    --oric-teal: #0d8f9d;
    --oric-gold: #d9a441;
    --oric-border: #dce5ec;
    --oric-soft: #f4f8fb;
    --oric-muted: #5f6b7a;
    margin: 12px 0 36px;
    color: #111827;
    font-family: Arial, Helvetica, sans-serif;
    text-align: left;
}

.oric-hero {
    margin-bottom: 18px;
    padding: 24px 26px;
    border: 1px solid var(--oric-border);
    border-left: 6px solid var(--oric-gold);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(10, 64, 116, .08);
}

.oric-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--oric-teal);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.oric-hero h1 {
    margin: 0 0 10px;
    color: var(--oric-blue) !important;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
}

.oric-hero p {
    max-width: 980px;
    margin: 0 0 14px;
    color: var(--oric-muted);
    font-size: 14px;
    line-height: 1.65;
}

.oric-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.oric-links a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 12px;
    border: 1px solid #bfd5e8;
    border-radius: 6px;
    color: var(--oric-blue);
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.oric-links a:hover {
    color: #fff;
    background: var(--oric-blue);
    text-decoration: none;
}

.oric-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.oric-stat {
    padding: 15px 16px;
    border: 1px solid var(--oric-border);
    border-top: 4px solid var(--oric-gold);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(10, 64, 116, .05);
}

.oric-stat strong {
    display: block;
    color: var(--oric-blue);
    font-size: 22px;
    line-height: 1.1;
    margin-bottom: 5px;
}

.oric-stat span {
    color: var(--oric-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.oric-filter-panel {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto;
    gap: 12px;
    align-items: end;
    padding: 16px;
    margin-bottom: 18px;
    border: 1px solid var(--oric-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(10, 64, 116, .05);
}

.oric-filter label {
    display: block;
    margin-bottom: 6px;
    color: var(--oric-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.oric-filter input {
    width: 100%;
    min-height: 40px;
    border: 1px solid #c9d9e8;
    border-radius: 6px;
    padding: 8px 10px;
    color: #111827;
    background: #fff;
    font-size: 14px;
    outline: none;
}

#clearOricFilters {
    min-height: 40px;
    border: 1px solid #bfd5e8;
    border-radius: 6px;
    padding: 8px 14px;
    color: var(--oric-blue);
    background: #f7fbfe;
    font-size: 13px;
    font-weight: 800;
}

.oric-table-card {
    border: 1px solid var(--oric-border);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(10, 64, 116, .07);
}

.oric-table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

#example {
    width: 100% !important;
    border: 0 !important;
    border-collapse: collapse !important;
    margin: 0 !important;
    font-size: 13px;
    background: #fff;
}

#example thead th {
    border: 0 !important;
    border-bottom: 3px solid var(--oric-gold) !important;
    padding: 12px 14px !important;
    color: #fff;
    background: var(--oric-blue);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

#example tbody td {
    border: 0 !important;
    border-bottom: 1px solid #e8eef5 !important;
    padding: 14px 14px !important;
    vertical-align: top;
    color: #243447;
    font-size: 13px;
    line-height: 1.6;
    background: #fff;
    transition: background-color .15s ease, box-shadow .15s ease;
}

#example tbody tr:nth-child(even) td {
    background: #fafcfe;
}

#example tbody tr:hover td {
    background: #f1f8fb;
    box-shadow: inset 0 1px 0 #dbeaf3, inset 0 -1px 0 #dbeaf3;
}

#example tbody tr:hover td:first-child {
    box-shadow: inset 4px 0 0 var(--oric-gold), inset 0 1px 0 #dbeaf3, inset 0 -1px 0 #dbeaf3;
}

#example th:nth-child(1),
#example td:nth-child(1) {
    width: 34%;
}

#example th:nth-child(2),
#example td:nth-child(2) {
    width: 16%;
}

#example th:nth-child(3),
#example td:nth-child(3) {
    width: 38%;
}

#example th:nth-child(4),
#example td:nth-child(4) {
    width: 12%;
    text-align: center;
}

.oric-name {
    color: #102033;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 3px;
}

.oric-muted {
    color: #607086;
    font-size: 12px;
    line-height: 1.5;
}

.oric-page #example tbody td:nth-child(2) {
    color: #102033;
    font-weight: 600;
}

.oric-page #example tbody td:nth-child(3) {
    color: #314155;
    font-weight: 400;
}

.oric-page #example .problem-detail-btn {
    border: 1px solid #a9cde5;
    background: #f5fbff;
    color: var(--oric-blue);
    border-radius: 7px;
    padding: 7px 13px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 3px 8px rgba(10, 64, 116, .07);
}

.oric-page #example .problem-detail-btn:before {
    content: "\25C9";
    display: inline-block;
    margin-right: 6px;
    color: var(--oric-teal);
    font-size: 10px;
    line-height: 1;
    vertical-align: 1px;
}

.oric-page #example .problem-detail-btn:hover,
.oric-page #example .problem-detail-btn:focus {
    border-color: var(--oric-blue);
    background: var(--oric-blue);
    color: #fff;
    box-shadow: 0 6px 14px rgba(10, 64, 116, .18);
}

.oric-page #example .problem-detail-btn:hover:before,
.oric-page #example .problem-detail-btn:focus:before {
    color: #fff;
}

.oric-empty {
    margin: 0;
    padding: 16px;
    color: #8a2f20;
    background: #fff7f4;
    border-left: 4px solid #ff6347;
}

.oric-table-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 14px;
    border-top: 1px solid var(--oric-border);
    background: linear-gradient(180deg, #f8fbfd, #f2f7fa);
    font-size: 13px;
}

.oric-table-footer .dataTables_length,
.oric-table-footer .dataTables_info,
.oric-table-footer .dataTables_paginate {
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #243447;
    font-size: 13px;
}

.oric-table-footer .dataTables_length {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 11px !important;
    border: 1px solid #d7e4ee;
    border-radius: 7px;
    background: #fff;
    font-weight: 700;
}

.oric-table-footer .dataTables_length label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: #102033;
    font-size: 13px;
    font-weight: 700;
}

.oric-table-footer .dataTables_length select {
    min-width: 58px;
    min-height: 30px;
    border: 1px solid #c9d9e8;
    border-radius: 6px;
    padding: 4px 24px 4px 8px;
    background-color: #fff;
    color: #102033;
    font-size: 13px;
    font-weight: 700;
}

.oric-table-footer .dataTables_info {
    flex: 1 1 260px;
    text-align: center;
    color: #415166;
    font-weight: 600;
}

.oric-table-footer .dataTables_paginate {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.oric-table-footer .dataTables_paginate .paginate_button {
    min-width: 34px;
    min-height: 34px;
    margin: 0 !important;
    border: 1px solid #c9d9e8 !important;
    border-radius: 6px !important;
    padding: 7px 10px !important;
    color: var(--oric-blue) !important;
    background: #fff !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: none !important;
}

.oric-table-footer .dataTables_paginate .paginate_button.previous,
.oric-table-footer .dataTables_paginate .paginate_button.next {
    min-width: 70px;
}

.oric-table-footer .dataTables_paginate .paginate_button.current,
.oric-table-footer .dataTables_paginate .paginate_button.current:hover {
    border-color: var(--oric-blue) !important;
    background: var(--oric-blue) !important;
    color: #fff !important;
}

.oric-table-footer .dataTables_paginate .paginate_button:hover,
.oric-table-footer .dataTables_paginate .paginate_button:focus {
    border-color: var(--oric-blue) !important;
    background: #eef7fc !important;
    color: var(--oric-blue) !important;
}

.oric-table-footer .dataTables_paginate .paginate_button.disabled,
.oric-table-footer .dataTables_paginate .paginate_button.disabled:hover {
    opacity: .48;
    border-color: #d7e4ee !important;
    background: #fff !important;
    color: #6b7280 !important;
    cursor: default;
}

@media (max-width: 900px) {
    .oric-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .oric-hero {
        padding: 16px;
    }

    .oric-stats,
    .oric-filter-panel {
        grid-template-columns: 1fr;
    }

    .oric-table-card {
        border: 0;
        background: transparent;
        box-shadow: none;
        overflow: visible;
    }

    .oric-table-scroll {
        overflow-x: visible;
    }

    #example,
    #example tbody,
    #example tr,
    #example td {
        display: block;
        width: 100% !important;
    }

    #example {
        border-collapse: separate !important;
        border-spacing: 0 12px !important;
        background: transparent;
    }

    #example thead {
        display: none;
    }

        #example tbody tr {
            border: 1px solid var(--oric-border);
            border-left: 5px solid var(--oric-gold);
            border-radius: 8px;
            background: #fff;
        box-shadow: 0 8px 18px rgba(10, 64, 116, .06);
        overflow: hidden;
    }

        #example tbody td {
            display: grid;
            grid-template-columns: 112px minmax(0, 1fr);
            gap: 10px;
            align-items: start;
            border-bottom: 1px solid #e5edf4 !important;
            padding: 11px 12px !important;
            text-align: left !important;
            overflow-wrap: anywhere;
            box-shadow: none !important;
        }

    #example tbody td:last-child {
        border-bottom: 0 !important;
    }

    #example tbody td::before {
        content: attr(data-label);
        color: var(--oric-blue);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: .4px;
        text-transform: uppercase;
    }

    #example tbody tr:nth-child(even) td,
    #example tbody tr:hover td {
        background: transparent;
    }

    #example tbody td:last-child .problem-detail-btn {
        width: 100%;
        justify-content: center;
    }

        .oric-table-footer {
            display: block;
            border: 1px solid var(--oric-border);
            border-radius: 8px;
            background: #fff;
            padding: 12px;
        }

        .oric-table-footer .dataTables_length,
        .oric-table-footer .dataTables_info,
        .oric-table-footer .dataTables_paginate {
            margin: 8px 0 !important;
            text-align: center;
        }

        .oric-table-footer .dataTables_length,
        .oric-table-footer .dataTables_length label,
        .oric-table-footer .dataTables_paginate {
            justify-content: center;
            width: 100%;
        }

        .oric-table-footer .dataTables_paginate {
            flex-wrap: wrap;
        }
}
