/* Serving Size Chart Styles - Compact Version */
.serving-size-chart {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #dee2e6;
}

.serving-size-chart h5 {
    color: #2b4174;
    font-weight: 700;
    font-size: 1rem;
}

.serving-table {
    background: white;
    border-radius: 6px;
    overflow: hidden;
    font-size: 0.85rem;
}

.serving-table thead {
    background: linear-gradient(135deg, #2b4174 0%, #1a2a52 100%);
}

.serving-table thead th {
    color: white;
    font-weight: 600;
    padding: 6px 8px;
    border: none;
    font-size: 0.8rem;
}

.serving-table tbody td {
    padding: 6px 8px;
    vertical-align: middle;
}

.serving-table tbody tr:hover {
    background-color: #f8f9fa;
    transition: background-color 0.2s ease;
}

.cake-size-circle {
    background: linear-gradient(135deg, #2b4174 0%, #3d5a99 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(43, 65, 116, 0.25);
    transition: all 0.3s ease;
    margin: 0 auto;
}

.cake-size-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 10px rgba(43, 65, 116, 0.35);
}

.cake-size-circle .size-label {
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.size-comparison-compact {
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .serving-size-chart {
        padding: 0.75rem;
    }

    .serving-table {
        font-size: 0.75rem;
    }

    .serving-table thead th,
    .serving-table tbody td {
        padding: 4px 6px;
    }

    .cake-size-circle {
        max-width: 50px !important;
        max-height: 50px !important;
    }

    .cake-size-circle .size-label {
        font-size: 0.65rem;
    }
}
