/* Green Office Metrics Frontend Styles v5 */
.gom-container {
    max-width: 1200px;
    margin: 2em auto;
    font-family: sans-serif;
}
.gom-controls {
    margin-bottom: 1.5em;
    padding: 1em;
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}
.gom-controls label {
    margin-right: 10px;
    font-weight: bold;
}
.gom-chart-container {
    margin-bottom: 1.5em;
    padding: 1em;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}
.gom-year-selector {
    margin-bottom: 1.5em;
    text-align: center;
}
.gom-year-selector .year-btn {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 5px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1em;
}
.gom-year-selector .year-btn.active {
    background: #2271b1;
    color: #fff;
    border-color: #2271b1;
}
.gom-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95em;
}
.gom-table th, .gom-table td {
    border: 1px solid #e5e7eb;
    padding: 0.75em 0.6rem;
    text-align: left;
    vertical-align: middle;
}
.gom-table th {
    background: #f9fafb;
}
.gom-table tr:nth-child(even) {
    background: #f9f9f9;
}
.gom-badge {
    display: inline-block;
    padding: .25rem .5rem;
    border-radius: 9999px;
    font-size: .85em;
    color: #fff;
    font-weight: 500;
}
.gom-badge.up { background: #dc2626; } /* Red for increase */
.gom-badge.down { background: #16a34a; } /* Green for decrease */
.gom-btn {
    display: inline-block;
    padding: 6px 12px;
    background: #16a34a;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9em;
    text-align: center;
}
.gom-btn:hover {
    background: #15803d;
    color: #fff;
}

/* Daily View Styles */
.gom-daily-view .gom-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5em;
    padding-bottom: 1em;
    border-bottom: 2px solid #eee;
}
.gom-daily-view .gom-title {
    text-align: center;
}
.gom-daily-view .gom-title h1, .gom-daily-view .gom-title h2 {
    margin: 0;
    line-height: 1.2;
}
.gom-daily-view .gom-title h1 { font-size: 1.5em; }
.gom-daily-view .gom-title h2 { font-size: 1.2em; color: #555; }
.gom-daily-view .gom-nav-btn {
    padding: 8px 16px;
    background: #f0f0f0;
    border: 1px solid #ccc;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
}
