/* CSS Variables - Light mode */
:root {
    --primary: hsl(215, 100%, 50%);
    --primary-transparent: hsla(215, 100%, 50%, 10%);
    
    --secondary: hsl(215, 10%, 40%);
    --success: hsl(120, 60%, 50%);
    --warning: hsl(45, 100%, 50%);
    --danger: hsl(0, 70%, 55%);
    --background: hsl(0, 0%, 98%);
    --surface: hsl(0, 0%, 100%);
    --text: hsl(0, 0%, 15%);
    --text-secondary: hsl(0, 0%, 45%);
    --border: hsl(0, 0%, 90%);
    --accent: hsl(115, 100%, 30%);
    
    --light: hsl(0, 0%, 100%);
    --light-d-1: hsl(0, 0%, 95%);
    --light-d-2: hsl(0, 0%, 90%);
    --light-d-3: hsl(0, 0%, 80%);
    --light-d-4: hsl(0, 0%, 70%);
    --light-d-5: hsl(0, 0%, 60%);
    
    --dark: hsl(0, 0%, 0%);
    --dark-l-1: hsl(0, 0%, 10%);
    --dark-l-2: hsl(0, 0%, 15%);
    --dark-l-3: hsl(0, 0%, 25%);
    --dark-l-3: hsl(0, 0%, 35%);
    --dark-l-3: hsl(0, 0%, 45%);
    
    /* Spacing */
    --spacing-xs: 0.75rem;
    --spacing-sm: 1.5rem;
    --spacing-md: 3rem;
    --spacing-lg: 6rem;
    --spacing-xl: 9rem;
    --spacing-xxl: 12rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px hsla(0, 0%, 0%, 0.05);
    --shadow-md: 0 4px 8px hsla(0, 0%, 0%, 0.1);
    --shadow-lg: 0 8px 24px hsla(0, 0%, 0%, 0.15);
    
    /* Border radius */
    --radius-xs: 0.27rem;
    --radius-sm: 0.36rem;
    --radius-md: 0.45rem;
    --radius-lg: 0.6rem;
    
    /* Text */
    --text-3xs: 0.6rem;
    --text-2xs: 0.9rem;
    --text-xs: 1.2rem;
    --text-s: 1.5rem;
    --text-m: 1.8rem;
    --text-l: 2.1rem;
    --text-xl: 2.4rem;
    --text-2xl: 2.7rem;
    --text-3xl: 3rem;
}

/* Dark mode */
[data-theme="dark"] {
    --primary: hsl(215, 100%, 60%);
    --secondary: hsl(215, 10%, 50%);
    --success: hsl(120, 60%, 60%);
    --warning: hsl(45, 100%, 60%);
    --danger: hsl(0, 70%, 65%);
    --background: hsl(0, 0%, 0%);
    --surface: hsl(0, 0%, 5%);
    --text: hsl(0, 0%, 95%);
    --text-secondary: hsl(0, 0%, 70%);
    --border: hsl(0, 0%, 10%);
    --accent: hsl(115, 100%, 40%);
    
    --light: hsl(0, 0%, 0%);
    --light-d-1: hsl(0, 0%, 10%);
    --light-d-2: hsl(0, 0%, 15%);
    --light-d-3: hsl(0, 0%, 25%);
    
    --dark: hsl(0, 0%, 100%);
    --dark-l-1: hsl(0, 0%, 90%);
    --dark-l-2: hsl(0, 0%, 85%);
    --dark-l-3: hsl(0, 0%, 75%);
}

/* General */

html {
    font-size: 62.5%;
    height: 100%;
}

@font-face {
  font-family: "Inter";
  src: url('/assets/fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
}

body {
    font-family: "Inter";
    font-size: var(--text-s);
    line-height: 1.5;
    color: var(--text);
    background: var(--background);
    height: 100%;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

button {
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
}

/* Layout */
.app {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 21rem;
    background: var(--surface);
    border-right: 1px solid var(--border);
    display: flex !important;
    flex-direction: column;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
    user-select: none;
}

.sidebar-header {
    padding: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.sidebar-header h1 {
    font-size: var(--text-m);
    font-weight: 600;
    color: var(--text);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) 0 var(--spacing-sm) var(--spacing-sm);
    overflow-y: auto;
}

.nav-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.nav-section-title {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--light-d-4);
    text-transform: uppercase;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: calc(var(--spacing-xs) / 2) var(--spacing-xs);
    color: var(--text-secondary);
    font-weight: 500;
    text-decoration: none;
    transition: 150ms;
    border-radius: var(--radius-xs) 0 0 var(--radius-xs);
}

.nav-item::after {
    content: "";
    position: absolute;
    right: 0;
    height: 100%;
    width: 0.15rem;
}

.nav-item:hover, .nav-item:focus {
    outline: none;
    color: var(--text);
    background: var(--light-d-1);
}

.nav-item:hover::after, .nav-item:focus::after {
    background: var(--light-d-3);
}

.nav-item.active {
    color: var(--primary);
    background: var(--primary-transparent);
}

.nav-item.active::after {
    color: var(--light) !important;
    background: var(--primary);
}

.nav-item-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.sidebar-footer {
    padding: var(--spacing-sm);
    margin-top: auto;
}

.sidebar-footer a {
    width: 100%; justify-content: center;
}

.sidebar-footer a svg {
    width: 1em;
    height: 1em;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: var(--spacing-xs) var(--spacing-sm);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    user-select: none;
}

.header-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.header-title {
    font-size: var(--text-m);
    font-weight: 600;
    color: var(--text);
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: var(--spacing-sm);
}

.header-right [onclick="toggleTheme()"] {
    order: -1;
}

.content {
    flex: 1;
    padding: var(--spacing-sm);
    overflow-y: auto;
}

/* Tables */
.table-container {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}

.table-header {
    padding: var(--spacing-sm);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.table-filters {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-s);
}

.table th,
.table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.table th {
    font-weight: 600;
    color: var(--text-secondary);
    background: hsla(0, 0%, 0%, 0.02);
    user-select: none;
    cursor: pointer;
    transition: 150ms;
}

.table th:hover {
    background: hsla(0, 0%, 0%, 0.05);
}

.table tbody tr:hover {
    background: hsla(0, 0%, 0%, 0.02);
}

.table-checkbox {
    width: 2.5rem;
}

.table-actions {
    width: 3rem;
    text-align: center;
}

/* Forms */
.form {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: var(--spacing-sm);
}

.form-group {
    margin-bottom: var(--spacing-sm);
}

.form-label {
    display: block;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.5rem;
    font-size: var(--text-s);
}

.form-label.required::after {
    content: " *";
    color: var(--danger);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: var(--text-s);
    transition: 150ms;
    background: var(--surface);
    color: var(--text);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px hsla(210, 100%, 50%, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 6rem;
}

.form-error {
    color: var(--danger);
    font-size: var(--text-s);
    margin-top: 0.25rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--text-s);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: 150ms;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: hsl(210, 100%, 45%);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: hsla(0, 0%, 0%, 0.05);
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    background: hsl(0, 70%, 50%);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: var(--text-s);
}

.btn-icon {
    padding: 0.75rem;
    width: auto;
}

/* Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    background: var(--accent);
    color: white;
    border-radius: 1rem;
    font-size: var(--text-xs);
    font-weight: 500;
}

.tag-remove {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    margin-left: 0.25rem;
    opacity: 0.7;
    transition: 150ms;
}

.tag-remove:hover {
    opacity: 1;
}

/* Status indicators */
.status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: var(--text-xs);
    font-weight: 500;
}

.status-lead {
    background: hsla(210, 100%, 50%, 0.1);
    color: var(--primary);
}

.status-prospect {
    background: hsla(45, 100%, 50%, 0.1);
    color: hsl(45, 100%, 40%);
}

.status-customer {
    background: hsla(120, 60%, 50%, 0.1);
    color: var(--success);
}

.status-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: currentColor;
}

/* Search */
.search-container {
    display: flex;
    align-items: center;
    width: 30rem;
}

.search-input {
    padding-left: 2.5rem;
}

.search-icon {
    width: 1rem;
    height: 1rem;
    color: var(--text-secondary);
    pointer-events: none;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: hsla(0, 0%, 0%, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 60rem;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: var(--spacing-sm);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: var(--text-m);
    font-weight: 600;
    color: var(--text);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: 150ms;
}

.modal-close:hover {
    color: var(--text);
    background: hsla(0, 0%, 0%, 0.05);
}

.modal-body {
    padding: var(--spacing-sm);
}

.modal-footer {
    padding: var(--spacing-sm);
    border-top: 1px solid var(--border);
    display: flex;
    gap: var(--spacing-xs);
    justify-content: flex-end;
}

/* Charts */
.chart-container {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.chart-header {
    margin-bottom: var(--spacing-sm);
}

.chart-title {
    font-size: var(--text-s);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.chart-description {
    color: var(--text-secondary);
    font-size: var(--text-s);
}

.chart {
    height: 12rem;
    position: relative;
}

.chart-bar {
    background: var(--accent);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    transition: 150ms;
}

.chart-bar:hover {
    opacity: 0.8;
}

/* Stats grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.stat-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: var(--spacing-sm);
}

.stat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-xs);
}

.stat-title {
    color: var(--text-secondary);
    font-size: var(--text-s);
    font-weight: 500;
}

.stat-value {
    font-size: var(--text-l);
    font-weight: 700;
    color: var(--text);
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm);
    border-top: 1px solid var(--border);
}

.pagination-info {
    color: var(--text-secondary);
    font-size: var(--text-s);
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn {
    padding: 0.5rem;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: 150ms;
}

.pagination-btn:hover:not(:disabled) {
    background: hsla(0, 0%, 0%, 0.05);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Global Search */
.global-search-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: 150ms;
    text-align: left;
}

.global-search-btn:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px hsla(210, 100%, 50%, 0.1);
}

.global-search-btn:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px hsla(210, 100%, 50%, 0.1);
}

/* Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        position: fixed;
        top: 0;
        left: -100%;
        z-index: 100;
        transition: 300ms;
    }
    
    .sidebar.open {
        left: 0;
    }
    
    .main-content {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .search-input {
        width: 100%;
    }
    
    .table-container {
        overflow-x: auto;
    }
    
    .table {
        min-width: 600px;
    }
    
    .header-center {
        display: none;
    }
    
    .header {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--spacing-xs);
    }
    
    .mobile-search-btn {
        display: flex !important;
    }
}

/* Global Search */
.global-search-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: 150ms;
    text-align: left;
    color: var(--text);
    text-decoration: none;
}

.global-search-btn:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px hsla(210, 100%, 50%, 0.1);
}

.global-search-btn:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px hsla(210, 100%, 50%, 0.1);
}

.global-search-btn .search-icon {
    width: 1rem;
    height: 1rem;
    color: var(--text-secondary);
    flex-shrink: 0;
}

/* Search Modal Enhancements */
.modal-overlay {
    animation: fadeIn 150ms;
    backdrop-filter: blur(0.3rem);
    background: hsla(0, 0%, 0%, 0.5);
}

.modal {
    animation: slideDown 450ms;
}

/* Modal Animations */
@keyframes fadeIn {
    from { 
        opacity: 0%; 
    }
    to { 
        opacity: 100%; 
    }
}

@keyframes fadeOut {
    from { 
        opacity: 100%; 
    }
    to { 
        opacity: 0%; 
    }
}

@keyframes slideDown {
    from { 
        opacity: 0%;
        transform: translateY(-4.5rem);
    }
    to { 
        opacity: 100%;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from { 
        opacity: 100%;
        transform: translateY(0);
    }
    to { 
        opacity: 0%;
        transform: translateY(-1.5rem);
    }
}

/* Global Search Specific */
#globalSearchModal .search-container {
    position: relative;
}

#globalSearchModal .search-input {
    padding-left: 2.5rem;
    font-size: var(--text-s);
    border: 2px solid var(--border);
}

#globalSearchModal .search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px hsla(210, 100%, 50%, 0.1);
}

#globalSearchModal .search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    color: var(--text-secondary);
    pointer-events: none;
}

/* Search Results */
.search-result-item {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: 150ms;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-result-item:hover {
    background: hsla(0, 0%, 0%, 0.02);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-icon {
    width: 2rem;
    height: 2rem;
    background: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.search-result-icon svg {
    width: 1rem;
    height: 1rem;
    color: white;
}

.search-result-content {
    flex: 1;
    min-width: 0;
}

.search-result-title {
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-meta {
    font-size: var(--text-xs);
    color: var(--text-secondary);
}

/* Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner {
    width: 2rem;
    height: 2rem;
    border: 2px solid var(--border);
    border-top: 2px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

/* Better transitions for theme switching */
* {
    transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.btn {
    transition: 150ms;
}
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-sm { font-size: var(--text-s); }
.text-lg { font-size: var(--text-m); }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.text-secondary { color: var(--text-secondary); }
.mb-sm { margin-bottom: var(--spacing-xs); }
.mb-md { margin-bottom: var(--spacing-sm); }
.mt-sm { margin-top: var(--spacing-xs); }
.mt-md { margin-top: var(--spacing-sm); }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--spacing-xs); }
.gap-md { gap: var(--spacing-sm); }

/* Tables Page Styles */
.tables-container {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}

.tables-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-s);
}

.tables-table thead tr {
    background: hsla(0, 0%, 0%, 0.02);
}

.tables-table th {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    color: var(--text-secondary);
}

.tables-table th:last-child {
    text-align: center;
}

.tables-table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.tables-table td:last-child {
    text-align: center;
}

.table-name {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.table-icon {
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.table-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.table-info {
    display: flex;
    flex-direction: column;
}

.table-display-name {
    font-weight: 500;
}

.table-name-value {
    font-size: var(--text-xs);
    color: var(--text-secondary);
}

.table-count {
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: var(--text-xs);
    font-weight: 500;
}

.table-actions {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
}

.table-action-btn {
    padding: 0.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: 150ms;
}

.table-action-btn:hover {
    background: hsla(0, 0%, 0%, 0.05);
}

.table-action-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

.tables-stats {
    margin-top: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.tables-stats h4 {
    margin: 0 0 var(--spacing-xs) 0;
    color: var(--text);
}

.tables-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: var(--spacing-sm);
}

.tables-stat-value {
    font-size: var(--text-l);
    font-weight: 600;
}

.tables-stat-value.primary {
    color: var(--primary);
}

.tables-stat-value.accent {
    color: var(--accent);
}

.tables-stat-value.success {
    color: var(--success);
}

.tables-stat-label {
    font-size: var(--text-xs);
    color: var(--text-secondary);
}

.tables-empty {
    text-align: center;
    padding: var(--spacing-lg);
    color: var(--text-secondary);
}

.tables-empty svg {
    width: 4rem;
    height: 4rem;
    margin-bottom: var(--spacing-sm);
    opacity: 0.5;
}

.tables-empty h3 {
    margin-bottom: 0.5rem;
}

.tables-empty p {
    margin-bottom: var(--spacing-sm);
}