:root {
    --np-green: #1f6b4a;
    --np-green-dark: #154a34;
    --np-sand: #f4f0e6;
    --np-card: #ffffff;
    --np-text: #1a2e24;
}

body {
    font-family: "Segoe UI", system-ui, sans-serif;
    background: linear-gradient(180deg, var(--np-sand) 0%, #e8efe9 40%, #dfece3 100%);
    color: var(--np-text);
    min-height: 100vh;
}

.site-header {
    background: linear-gradient(135deg, var(--np-green) 0%, var(--np-green-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 24px rgba(21, 74, 52, 0.25);
}

.site-eyebrow {
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.75rem;
    opacity: 0.85;
}

.site-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
}

.site-subtitle {
    opacity: 0.9;
    font-size: 0.95rem;
}

.site-nav {
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(31, 107, 74, 0.12);
    backdrop-filter: blur(6px);
}

.site-nav .nav-link {
    color: var(--np-green-dark);
    font-weight: 500;
}

.site-nav .nav-link.active {
    background: var(--np-green);
}

.site-footer {
    color: #5a6f64;
    border-top: 1px solid rgba(31, 107, 74, 0.15);
    background: rgba(255, 255, 255, 0.5);
}

.metric-card {
    background: var(--np-card);
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 8px 24px rgba(26, 46, 36, 0.08);
    border-left: 4px solid var(--np-green);
    height: 100%;
}

.metric-temp { border-left-color: #c45c26; }
.metric-rain { border-left-color: #2b6cb0; }
.metric-wind { border-left-color: #4a5568; }

.metric-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #5a6f64;
    margin-bottom: 0.25rem;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.metric-extra {
    font-size: 0.9rem;
    color: #5a6f64;
    margin: 0.35rem 0 0;
}

.info-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--np-card);
    border-radius: 0.75rem;
    padding: 0.85rem 1.25rem;
    box-shadow: 0 4px 16px rgba(26, 46, 36, 0.06);
}

.section-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--np-green-dark);
}

.chart-card {
    background: var(--np-card);
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 8px 24px rgba(26, 46, 36, 0.08);
}

.chart-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--np-green-dark);
    margin-bottom: 1rem;
}

.attivita-card {
    border: none;
    border-left: 4px solid var(--np-green);
}

.attivita-date {
    text-transform: capitalize;
}

.attivita-past-list {
    border-radius: 0.75rem;
    overflow: hidden;
}

.attivita-card-image,
.attivita-image-always {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
}

.attivita-card-image {
    border-radius: 0.75rem 0.75rem 0 0;
}

.admin-activity-thumb {
    max-width: 120px;
    max-height: 80px;
    object-fit: cover;
}

.admin-hub-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    color: inherit;
}

.admin-hub-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

.admin-hub-icon {
    font-size: 1.75rem;
    line-height: 1;
}

.admin-log-file-list {
    max-height: 28rem;
    overflow-y: auto;
}

.admin-log-viewer {
    max-height: 32rem;
    overflow: auto;
    font-size: 0.78rem;
    line-height: 1.35;
    white-space: pre-wrap;
    word-break: break-word;
    background: #1e1e1e;
    color: #d4d4d4;
}
