﻿/* Stili per i report e per l'interfaccia utente */

/* Colori per i livelli di intolleranza */
.bg-0 {
    background-color: transparent;
}

.bg-x {
    background-color: #FFF0E0; /* Arancione chiaro per intolleranza crociata */
}

.bg-1 {
    background-color: #FFFBE0; /* Giallo chiaro */
}

.bg-2 {
    background-color: #FFF5E0; /* Arancione-giallo chiaro */
}

.bg-3 {
    background-color: #FFE5E0; /* Rosso chiaro */
}

.bg-4 {
    background-color: #FFD5D5; /* Rosso più intenso */
}

/* Stili per la scheda di visualizzazione del report */
.report-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.report-header {
    background-color: #f8f9fa;
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.report-content {
    padding: 20px;
}

.category-card {
    height: 100%;
    border: 1px solid #e0e0e0;
}

.category-header {
    background-color: #f0f0f0;
    font-weight: bold;
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.food-item {
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
}

.food-item:last-child {
    border-bottom: none;
}

/* Stili per il form di inserimento */
.form-food-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.form-food-label {
    flex-grow: 1;
    margin-right: 10px;
}

.form-intolerance-select {
    width: 80px;
}

/* Stili per la legenda */
.legend-box {
    padding: 10px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.legend-color {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.legend-text {
    font-size: 14px;
}

/* Stili simili a quelli del documento PDF originale */
.citotest-container {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.citotest-header {
    text-align: center;
    margin-bottom: 20px;
}

.citotest-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.citotest-subtitle {
    font-size: 14px;
    margin-bottom: 10px;
}

.citotest-patient-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.citotest-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.citotest-category {
    margin-bottom: 15px;
}

.citotest-category-title {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 14px;
}

.citotest-food-item {
    font-size: 13px;
    margin-bottom: 3px;
}

.citotest-footer {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
}

.citotest-legend {
    margin-bottom: 15px;
}

.citotest-signatures {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.citotest-signature-block {
    flex: 1;
    margin: 0 10px;
}
