/* DoliAgroPass PWA Styles */
/* --- FIX CARICAMENTO --- */
[v-cloak] {
    display: none !important;
}

/* ... resto del CSS invariato ... */
body {
    background-color: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    padding-bottom: 80px; /* Spazio per la bottom bar se serve */
}

/* App Header */
.app-header {
    background-color: #28a745; /* Verde Dolibarr/Agricoltura */
    color: white;
    padding: 15px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.app-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

/* Cards */
.audit-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 15px;
    transition: transform 0.2s;
}

.audit-card:active {
    transform: scale(0.98);
}

/* Status Indicators */
.status-dot {
    height: 10px;
    width: 10px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
}
.status-synced { background-color: #28a745; }
.status-dirty { background-color: #ffc107; }

/* Wizard Styles */
.wizard-step-img {
    width: 100%;
    border-radius: 8px;
    border: 3px solid transparent;
    cursor: pointer;
}
.wizard-step-img.selected {
    border-color: #28a745;
    background-color: #e8f5e9;
}

/* Login Screen */
.login-container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
}
.login-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* --- WIZARD STYLES --- */

/* Punteggio Sticky in alto */
.score-header {
    background: #e9ecef;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Navigazione Categorie (Scorrevole orizzontale) */
.category-nav {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
    margin-bottom: 15px;
    -webkit-overflow-scrolling: touch; /* Smooth scroll iOS */
}

.category-pill {
    display: inline-block;
    padding: 8px 16px;
    margin-right: 8px;
    border-radius: 20px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s;
}

.category-pill.active {
    background-color: #28a745;
    color: white;
    border-color: #28a745;
    box-shadow: 0 2px 5px rgba(40, 167, 69, 0.3);
}

/* Indicatore Card */
.indicator-card {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 15px;
    background: white;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.indicator-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.indicator-help {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 15px;
}

/* VSA Image Selector */
.vsa-option {
    border: 2px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    padding-bottom: 5px;
}

.vsa-option img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    background-color: #ddd; /* Fallback se immagine manca */
}

.vsa-option.selected {
    border-color: #28a745;
    background-color: #f0fff4;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.2);
}

.vsa-label {
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: 5px;
}
