html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body.modal-open {
    overflow: hidden;
}
@media (min-width: 768px) {
    body.modal-open {
        overflow: auto;
    }
}

.log-item {
    animation: fade-in 0.5s ease-out forwards;
}
@keyframes fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.status-day-bar {
    background-color: #22c55e;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
.status-day-bar.has-errors {
    background-color: #ef4444;
}
.status-day-bar:hover {
    transform: scale(1.2);
    z-index: 10;
}
.status-day-bar.selected {
     box-shadow: 0 0 0 3px #3b82f6;
     transform: scale(1.2);
     z-index: 5;
}
.status-day-bar .tooltip {
    visibility: hidden; opacity: 0; transition: opacity 0.2s;
    transform: translateX(-50%); left: 50%;
}
.status-day-bar:hover .tooltip {
    visibility: visible; opacity: 1;
}
.error-label {
    background-color: #FEE2E2;
    color: #DD0000;
}
.log-card {
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}
.log-details {
    font-size: 1.05rem;
}

.date-picker-item {
    padding: 0.5rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 0.875rem;
}
.date-picker-item:hover {
    background-color: #f3f4f6;
}
.date-picker-item.selected {
    background-color: #2563eb;
    color: white;
    font-weight: 600;
}
.date-picker-item.disabled {
    color: #9ca3af;
    cursor: not-allowed;
}

@media (max-width: 380px) {
    #stats-value-1, #stats-value-2, #stats-value-3 {
        font-size: 1.1rem;
    }
}

