.dp-showcase {
    --dp-navy: #041e42;
    --dp-navy-soft: #0f2d56;
    --dp-ice: #eaf2fe;
    --dp-blue: #1a73e8;
    --dp-text: #1e293b;
    --dp-muted: #64748b;
    --dp-border: #e2e8f0;
    --dp-card: #ffffff;
    --dp-bg-hover: #f8fafc;
    max-width: 1180px;
    margin: 12px auto 32px;
    padding: 0 12px;
    color: var(--dp-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    box-sizing: border-box;
}

.dp-showcase *,
.dp-showcase *::before,
.dp-showcase *::after {
    box-sizing: border-box;
}

/* Top Segmented Toggle */
.dp-segment-wrap {
    display: flex;
    justify-content: center;
    margin: 8px 0 22px;
}

.dp-segment-pills {
    display: inline-flex;
    align-items: center;
    background: var(--dp-ice);
    padding: 4px;
    border-radius: 9999px;
    border: 1px solid #dbeafe;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.dp-seg-btn {
    appearance: none;
    border: none;
    background: transparent;
    color: var(--dp-navy);
    font-size: 14px;
    font-weight: 600;
    padding: 9px 26px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.18s ease;
    line-height: 1.2;
}

.dp-seg-btn:hover {
    background: rgba(255, 255, 255, 0.55);
}

.dp-seg-btn.active {
    background: var(--dp-navy);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(4, 30, 66, 0.25);
}

.dp-tier-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    border-radius: 10px;
    padding: 10px 16px;
    margin-bottom: 14px;
    font-size: 13px;
}

.dp-tier-notice a {
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: underline;
}

/* Elevated Main Card */
.dp-card {
    background: var(--dp-card);
    border: 1px solid #edf2f7;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    padding: 20px 22px 16px;
}

/* Top Filter Toolbar */
.dp-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.dp-search-box {
    position: relative;
    flex: 1 1 280px;
    max-width: 410px;
}

.dp-search-ico {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #475569;
    display: inline-flex;
    pointer-events: none;
}

.dp-search-input {
    width: 100%;
    height: 40px;
    padding: 8px 34px 8px 38px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    color: var(--dp-text);
    background: #ffffff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.dp-search-input::placeholder {
    color: #94a3b8;
}

.dp-search-input:focus {
    outline: none;
    border-color: var(--dp-blue);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.12);
}

.dp-search-clear {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 2px 6px;
}

.dp-search-clear:hover {
    color: var(--dp-text);
}

.dp-toolbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.dp-curr-pills {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    padding: 3px;
    border-radius: 8px;
    border: 1px solid var(--dp-border);
}

.dp-curr-btn {
    border: none;
    background: transparent;
    color: #475569;
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.dp-curr-btn.active {
    background: #ffffff;
    color: var(--dp-navy);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
}

.dp-icon-btn {
    height: 40px;
    width: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: var(--dp-navy);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.dp-icon-btn:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

.dp-perpage-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: #e9ecf1;
    border-radius: 8px;
    height: 40px;
    padding: 0 10px 0 12px;
    gap: 6px;
    color: #334155;
}

.dp-perpage-ico {
    display: inline-flex;
    color: #475569;
}

.dp-perpage-select {
    appearance: auto;
    border: none;
    background: transparent;
    color: var(--dp-navy);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding-right: 4px;
}

.dp-perpage-select:focus {
    outline: none;
}

/* Table */
.dp-table-wrap {
    width: 100%;
    overflow-x: auto;
    border-top: 1px solid #e2e8f0;
}

.dp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    color: var(--dp-text);
}

.dp-table thead tr.dp-head-top th {
    padding: 12px 10px 4px;
    font-weight: 700;
    font-size: 13px;
    color: var(--dp-navy);
    text-align: left;
    white-space: nowrap;
    vertical-align: middle;
}

.dp-table thead tr.dp-head-top th.dp-th-blue {
    color: #0284c7;
}

.dp-table thead tr.dp-head-top th.dp-col-center {
    text-align: center;
}

.dp-table thead tr.dp-head-sub th.dp-group-label {
    padding: 2px 10px 10px;
    font-size: 11.5px;
    font-weight: 500;
    color: #94a3b8;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

.dp-table thead {
    border-bottom: 1.5px solid var(--dp-navy);
}

.dp-th-sort {
    cursor: pointer;
    user-select: none;
}

.dp-th-sort:hover {
    color: var(--dp-blue);
}

.dp-th-inner {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.dp-sort-arrows {
    font-size: 9px;
    color: #94a3b8;
    letter-spacing: -1px;
}

.dp-th-sort.sort-asc .dp-sort-arrows,
.dp-th-sort.sort-desc .dp-sort-arrows {
    color: var(--dp-navy);
}

.dp-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.12s ease;
}

.dp-table tbody tr:hover {
    background: var(--dp-bg-hover);
}

.dp-table tbody td {
    padding: 14px 10px;
    vertical-align: middle;
    white-space: nowrap;
}

.dp-table tbody td.dp-col-center {
    text-align: center;
}

.dp-table tbody td.dp-col-usage {
    white-space: normal;
    min-width: 130px;
}

.dp-tld-btn {
    border: none;
    background: transparent;
    padding: 0;
    color: var(--dp-blue);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dp-tld-btn:hover {
    text-decoration: underline;
    color: #1558b0;
}

.dp-promo-badge {
    display: inline-block;
    padding: 1px 6px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 999px;
    background: #fef3c7;
    color: #92400e;
    letter-spacing: 0.02em;
}

.dp-price-main {
    font-weight: 500;
    color: #1e293b;
    font-variant-numeric: tabular-nums;
}

.dp-price-sec {
    display: block;
    font-size: 11.5px;
    color: #64748b;
    margin-top: 2px;
    font-variant-numeric: tabular-nums;
}

.dp-muted-val {
    color: #94a3b8;
}

.dp-empty {
    text-align: center;
    padding: 36px 16px !important;
    color: var(--dp-muted);
    font-size: 14px;
}

/* Footer Pagination */
.dp-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
    padding-top: 8px;
}

.dp-summary-text {
    font-size: 12.5px;
    color: var(--dp-muted);
}

.dp-pagination {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.dp-page-btn {
    min-width: 32px;
    height: 32px;
    padding: 0 9px;
    border: 1px solid var(--dp-border);
    background: #ffffff;
    color: #334155;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.14s ease;
}

.dp-page-btn:hover:not(:disabled) {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.dp-page-btn.active {
    background: var(--dp-navy);
    border-color: var(--dp-navy);
    color: #ffffff;
}

.dp-page-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Modal */
.dp-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.dp-modal-card {
    background: #ffffff;
    border-radius: 14px;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.25);
}

.dp-modal-head {
    padding: 16px 20px;
    border-bottom: 1px solid var(--dp-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.dp-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--dp-navy);
}

.dp-modal-sub {
    font-size: 12.5px;
    color: var(--dp-muted);
    margin-top: 2px;
}

.dp-modal-close {
    border: none;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    padding: 2px 6px;
}

.dp-modal-body {
    padding: 16px 20px;
    overflow-y: auto;
}

.dp-year-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.dp-year-table th,
.dp-year-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #f1f5f9;
    text-align: left;
}

.dp-year-table th {
    background: #f8fafc;
    color: var(--dp-navy);
    font-weight: 700;
}

.dp-modal-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--dp-border);
}

.dp-meta-chip {
    background: #f8fafc;
    border: 1px solid var(--dp-border);
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 12px;
}

.dp-meta-chip strong {
    display: block;
    color: var(--dp-muted);
    font-size: 10.5px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.dp-modal-foot {
    padding: 12px 20px;
    border-top: 1px solid var(--dp-border);
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.dp-action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.dp-action-link.primary {
    background: var(--dp-navy);
    color: #ffffff;
}

.dp-action-link.secondary {
    background: #eff6ff;
    color: var(--dp-navy);
    border: 1px solid #bfdbfe;
}

.dp-toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 10000;
    background: var(--dp-navy);
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
}

/* Mobile Responsive Layout */
@media (max-width: 768px) {
    .dp-card {
        padding: 14px 12px;
    }

    .dp-search-box {
        max-width: 100%;
    }

    .dp-table-wrap {
        border-top: none;
    }

    .dp-table thead {
        display: none;
    }

    .dp-table,
    .dp-table tbody,
    .dp-table tr,
    .dp-table td {
        display: block;
        width: 100%;
    }

    .dp-table tbody tr {
        border: 1px solid var(--dp-border);
        border-radius: 10px;
        padding: 10px 12px;
        margin-bottom: 10px;
        background: #ffffff;
    }

    .dp-table tbody td {
        padding: 5px 0;
        border: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        white-space: normal;
        text-align: right;
    }

    .dp-table tbody td.dp-col-center,
    .dp-table tbody td.dp-col-usage {
        text-align: right;
    }

    .dp-table tbody td::before {
        content: attr(data-label);
        font-size: 12px;
        font-weight: 600;
        color: var(--dp-muted);
        text-align: left;
    }

    .dp-table tbody td:first-child {
        border-bottom: 1px solid #f1f5f9;
        padding-bottom: 8px;
        margin-bottom: 4px;
    }
}
