.beer-form {
    margin-bottom: 1.5rem;
}

.beer-list {
    margin-bottom: 1.5rem;
}

.chart-container {
    position: relative;
    width: 100%;
    height: 400px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px;
}

.chart-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    text-align: center;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.uric-acid-chart {
    margin-bottom: 1.5rem;
}

/* Better styling for beer consumption items */
.beer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    margin-bottom: 8px;
    background-color: #f8f9fa;
    border-left: 4px solid #0d6efd;
    border-radius: 4px;
}

.beer-item:hover {
    background-color: #e9ecef;
}

.beer-item-time {
    font-weight: bold;
    margin-right: 8px;
}

.beer-item-details {
    color: #6c757d;
}

/* Quick option buttons */
.quick-option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

/* Fix canvas display */
canvas {
    width: 100% !important;
    height: 100% !important;
    max-height: 400px;
}

/* Beer timeline visualization */
.beer-timeline {
    display: flex;
    width: 100%;
    height: 40px;
    margin: 10px 0;
    border-radius: 6px;
    overflow: hidden;
}

.time-block {
    flex: 1;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #495057;
    font-size: 0.8rem;
    border: 1px solid #dee2e6;
}

.time-block.morning {
    background-color: #f8f9fa;
}

.time-block.afternoon {
    background-color: #e9ecef;
}

.time-block.evening {
    background-color: #dee2e6;
}

.time-block.has-beers {
    background-color: rgba(13, 110, 253, 0.2);
    border-color: rgba(13, 110, 253, 0.4);
}

.time-block .time-label {
    font-weight: 600;
    font-size: 0.7rem;
}

.time-block .beer-count {
    position: absolute;
    bottom: 2px;
    right: 5px;
    background-color: #0d6efd;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Beer summary stats */
.beer-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

/* Beer markers for chart */
.beer-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffc107;
    color: #212529;
    border: 2px solid #212529;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-weight: bold;
    z-index: 20;
}

/* Overlay helpers so we don't depend on Bootstrap utilities */
.overlay-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.overlay-light {
    background: rgba(255,255,255,.75);
}
