/* Turni Farmacie Plugin Styles */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

.turni-table-container {
    margin: 20px 0;
    overflow-x: auto;
}

.turni-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    border: 1px solid #ddd;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    line-height: 2.0rem;
}

.turni-table thead {
    background-color: #408b78;
    color: #ffffff;
}

.turni-table thead th {
    padding: 8px 6px;
    text-align: left;
    font-weight: normal;
    font-size: 1.2rem;
    line-height: 2.0rem;
    border: 1px solid #ddd;
}

.turni-table tbody tr {
    border-bottom: 1px solid #ddd;
}

.turni-table tbody tr:hover {
    background-color: #f5f5f5;
}

.turni-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.turni-table tbody tr:nth-child(even):hover {
    background-color: #f0f0f0;
}

.turni-table tbody td {
    padding: 8px 6px;
    font-size: 1.2rem;
    line-height: 2.0rem;
    color: #333333;
    vertical-align: middle;
    font-family: 'Poppins', sans-serif;
    border: 1px solid #ddd;
    font-weight: normal;
}

/* All cells have uniform styling - no special formatting */

/* Responsive design */
@media (max-width: 768px) {
    .turni-table {
        font-size: 1.1rem;
        line-height: 1.8rem;
    }
    
    .turni-table thead th {
        font-size: 1.1rem;
        line-height: 1.8rem;
    }
    
    .turni-table tbody td {
        font-size: 1.1rem;
        line-height: 1.8rem;
    }
    
    .turni-table thead th,
    .turni-table tbody td {
        padding: 6px 4px;
    }
}

@media (max-width: 480px) {
    .turni-table-container {
        margin: 10px -10px;
    }
    
    .turni-table {
        font-size: 1.0rem;
        line-height: 1.6rem;
    }
    
    .turni-table thead th {
        font-size: 1.0rem;
        line-height: 1.6rem;
    }
    
    .turni-table tbody td {
        font-size: 1.0rem;
        line-height: 1.6rem;
    }
    
    .turni-table thead th,
    .turni-table tbody td {
        padding: 4px 2px;
    }
}

/* Print styles */
@media print {
    .turni-table-container {
        margin: 0;
    }
    
    .turni-table {
        border: 1px solid #000;
    }
    
    .turni-table thead {
        background-color: #408b78 !important;
        color: #fff !important;
    }
    
    .turni-table thead th,
    .turni-table tbody td {
        border: 1px solid #000;
    }
    
    .turni-table tbody tr:hover {
        background-color: transparent !important;
    }
}
