.card {
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 10px 28px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.card-body {
    padding: 1.25rem 1.35rem;
}

.card-header,
.card-footer {
    padding: 1rem 1.35rem;
    background: transparent;
    border-color: var(--bs-border-color);
}

.card > .table-responsive,
.card > .list-group {
    border-radius: 0;
}

.table {
    --bs-table-bg: transparent;
    margin-bottom: 0;
}

.table > :not(caption) > * > * {
    padding: 0.9rem 1.1rem;
    vertical-align: middle;
}

.table thead th {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--bs-secondary-color);
    background: color-mix(in srgb, var(--bs-secondary-bg) 82%, var(--bs-body-bg));
    border-bottom-width: 1px;
    white-space: nowrap;
}

.table tbody tr:last-child > * {
    border-bottom-width: 0;
}

.table-hover > tbody > tr:hover > * {
    --bs-table-bg-state: color-mix(in srgb, var(--bs-primary) 6%, var(--bs-body-bg));
}

.table-sm > :not(caption) > * > * {
    padding: 0.55rem 0.75rem;
}

.form-control,
.form-select,
.input-group-text {
    border-radius: 0.75rem;
}

.form-control-sm,
.form-select-sm,
.btn-sm {
    border-radius: 0.55rem;
}

.btn {
    border-radius: 0.75rem;
    font-weight: 600;
}

.btn-lg {
    border-radius: 0.75rem;
}

.nav-tabs {
    border-bottom: 0;
    gap: 0.35rem;
}

.nav-tabs .nav-link {
    border: 0;
    border-radius: 0.75rem;
    color: var(--bs-secondary-color);
    font-weight: 600;
    padding: 0.55rem 0.95rem;
}

.nav-tabs .nav-link:hover {
    color: var(--bs-body-color);
    background: color-mix(in srgb, var(--bs-secondary-bg) 70%, transparent);
}

.nav-tabs .nav-link.active {
    color: var(--bs-body-color);
    background: var(--bs-body-bg);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 8px 20px rgba(15, 23, 42, 0.06);
}

.nav-pills .nav-link {
    border-radius: 0.75rem;
    font-weight: 600;
    padding: 0.45rem 0.85rem;
}

.alert,
.badge,
.dropdown-menu,
.modal-content,
.list-group {
    border-radius: 0.75rem;
}

.list-group-item:first-child {
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
}

.list-group-item:last-child {
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
}

.badge {
    font-weight: 600;
    padding: 0.4em 0.65em;
}

.border.rounded,
.border.rounded-3 {
    border-radius: 1rem !important;
}

.pagination .page-link {
    border-radius: 0.55rem;
}

#lv-proxy-style-editor {
    border-radius: 1rem !important;
    padding: 1.25rem 1.35rem !important;
}

[data-bs-theme="dark"] .card {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

[data-bs-theme="dark"] .nav-tabs .nav-link.active {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

[data-bs-theme="dark"] .table thead th {
    background: color-mix(in srgb, var(--bs-secondary-bg) 70%, #000);
}
