/* ============================================
   S9S URL Shortener - Main Styles
   ============================================ */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #64748b;
    --success: #22c55e;
    --danger: #ef4444;
    --warning: #f59e0b;
    
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --bg-hover: #334155;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --border: #334155;
    --radius: 8px;
    --radius-lg: 12px;
    
    --sidebar-width: 260px;
}

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

html, body {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
}

/* ============================================
   Layout
   ============================================ */

.app-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-card);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
}

.sidebar-header {
    padding: 24px;
    border-bottom: 1px solid var(--border);
}

.logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -1px;
}

.logo-subtext {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    list-style: none;
    padding: 16px 0;
    flex: 1;
}

.nav-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s;
}

.nav-menu li a:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.nav-menu li a.active {
    background: var(--primary);
    color: white;
}

.nav-icon {
    font-size: 18px;
}

.sidebar-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.user-name {
    font-size: 14px;
    color: var(--text-primary);
}

.sign-out {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
}

.sign-out:hover {
    color: var(--danger);
}

.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 32px;
}

/* ============================================
   Cards
   ============================================ */

.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
}

/* ============================================
   Stats Grid
   ============================================ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid var(--border);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

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

.stat-change {
    font-size: 12px;
    margin-top: 8px;
}

.stat-change.positive {
    color: var(--success);
}

.stat-change.negative {
    color: var(--danger);
}

/* ============================================
   Forms
   ============================================ */

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 14px;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-input::placeholder {
    color: var(--text-muted);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
    font-family: monospace;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--border);
}

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

.btn-danger:hover {
    background: #dc2626;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

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

/* ============================================
   Tables
   ============================================ */

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

th {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

td {
    font-size: 14px;
}

tr:hover {
    background: var(--bg-hover);
}

/* ============================================
   Alerts
   ============================================ */

.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--danger);
    color: var(--danger);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--warning);
    color: var(--warning);
}

/* ============================================
   Short URL Display
   ============================================ */

.short-url-display {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-dark);
    padding: 16px;
    border-radius: var(--radius);
    margin: 20px 0;
}

.short-url-display a {
    color: var(--primary);
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
}

.short-url-display a:hover {
    text-decoration: underline;
}

.copy-btn {
    padding: 8px 12px;
    background: var(--bg-hover);
    border: none;
    border-radius: var(--radius);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 14px;
}

.copy-btn:hover {
    background: var(--border);
}

/* ============================================
   Loading
   ============================================ */

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   Page Headers
   ============================================ */

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.page-title {
    font-size: 28px;
    font-weight: 700;
}

.page-subtitle {
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ============================================
   URL Truncation
   ============================================ */

.url-truncate {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ============================================
   Empty State
   ============================================ */

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.empty-state-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    
    .main-content {
        margin-left: 0;
        padding: 16px;
    }
    
    .app-container {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   DASHBOARD ENHANCEMENTS
   Add this to your app.css
   ============================================ */

/* Dashboard Grid Layout */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

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

/* Chart Cards */
.chart-card {
    min-height: 350px;
}

.chart-card-small {
    min-height: 350px;
}

.chart-container {
    position: relative;
    height: 280px;
    padding: 16px;
}

/* Breakdown Lists (Browsers, Referrers) */
.breakdown-list {
    padding: 8px 0;
}

.breakdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-color);
}

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

.breakdown-label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
    font-size: 14px;
}

    .breakdown-label.referrer-label {
        min-width: 200px;
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.breakdown-icon {
    font-size: 16px;
}

.breakdown-bar-container {
    flex: 1;
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    overflow: hidden;
}

.breakdown-bar {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.breakdown-value {
    min-width: 60px;
    text-align: right;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

/* Recent Clicks */
.recent-clicks-list {
    padding: 8px 0;
}

.recent-click-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s;
}

    .recent-click-item:hover {
        background: var(--bg-secondary);
    }

    .recent-click-item:last-child {
        border-bottom: none;
    }

.click-icon {
    font-size: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.click-details {
    flex: 1;
    min-width: 0;
}

.click-url {
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
}

.click-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.click-time {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Empty States */
.empty-state-small {
    padding: 32px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* Improved Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

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

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

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 24px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.stat-change {
    font-size: 13px;
    margin-top: 8px;
}

    .stat-change.positive {
        color: #22c55e;
    }

    .stat-change.negative {
        color: #ef4444;
    }

/* Card improvements */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 24px;
    overflow: hidden;
}

.card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* Country bar - different color to distinguish from browser bar */
.breakdown-bar.country-bar {
    background: linear-gradient(90deg, #22c55e, #16a34a);
}

/* Add to your app.css */

/* ============================================
   MAP STYLES
   ============================================ */

.map-card {
    grid-column: 1 / -1; /* Full width */
}

.click-map {
    height: 400px;
    border-radius: 8px;
    background: #0f172a;
}

/* Leaflet popup styling */
.leaflet-popup-content-wrapper {
    background: #1e293b;
    color: #f1f5f9;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.leaflet-popup-tip {
    background: #1e293b;
}

.leaflet-popup-content {
    margin: 12px 16px;
    line-height: 1.5;
}

.map-popup {
    text-align: center;
}

    .map-popup strong {
        font-size: 14px;
        color: #f1f5f9;
    }

.popup-clicks {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 8px;
    background: #6366f1;
    color: white;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Country bar - green to distinguish from browser bar */
.breakdown-bar.country-bar {
    background: linear-gradient(90deg, #22c55e, #16a34a);
}

/* Leaflet controls dark theme */
.leaflet-control-zoom a {
    background: #1e293b !important;
    color: #f1f5f9 !important;
    border-color: #334155 !important;
}

    .leaflet-control-zoom a:hover {
        background: #334155 !important;
    }

.leaflet-control-attribution {
    background: rgba(15, 23, 42, 0.8) !important;
    color: #64748b !important;
}

    .leaflet-control-attribution a {
        color: #818cf8 !important;
    }

/* ============================================
   LINK ANALYTICS PAGE STYLES
   Add to your app.css
   ============================================ */

/* Back link */
.back-link {
    display: inline-block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
    transition: color 0.2s;
}

    .back-link:hover {
        color: var(--primary);
    }

/* Link URL in header */
.link-url {
    color: var(--primary);
    text-decoration: none;
    font-size: 16px;
}

    .link-url:hover {
        text-decoration: underline;
    }

.copy-btn-inline {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    padding: 4px 8px;
    margin-left: 8px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

    .copy-btn-inline:hover {
        opacity: 1;
    }

/* Link info card */
.link-info-card {
    margin-bottom: 24px;
}

.link-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.link-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.link-info-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.link-info-value {
    font-size: 14px;
    color: var(--text-primary);
}

    .link-info-value a {
        color: var(--primary);
        text-decoration: none;
    }

        .link-info-value a:hover {
            text-decoration: underline;
        }

.url-truncate-lg {
    max-width: 400px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

/* Header actions */
.header-actions {
    display: flex;
    gap: 12px;
}

/* Analytics link button for My Links table */
.analytics-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: var(--bg-hover);
    color: var(--text-secondary);
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.2s;
}

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

/* Action buttons in table */
.action-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}


/* ============================================
   HEATMAP STYLES
   Add to your app.css
   ============================================ */

/* Map tooltip styling */
.map-tooltip {
    background: #1e293b !important;
    color: #f1f5f9 !important;
    border: 1px solid #334155 !important;
    border-radius: 6px !important;
    padding: 6px 10px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}

    .map-tooltip::before {
        border-top-color: #1e293b !important;
    }

.leaflet-tooltip-top:before {
    border-top-color: #334155 !important;
}

/* Fullscreen map */
.map-fullscreen {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    margin: 0 !important;
    border-radius: 0 !important;
    display: flex;
    flex-direction: column;
}

    .map-fullscreen .card-header {
        flex-shrink: 0;
        border-radius: 0;
        background: var(--bg-card);
    }

    .map-fullscreen .click-map {
        flex: 1;
        height: auto !important;
        border-radius: 0;
    }

.heatmap-container {
    padding: 16px;
    overflow-x: auto;
}

.heatmap-hours {
    display: flex;
    gap: 2px;
    margin-bottom: 2px;
}

.heatmap-corner {
    width: 40px;
    flex-shrink: 0;
}

.heatmap-hour-label {
    width: 28px;
    font-size: 10px;
    color: var(--text-muted);
    text-align: center;
    flex-shrink: 0;
}

.heatmap-row {
    display: flex;
    gap: 2px;
    margin-bottom: 2px;
}

.heatmap-day-label {
    width: 40px;
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.heatmap-cell {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}

    .heatmap-cell:hover {
        transform: scale(1.15);
        box-shadow: 0 0 8px rgba(99, 102, 241, 0.5);
        z-index: 1;
    }

.heatmap-legend {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

.heatmap-legend-cells {
    display: flex;
    gap: 2px;
}

.heatmap-legend-cell {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

/* Responsive - allow horizontal scroll on small screens */
@media (max-width: 800px) {
    .heatmap-container {
        padding: 12px 8px;
    }

    .heatmap-cell {
        width: 20px;
        height: 20px;
    }

    .heatmap-hour-label {
        width: 20px;
        font-size: 8px;
    }

    .heatmap-day-label {
        width: 32px;
        font-size: 10px;
    }
}


/* ============================================
   LINKS PAGE - SEARCH/FILTER STYLES
   Add to your app.css
   ============================================ */

.filter-card {
    margin-bottom: 24px;
    padding: 16px 20px;
}

.filter-row {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 250px;
    position: relative;
}

    .search-box .form-input {
        padding-right: 36px;
    }

.search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
}

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

.filter-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
    white-space: nowrap;
}

    .filter-checkbox input[type="checkbox"] {
        width: 16px;
        height: 16px;
        cursor: pointer;
        accent-color: var(--primary);
    }

.filter-select {
    min-width: 140px;
}

.filter-info {
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 13px;
    padding: 0;
}

    .btn-link:hover {
        text-decoration: underline;
    }

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-active {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.status-disabled {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.status-expired {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

/* Action buttons in table */
.action-buttons {
    display: flex;
    gap: 4px;
    align-items: center;
}

.action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--bg-hover);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s;
}

    .action-icon:hover {
        background: var(--primary);
    }

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

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

/* Sortable headers */
.sortable-header {
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    transition: color 0.2s;
}

    .sortable-header:hover {
        color: var(--primary);
    }

.sort-indicator {
    margin-left: 4px;
    font-size: 12px;
    color: var(--text-muted);
}

    .sort-indicator.active {
        color: var(--primary);
    }

/* Click count */
.click-count {
    font-weight: 600;
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        min-width: 100%;
    }

    .filter-group {
        flex-wrap: wrap;
    }

    .filter-select {
        flex: 1;
        min-width: 120px;
    }
}



/* ============================================
   USER ADMIN STYLES
   Add to your app.css
   ============================================ */

/* User cell in table */
.user-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.user-name {
    font-weight: 500;
    color: var(--text-primary);
}

.user-username {
    font-size: 12px;
    color: var(--text-muted);
}

.verified-badge {
    display: inline-block;
    margin-left: 6px;
    color: var(--success);
    font-size: 12px;
}

/* Status info on edit page */
.status-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

    .status-row:last-child {
        border-bottom: none;
    }

    .status-row span:first-child {
        color: var(--text-secondary);
        font-size: 14px;
    }
