body {
    background-color: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.card {
    border-radius: 0.75rem;
    border: 1px solid #e9ecef;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    height: 100%;
}

.card-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e9ecef;
    font-weight: 600;
}

.card-data .card-title {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.card-data .card-text {
    font-weight: 500;
}

.badge.bg-warning {
    font-size: 0.8rem;
    font-weight: 600;
}

.status-indicator {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    margin-right: 0.75rem;
}

.signal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f3f5;
}
.signal:last-child {
    border-bottom: none;
}

.signal-level {
    font-size: 0.8rem;
    font-weight: bold;
    padding: 0.25rem 0.75rem;
    border-radius: 50rem;
    color: #fff;
}

.signal-level.alta { background-color: #28a745; }
.signal-level.media { background-color: #ffc107; color: #000 !important;}
.signal-level.bassa { background-color: #dc3545; }

#chart-container {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#chart-placeholder {
     color: #6c757d;
}