/* Enhanced Analytics Dashboard Styles */

.analytics-loading {
    text-align: center;
    padding: 40px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    margin-bottom: 20px;
}

.analytics-loading .error {
    color: #d63638;
    background: #fcf2f3;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 15px;
    margin: 10px 0;
}

.chart-placeholder {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    border: 1px dashed #ddd;
    border-radius: 4px;
    color: #666;
    font-style: italic;
}

.chart-placeholder:empty::before {
    content: "Loading chart...";
}

.analytics-filters {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.analytics-filters form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: end;
}

@media (max-width: 1200px) {
    .analytics-filters form {
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .analytics-filters form {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 150px;
    flex: 1;
}

.filter-group-wide {
    min-width: 250px;
    flex: 2;
}

@media (max-width: 768px) {
    .filter-group {
        min-width: auto;
        flex: none;
    }
    
    .filter-group-wide {
        min-width: auto;
        flex: none;
    }
}

/* Advanced Multi-Select Styles */
.multi-select-container {
    position: relative;
}

.multi-select-input {
    position: relative;
    min-height: 38px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 4px 30px 4px 8px;
    gap: 4px;
}

.multi-select-input:hover {
    border-color: #0073aa;
}

.multi-select-input.active {
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

.multi-select-input input {
    border: none;
    outline: none;
    flex: 1;
    min-width: 120px;
    padding: 4px;
    font-size: 13px;
}

.dropdown-arrow {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 12px;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.multi-select-input.active .dropdown-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.selected-tag {
    background: #0073aa;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.selected-tag .remove-tag {
    cursor: pointer;
    font-weight: bold;
    opacity: 0.8;
}

.selected-tag .remove-tag:hover {
    opacity: 1;
}

.multi-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    max-height: 300px;
    overflow: hidden;
}

.quick-filters {
    padding: 12px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
}

.quick-filter-label {
    font-size: 11px;
    color: #666;
    margin-right: 8px;
    text-transform: uppercase;
    font-weight: 600;
}

.quick-filter-btn {
    background: #e7f3ff;
    border: 1px solid #b3d7ff;
    color: #0056b3;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    margin-right: 4px;
    margin-bottom: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-filter-btn:hover {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

.dropdown-options {
    max-height: 240px;
    overflow-y: auto;
}

.dropdown-option {
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-option:hover {
    background: #f8f9fa;
}

.dropdown-option.selected {
    background: #e7f3ff;
    color: #0056b3;
}

.option-name {
    font-weight: 500;
}

.option-count {
    font-size: 11px;
    color: #666;
    background: #f0f0f0;
    padding: 1px 6px;
    border-radius: 8px;
}

/* Loading and Empty States */
.dropdown-loading {
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}

.dropdown-empty {
    padding: 20px;
    text-align: center;
    color: #999;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .multi-select-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 12px 12px 0 0;
        max-height: 50vh;
    }
}

.filter-group label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.filter-group input,
.filter-group select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
}

.filter-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

.custom-date-range {
    display: flex;
    gap: 10px;
}

.custom-date-range label {
    margin-bottom: 0;
    font-size: 12px;
    color: #666;
}

/* Summary Cards */
.analytics-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.summary-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.summary-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.summary-card h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-value {
    font-size: 32px;
    font-weight: bold;
    color: #0073aa;
    margin-bottom: 5px;
    line-height: 1;
}

.summary-unit {
    font-size: 12px;
    color: #999;
    font-weight: normal;
}

/* Loading state for summary cards */
.summary-card.loading .summary-value {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    color: transparent;
    border-radius: 4px;
    height: 40px;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Charts Section */
.analytics-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.chart-container {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.chart-container h3 {
    margin: 0 0 20px 0;
    font-size: 16px;
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

.chart-container canvas {
    max-height: 300px;
}

/* Tables Section */
.analytics-tables {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 1200px) {
    .analytics-tables {
        grid-template-columns: 1fr;
    }
}

.table-container {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow-x: auto;
}

.table-container h3 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

.analytics-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.analytics-table th {
    background: #f8f9fa;
    padding: 10px 8px;
    text-align: left;
    border-bottom: 2px solid #e5e5e5;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.analytics-table td {
    padding: 8px;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    word-wrap: break-word;
    max-width: 200px;
}

.analytics-table tr:hover {
    background: #f8f9fa;
}

.analytics-table .number {
    text-align: right;
    font-family: monospace;
    font-weight: 600;
    white-space: nowrap;
}

.analytics-table .link-title {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.analytics-table .url-cell {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: monospace;
    font-size: 11px;
    color: #666;
}

.analytics-table .date-cell {
    white-space: nowrap;
    font-size: 11px;
}

.analytics-table .user-agent-cell {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
    color: #666;
}

.analytics-table .country-flag {
    margin-right: 5px;
}

.analytics-table .performance {
    font-size: 11px;
    color: #666;
}

/* Top Performing Links table styles */
.analytics-table a {
    color: #0073aa;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.analytics-table a:hover {
    color: #005a87;
    text-decoration: underline;
}

.analytics-table a:focus {
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.3);
    outline: none;
    border-radius: 2px;
}

.analytics-table a .dashicons-external {
    opacity: 0.6;
    transition: opacity 0.2s ease;
    margin-left: 4px;
}

.analytics-table a:hover .dashicons-external {
    opacity: 1;
}

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
}

.status-badge.unique {
    background: #d4edda;
    color: #155724;
}

.status-badge.duplicate {
    background: #f8d7da;
    color: #721c24;
}

.status-badge.cached {
    background: #cce7ff;
    color: #004085;
}

/* Loading indicator */
#loading-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    font-size: 16px;
    color: #333;
    z-index: 9999;
}

#loading-indicator::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0073aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error states */
.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #f5c6cb;
    margin: 10px 0;
}

.no-data-message {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 4px;
}

/* Side-by-side layout for controls + chart */
.analytics-side-by-side {
    display: flex;
    gap: 30px;
    margin: 20px 0;
    width: 100%;
    box-sizing: border-box;
    clear: both;
}

.analytics-side-by-side .left-column {
    flex: 1 1 40%;
    min-width: 0;
    max-width: calc(40% - 15px);
    box-sizing: border-box;
}

.analytics-side-by-side .right-column {
    flex: 1 1 60%;
    min-width: 320px;
    max-width: calc(60% - 15px);
    box-sizing: border-box;
}

.analytics-side-by-side .chart-container,
.analytics-side-by-side .table-container {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.analytics-side-by-side .table-container {
    overflow-x: auto;
}

/* Responsive design */
@media (max-width: 1200px) {
    .analytics-side-by-side {
        gap: 20px;
    }

    .analytics-side-by-side .left-column {
        flex: 1 1 45%;
        max-width: calc(45% - 10px);
    }

    .analytics-side-by-side .right-column {
        flex: 1 1 55%;
        max-width: calc(55% - 10px);
        min-width: 280px;
    }

    .analytics-charts {
        grid-template-columns: 1fr;
    }
    
    .analytics-tables {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .analytics-side-by-side {
        flex-direction: column;
        gap: 25px;
    }

    .analytics-side-by-side .left-column,
    .analytics-side-by-side .right-column {
        flex: none;
        min-width: 0;
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .analytics-side-by-side {
        gap: 20px;
        margin: 15px 0;
    }

    .analytics-filters form {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        min-width: auto;
    }

    .analytics-summary {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .chart-container {
        min-width: auto;
    }
    
    .analytics-table {
        font-size: 12px;
    }
    
    .analytics-table th,
    .analytics-table td {
        padding: 6px 8px;
    }
}

/* Print styles */
@media print {
    .analytics-filters {
        display: none;
    }
    
    .summary-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #333;
    }
    
    .chart-container {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #333;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .summary-card,
    .chart-container,
    .table-container,
    .analytics-filters {
        background: #2c2c2c;
        border-color: #404040;
        color: #e0e0e0;
    }
    
    .summary-card h3,
    .chart-container h3,
    .table-container h3 {
        color: #e0e0e0;
        border-color: #0073aa;
    }
    
    .analytics-table th {
        background: #404040;
        color: #e0e0e0;
    }
    
    .analytics-table td {
        color: #ccc;
        border-color: #404040;
    }
    
    .analytics-table tr:hover {
        background: #404040;
    }
}

/* Accessibility improvements */
.filter-group label {
    cursor: pointer;
}

.summary-card:focus,
.chart-container:focus,
.table-container:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

button:focus,
input:focus,
select:focus {
    outline: 2px solid #0073aa;
    outline-offset: 1px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .summary-card,
    .chart-container,
    .table-container,
    .analytics-filters {
        border: 2px solid #000;
    }
    
    .summary-value {
        color: #000;
    }
}

/* Analytics Breakdown Grid */
.analytics-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.analytics-breakdown-card {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    padding: 15px;
}

.analytics-breakdown-card h3 {
    margin: 0 0 15px;
    font-size: 14px;
    color: #1d2327;
}

#top-referrers-table {
    margin-top: 15px;
    font-size: 13px;
}

#top-referrers-table td:last-child {
    text-align: right;
    font-weight: 600;
}

@media (max-width: 1200px) {
    .analytics-breakdown-grid {
        grid-template-columns: 1fr;
    }
}

/* Recent Activity Section - Full Width */
.recent-activity-section {
    margin-top: 30px;
    background: white;
    border: 1px solid #e1e4e8;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.recent-activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 15px;
    border-bottom: 1px solid #e1e4e8;
    background: #f8f9fa;
    border-radius: 6px 6px 0 0;
}

.recent-activity-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.activity-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pagination-info {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.pagination-controls label {
    font-weight: 500;
    color: #666;
    margin: 0;
}

.pagination-controls select {
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    background: white;
}

.activity-table-container {
    padding: 0;
    margin: 0;
}

.activity-table {
    width: 100%;
    margin: 0;
}

.activity-table th {
    background: #f8f9fa;
    color: #333;
    font-weight: 600;
    padding: 12px 15px;
    text-align: left;
    border-bottom: 2px solid #e1e4e8;
    position: relative;
}

.activity-table th.sortable {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s;
}

.activity-table th.sortable:hover {
    background: #e9ecef;
}

.activity-table th.sortable.sorted-asc .sort-icon::after {
    content: '↑';
    color: #0073aa;
    font-weight: bold;
}

.activity-table th.sortable.sorted-desc .sort-icon::after {
    content: '↓';
    color: #0073aa;
    font-weight: bold;
}

.sort-icon {
    font-size: 12px;
    color: #999;
    margin-left: 5px;
}

.activity-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #f1f1f1;
    vertical-align: middle;
}

.activity-table tr:hover {
    background-color: #f8f9fa;
}

.activity-table .referrer-cell {
    max-width: 200px;
    word-break: break-all;
}

.activity-table .referrer-link {
    color: #0073aa;
    text-decoration: none;
    font-size: 12px;
}

.activity-table .referrer-link:hover {
    text-decoration: underline;
}

.activity-table .os-device-cell {
    font-size: 12px;
    color: #666;
}

.activity-table .device-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 5px;
    vertical-align: middle;
}

/* Pagination */
.activity-pagination {
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e1e4e8;
    border-radius: 0 0 6px 6px;
}

.pagination-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.pagination-btn:hover:not(:disabled) {
    background: #f0f0f0;
    border-color: #999;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
}

.pagination-pages {
    display: flex;
    gap: 5px;
    align-items: center;
}

.pagination-page {
    padding: 6px 10px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    min-width: 32px;
    text-align: center;
    transition: all 0.2s;
}

.pagination-page:hover {
    background: #f0f0f0;
    border-color: #999;
}

.pagination-page.active {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

.pagination-ellipsis {
    padding: 6px 10px;
    color: #666;
    font-size: 13px;
}

/* Responsive Design for Recent Activity */
@media (max-width: 1200px) {
    .activity-controls {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .pagination-nav {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .recent-activity-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .activity-table {
        font-size: 12px;
    }
    
    .activity-table th,
    .activity-table td {
        padding: 8px 10px;
    }
    
    .activity-table .referrer-cell {
        max-width: 120px;
    }
}

/* Enhanced Activity Table Styles */
.activity-table .traffic-source-cell {
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-table .unique-cell {
    text-align: center;
    font-size: 11px;
}

.activity-table .unique-cell small {
    color: #666;
    display: block;
    margin-top: 2px;
}

.activity-table .browser-cell,
.activity-table .os-device-cell {
    font-size: 12px;
}

.activity-table .country-cell {
    min-width: 140px;
}

.activity-table .location-display {
    font-size: 12px;
}

/* UTM Info Styling */
.activity-table .referrer-cell small {
    color: #666;
    font-size: 10px;
    line-height: 1.2;
    margin-top: 2px;
    display: block;
}

/* Enhanced Filters */
.analytics-filters .filter-group {
    min-width: 140px;
}

.analytics-filters .filter-group-wide {
    min-width: 200px;
}

/* Flag emoji spacing */
.country-cell {
    white-space: nowrap;
}

/* Unique indicators */
.unique-indicator {
    white-space: nowrap;
    font-size: 11px;
}

/* Export Section */
.analytics-export-section {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Detailed Status Cards */
.analytics-detailed-status {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.analytics-detailed-status h3 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #1d2327;
    font-weight: 600;
}

.detailed-status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.detailed-status-card {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.detailed-status-card:hover {
    background: #f0f0f1;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.detailed-status-card .status-icon {
    margin-right: 12px;
    font-size: 18px;
}

.detailed-status-card .status-info {
    display: flex;
    flex-direction: column;
}

.detailed-status-card .status-label {
    font-size: 12px;
    color: #646970;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.detailed-status-card .status-count {
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
}

/* Responsive adjustments for detailed status cards */
@media (max-width: 768px) {
    .detailed-status-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .detailed-status-card {
        padding: 10px 12px;
    }
    
    .detailed-status-card .status-icon {
        margin-right: 8px;
        font-size: 16px;
    }
    
    .detailed-status-card .status-count {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .detailed-status-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .detailed-status-card {
        flex-direction: column;
        text-align: center;
        padding: 8px;
    }
    
    .detailed-status-card .status-icon {
        margin-right: 0;
        margin-bottom: 4px;
    }
}
