:root {
    --primary-color: #2c3e50;
    --accent-color: #27ae60;
    --warning-color: #f39c12; 
    --danger-color: #e74c3c; 
    --info-color: #3498db;
    --bg-color: #f0f2f5; 
    --text-dark: #2d3436;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    margin: 0;
    color: var(--text-dark);
    line-height: 1.6;
}

header {
    background: var(--white);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-container h1 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--primary-color);
    text-transform: uppercase;
}

.logo-virgola {
    width: 25px;
    height: 12px;
    border-bottom: 5px solid var(--primary-color);
    border-right: 5px solid var(--primary-color);
    transform: rotate(45deg) skew(20deg);
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.panel {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px; 
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

/* --- CLASSI SPECIFICHE AREA ARBITRO --- */
.arb-card {
    background: var(--white);
    border-radius: 18px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    border-left: 8px solid var(--primary-color);
}

.arb-gara-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0 0 5px 0;
}

.settore-box-ui {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 1.5rem 0;
    border: 1px solid #edf2f7;
}

.settore-num-circle {
    background: var(--primary-color);
    color: var(--warning-color);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.settore-details small { 
    color: #95a5a6; 
    text-transform: uppercase; 
    font-weight: 800; 
    font-size: 0.7rem;
}

.settore-details span { 
    display: block; 
    font-weight: 700; 
    color: var(--primary-color); 
    font-size: 1.1rem;
}

/* PULSANTI */
.btn-main {
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 0.9rem;
    color: white;
}

.btn-full { width: 100%; box-sizing: border-box; }
.btn-accent { background: var(--accent-color); }
.btn-dark { background: var(--primary-color); }

@media (max-width: 768px) {
    header { padding: 1rem; }
    .btn-main { width: 100%; padding: 16px; }
}