.registry-page {
    background: #f8fafc;
    min-height: 100vh;
    margin: 0;
}

.page-topbar {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 18px;
    padding: 14px 18px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.page-topbar .back-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.page-topbar .back-link:hover {
    color: #0d6efd;
}

.page-topbar .current-page {
    color: #0f172a;
    font-weight: 600;
}

.section-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.section-card-header {
    padding: 0.45rem 0.9rem 0.4rem;
    border-bottom: 1px solid #eef2f7;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    text-align: center;
}

.section-card-header h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: #0d6efd;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1.2;
}

.section-card-header h2 i {
    font-size: 1.05rem;
}

.section-card-body {
    padding: 0.95rem 1.25rem 1.25rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat-card {
    background: #fbfdff;
    border: 1px solid #e8eef5;
    border-radius: 18px;
    padding: 1rem 0.9rem;
    text-align: center;
    transition: all 0.25s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.stat-label {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    line-height: 1.2;
}

.stat-value {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.1;
}

.stat-card-success .stat-label {
    color: #15803d;
}

.stat-card-warning .stat-label {
    color: #d97706;
}

.stat-card-info .stat-label {
    color: #0891b2;
}

.table-card {
    background: #fbfdff;
    border: 1px solid #e8eef5;
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.table-card:hover {
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.table-card-header {
    padding: 0.85rem 1rem;
    background: #f8fbff;
    border-bottom: 1px solid #e8eef5;
    color: #0d6efd;
    font-weight: 700;
    font-size: 0.98rem;
}

.table-card-body {
    padding: 1rem;
}

.registry-table-wrapper {
    border-radius: 14px;
    overflow: hidden;
}

.registry-table {
    margin-bottom: 0 !important;
    width: 100% !important;
}

.registry-table thead th {
    background: #f8fbff;
    color: #0f172a;
    font-weight: 700;
    border-color: #e8eef5 !important;
    vertical-align: middle;
    white-space: normal;
}

.registry-table tbody td {
    color: #334155;
    border-color: #e8eef5 !important;
    vertical-align: top;
}

.registry-table td,
.registry-table th {
    padding: 0.9rem 0.6rem;
}

.registry-table a {
    text-decoration: none;
}

.registry-table .btn,
.registry-table button,
.registry-table a.btn {
    border-radius: 10px;
    font-weight: 600;
}

.registry-table .badge {
    border-radius: 999px;
    padding: 0.45rem 0.7rem;
    font-weight: 700;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    border: 1px solid #dbe7f3;
    border-radius: 10px;
    padding: 0.4rem 0.65rem;
    background: #ffffff;
    color: #0f172a;
}

.dataTables_wrapper .dataTables_filter input:focus,
.dataTables_wrapper .dataTables_length select:focus {
    border-color: #93c5fd;
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.dataTables_wrapper .dt-buttons .btn {
    border-radius: 10px;
    font-weight: 600;
}

.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
    margin-top: 0.75rem;
}

.dataTables_wrapper .paginate_button {
    border-radius: 10px !important;
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-label {
        font-size: 1rem;
    }

    .stat-value {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .registry-page {
        padding-top: 1rem;
    }

    .page-topbar {
        padding: 12px 14px;
        border-radius: 16px;
    }

    .section-card-header {
        padding: 0.4rem 0.8rem 0.35rem;
    }

    .section-card-header h2 {
        font-size: 1rem;
        gap: 6px;
    }

    .section-card-header h2 i {
        font-size: 0.95rem;
    }

    .section-card-body {
        padding: 0.85rem 1rem 1rem;
    }

    .table-card-body {
        padding: 0.75rem;
    }

    .registry-table td,
    .registry-table th {
        padding: 0.75rem 0.5rem;
    }
}