.section {
    background-color: #fff;
    border-radius: 0.75rem;
    padding: 1.5625rem;
    margin: 1.25rem 0;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
}

.section h2 {
    margin: 0 0 1.25rem 0;
    font-size: 1.375rem;
    color: #007bff;
    text-align: left;
    border-bottom: 0.125rem solid #f0f0f0;
    padding-bottom: 0.625rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.refresh-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #28a745;
}

.refresh-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #28a745;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9.375rem, 1fr));
    gap: 1.25rem;
    margin: 1.25rem 0;
}

.stat-card {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 1.5625rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 123, 255, 0.3);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-0.1875rem);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.03125rem;
}

.table-container {
    overflow-x: auto;
    margin: 0.9375rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.1);
}

table th {
    background-color: #007bff;
    color: white;
    padding: 0.9375rem 0.625rem;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
}

table td {
    padding: 0.9375rem 0.625rem;
    text-align: center;
    border-bottom: 0.0625rem solid #f0f0f0;
    font-size: 1rem;
}

.position-cell {
    font-weight: bold;
    font-size: 1.125rem;
}

.name-cell {
    font-weight: 500;
}

.sushi-cell {
    font-weight: bold;
    color: #007bff;
}

.rank-1 {
    background-color: #fff3cd;
}

.rank-2 {
    background-color: #f8f9fa;
}

.rank-3 {
    background-color: #f1f3f4;
}

.actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9375rem;
    margin-top: 1.25rem;
}

.btn-action {
    display: block;
    text-align: center;
    text-decoration: none;
    padding: 1.125rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
    text-decoration: none;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #545b62;
}

.btn-action:disabled {
    background-color: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
}

.status-indicator {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #ffc107;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .section {
        padding: 1.25rem;
        margin: 0.9375rem 0;
    }

    .section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5625rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.9375rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.9375rem;
    }

    .stat-card {
        padding: 1.25rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

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

    table th, table td {
        padding: 1.125rem 0.5rem;
        font-size: 1.125rem;
    }

    .actions {
        grid-template-columns: 1fr;
        gap: 0.9375rem;
    }

    .btn-action {
        padding: 1.375rem 1.25rem;
        font-size: 1.125rem;
    }

    .connection-status {
        font-size: 1rem;
        padding: 0.625rem 0.9375rem;
    }

    .refresh-indicator {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 1.25rem 0.9375rem;
    }

    .section h2 {
        font-size: 1.625rem;
    }

    .stats-grid {
        gap: 0.75rem;
    }

    .stat-card {
        padding: 1.125rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

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

    table th, table td {
        padding: 1.25rem 0.375rem;
        font-size: 1.25rem;
    }

    .btn-action {
        padding: 1.5625rem 1.25rem;
        font-size: 1.25rem;
    }
}

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

    table th, table td {
        padding: 0.9375rem 0.25rem;
        font-size: 1.125rem;
    }
}