﻿:root {
    --bg-dark: #0f172a;
    --sidebar-bg: #1e293b;
    --card-bg: rgba(30, 41, 59, 0.7);
    --accent: #38bdf8;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: #334155;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --text-white: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.05);
}

body.light-theme {
    --bg-dark: #f8fafc;
    --sidebar-bg: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.9);
    --accent: #0284c7;
    --text-main: #0f172a;
    --text-muted: #475569;
    --border: #e2e8f0;
    --success: #059669;
    --warning: #d97706;
    --danger: #dc2626;
    --text-white: #0f172a;
    --bg-glass: rgba(0, 0, 0, 0.05);
}

body.light-theme .glass {
    background: rgba(255, 255, 255, 0.65) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.05) !important;
}
body.light-theme .kpi-card.glass:hover {
    border-color: rgba(2, 132, 199, 0.3) !important;
    background: rgba(255, 255, 255, 0.85) !important;
}
body.light-theme .table-total-row {
    background-color: rgba(2, 132, 199, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow: hidden;
    transition: background-color 0.3s, color 0.3s;
}

.app-container {
    display: flex;
    height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background-color: var(--sidebar-bg);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    padding: 1.5rem 0;
}

.nav-divider {
    height: 1px;
    background: var(--border);
    margin: 1rem 1.5rem;
}

.nav-label {
    padding: 0 1.5rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent);
}

.nav-divider {
    height: 1px;
    background: var(--border);
    margin: 1rem 1.5rem;
}

.nav-label {
    padding: 0 1.5rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent);
}

.logo {
    padding: 0 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
}

.logo-icon {
    width: 28px;
    height: 28px;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 0 0.75rem;
}

.nav-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 0.5rem;
    transition: all 0.2s;
    font-size: 0.95rem;
    text-align: left;
    margin-bottom: 0.25rem;
    text-decoration: none;
}

.nav-btn i {
    width: 18px;
    height: 18px;
}

.nav-btn:hover,
.nav-btn.active {
    background-color: rgba(56, 189, 248, 0.1);
    color: var(--accent);
}

.nav-btn.active {
    font-weight: 600;
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 2rem;
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.top-header h1 {
    font-size: 1.75rem;
    font-weight: 600;
}

.badge {
    padding: 0.4rem 0.8rem;
    background-color: rgba(56, 189, 248, 0.1);
    color: var(--accent);
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
}

/* KPI Cards */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.kpi-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.kpi-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.kpi-value {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.kpi-footer {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.kpi-trend {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.trend-badge {
    padding: 0.15rem 0.4rem;
    border-radius: 0.4rem;
    font-weight: 700;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
}

.trend-up {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.trend-down {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.trend-neutral {
    background: rgba(148, 163, 184, 0.1);
    color: #94a3b8;
}

/* Charts */
.chart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.card, .chart-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem;
    position: relative;
}

.chart-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

canvas {
    width: 100% !important;
    max-height: 300px;
}

/* Tables */
.table-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

#search-input,
.table-search {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    width: 300px;
}

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Utils */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(56, 189, 248, 0.1);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.nao-alocado {
    color: var(--danger);
    font-weight: 600;
}

.alocado {
    color: var(--success);
}

/* Advanced UI Elements */
.glass {
    background: rgba(30, 41, 59, 0.45) !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3) !important;
}

.kpi-card.glass:hover {
    border-color: rgba(56, 189, 248, 0.3) !important;
    background: rgba(30, 41, 59, 0.6) !important;
}

.kpi-icon-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.kpi-icon {
    width: 24px;
    height: 24px;
    color: var(--accent);
    opacity: 0.8;
}

.accent-icon {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.chart-header-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.chart-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.mt-2 {
    margin-top: 1.5rem;
}

.mt-1 {
    margin-top: 0.75rem;
}

.wide-chart-card {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 1.5rem;
    width: 100%;
}

.summary-card {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 2rem;
    width: 100%;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-top: 1.5rem;
}

.summary-col h4 {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.summary-item span {
    color: var(--text-muted);
}

.summary-item strong {
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.progress-bar div {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    transition: width 0.5s ease-out;
}

/* Color Utils */
.blue-text {
    color: #38bdf8;
}

.orange-text {
    color: #f97316;
}

.green-text {
    color: #10b981;
}

.red-text {
    color: #ef4444;
}

.kpi-card {
    transition: transform 0.2s;
    cursor: default;
}

.kpi-card:hover {
    transform: translateY(-4px);
}

.table-total-row {
    background-color: rgba(56, 189, 248, 0.05);
    font-size: 1rem;
    border-top: 2px solid var(--border);
}

.table-total-row td {
    padding: 1.25rem 1rem !important;
    color: var(--accent) !important;
}

/* Allocation Audit Section */
.audit-team-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.audit-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.audit-title-area h4 {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.audit-costs-area {
    display: flex;
    gap: 2rem;
    text-align: right;
}

.audit-cost-item {
    display: flex;
    flex-direction: column;
}

.audit-cost-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.audit-cost-value {
    font-size: 1.1rem;
    font-weight: 700;
}

.audit-allocation-row {
    margin-bottom: 1.5rem;
}

.audit-progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.audit-progress-bar {
    height: 10px;
}

.audit-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.audit-projects-list,
.audit-unallocated-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.audit-section-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.audit-project-item {
    background: rgba(56, 189, 248, 0.05);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.audit-project-name {
    font-weight: 500;
}

.audit-project-costs {
    font-size: 0.75rem;
}

.audit-unallocated-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.unallocated-tag {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 0.25rem 0.6rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* ===== Text Alignment Utilities ===== */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-muted {
    color: var(--text-muted);
}

.small {
    font-size: 0.8rem;
}

/* ===== Stats Table ===== */
.stats-table th,
.stats-table td {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
}

.stats-table tbody tr:hover {
    background-color: rgba(56, 189, 248, 0.04);
}

/* ===== Summary Header ===== */
.summary-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.summary-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* ===== Project Resources Grid ===== */
.project-resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-glass);
    border-radius: 0.5rem;
}

.resource-card {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
}

.resource-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.resource-name {
    font-weight: 600;
    font-size: 0.85rem;
}

.resource-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.resource-type-badge {
    display: inline-block;
    padding: 0.1rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

.resource-type-badge.capex {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
}

.resource-type-badge.opex {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
}

.resource-cost-area {
    white-space: nowrap;
}

.resource-cost-val {
    font-weight: 700;
    font-size: 0.9rem;
}

.resource-rateio-info {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Sub-Navigation for Dashboard Tabs */
.sub-nav-container {
    padding: 0;
    margin-bottom: 2.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sub-nav {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 0;
}

.sub-nav::-webkit-scrollbar {
    display: none;
}

.sub-nav-btn {
    padding: 0.75rem 0.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    border-radius: 0;
}

.sub-nav-btn:hover {
    color: var(--text-main);
    transform: translateY(-1px);
}

.sub-nav-btn.active {
    background: none;
    color: var(--accent);
    font-weight: 700;
}

.sub-nav-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.2s ease;
}

.sub-nav-btn.active::after {
    width: 100%;
}

/* OKR Internal Tabs Prototype Alignment */
.okr-internal-tabs .sub-nav-btn {
    padding: 0.75rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.okr-internal-tabs .sub-nav-btn:hover {
    color: var(--text-main);
}

.okr-internal-tabs .sub-nav-btn.active {
    color: #2dd4bf; /* Prototype Teal */
    font-weight: 600;
}

.okr-internal-tabs .sub-nav-btn.active::after {
    background-color: #2dd4bf;
    height: 2px;
}

.okr-internal-tabs .sub-nav-btn i {
    width: 18px;
    height: 18px;
}

/* Transitions */
.anim-fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Grid Utilities */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-main);
}

/* Prototype Specific Utilities */
.uppercase {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem !important;
}

.mb-2 {
    margin-bottom: 2rem !important;
}

.accent-blue { color: #38bdf8; }
.accent-green { color: #10b981; }
.accent-red { color: #f43f5e; }
.accent-purple { color: #8b5cf6; }
.accent-yellow { color: #f59e0b; }

.kpi-value.accent-green { color: #10b981; }
.kpi-value.accent-red { color: #f43f5e; }
.kpi-value.accent-yellow { color: #f59e0b; }

.chart-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.kpi-trend {
    width: 100%;
}

.accent-icon-red {
    width: 20px;
    height: 20px;
    color: #f43f5e;
}

.border-red-dim {
    border-color: rgba(244, 63, 94, 0.2) !important;
}

.badge-alert {
    background: rgba(244, 63, 94, 0.1);
    color: #f43f5e;
    border: 1px solid rgba(244, 63, 94, 0.2);
    padding: 0.25rem 0.6rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ===== Acompanhamento (Por Projeto) ===== */
.acomp-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 12px;
}

.acomp-filter-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.acomp-title-group h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
}

.acomp-title-group p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

.acomp-filter-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap; /* Prevent crunching on smaller screens */
}

.acomp-pill-group {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--bg-glass);
    padding: 0.2rem;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.pill-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 700;
    margin-left: 0.75rem;
}

.pill-btn {
    background: none;
    border: none;
    padding: 0.35rem 0.85rem;
    border-radius: 2rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap; /* Fix truncation */
}

.pill-btn:hover {
    color: #fff;
}

.pill-btn.active {
    background: #0ea5e9;
    color: #fff;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.acomp-select {
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    cursor: pointer;
}

.acomp-search-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
}

.acomp-search-wrap i {
    width: 14px;
    height: 14px;
    color: var(--text-muted);
}

.acomp-search-wrap input {
    background: none;
    border: none;
    color: #fff;
    font-size: 0.8rem;
    width: 180px;
    outline: none;
}

.acomp-header {
    display: grid;
    grid-template-columns: 1.8fr 0.8fr 0.7fr 0.6fr 0.6fr 0.6fr 0.8fr 0.8fr 0.8fr 1.1fr 1.1fr 1.1fr 0.7fr;
    padding: 0 0 0.75rem;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 1rem;
}

.acomp-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.acomp-row-wrapper {
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.acomp-row-wrapper:hover {
    border-color: rgba(14, 165, 233, 0.3);
    background: var(--bg-glass);
}

.acomp-row-wrapper.expanded {
    background: var(--bg-glass);
    border-color: rgba(14, 165, 233, 0.5);
    margin-bottom: 1rem;
}

.acomp-row {
    display: grid;
    grid-template-columns: 1.8fr 0.8fr 0.7fr 0.6fr 0.6fr 0.6fr 0.8fr 0.8fr 0.8fr 1.1fr 1.1fr 1.1fr 0.7fr;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    align-items: center;
}

.proj-icon-tag {
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 800;
    color: #fff;
    margin-right: 0.5rem;
}

.proj-icon-tag.water { background: #0891b2; }
.proj-icon-tag.waste { background: #8b5cf6; }

.proj-info-main {
    display: flex;
    flex-direction: column;
}

.proj-name {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
}

.proj-code {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.status-badge i { width: 8px; height: 8px; border-radius: 50%; }

.status-badge.saudavel { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.status-badge.atencao { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.status-badge.critico { background: rgba(239, 68, 68, 0.1); color: #ef4444; }

.andamento-val { font-size: 0.85rem; font-weight: 600; }

.score-val { font-size: 0.85rem; font-weight: 700; }
.score-val.good { color: #10b981; }
.score-val.warn { color: #f59e0b; }
.score-val.bad { color: #ef4444; }

.equipe-count {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.equipe-count i { width: 14px; height: 14px; }

.col-comercial, .col-esf-total, .col-esf-real { font-size: 0.8rem; font-weight: 600; color: #94a3b8; }
.col-esf-total { color: #fff; }
.col-esf-real { color: #10b981; }

.col-capex, .col-opex, .col-total { font-size: 0.85rem; font-weight: 600; }
.col-capex { color: #38bdf8; }
.col-opex { color: #f97316; }

.col-pct { font-size: 0.75rem; color: var(--text-muted); }

/* Expanded Content */
.acomp-details {
    padding: 0 1.5rem 1.5rem;
}

.acomp-kpi-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.acomp-kpi-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ak-label {
    font-size: 0.6rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
}

.ak-value {
    font-size: 1.25rem;
    font-weight: 700;
}

.ak-sub {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.acomp-chart-box {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border-radius: 50%;
    position: relative;
}

.donut-css {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.donut-label {
    position: absolute;
    font-size: 0.6rem;
    font-weight: 800;
    color: var(--text-muted);
}

.acomp-bar-divider {
    height: 4px;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    margin-bottom: 2rem;
    position: relative;
}

.acomp-bar-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: #f59e0b;
    border-radius: 2px;
}

.team-grid-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.team-grid-title i { width: 14px; }

.acomp-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.team-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.team-avatar {
    width: 32px;
    height: 32px;
    background: #334155;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
}

.team-info {
    display: flex;
    flex-direction: column;
}

.team-name {
    font-size: 0.8rem;
    font-weight: 600;
}

.team-role {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.acomp-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.meta-group { display: flex; flex-direction: column; gap: 0.25rem; }
.meta-label { font-size: 0.6rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; }
.meta-val { font-size: 0.8rem; font-weight: 600; }

.acomp-footer-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.crono-badge {
    background: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
    border: 1px solid rgba(14, 165, 233, 0.2);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.crono-badge i { width: 14px; }

.update-date {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Indicadores Styles */
.health-gauge-container {
    position: relative;
    width: 140px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.health-svg {
    width: 100%;
    height: 100%;
}

.health-value-box {
    position: absolute;
    bottom: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.health-score {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    margin: 0.2rem 0;
}

.charts-row-proj {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.chart-header-proj {
    margin-bottom: 1.5rem;
}

.ch-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ch-title i { width: 16px; color: #a855f7; }

.ch-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.scatter-legend {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
    font-size: 0.7rem;
    color: #94a3b8;
}

.scatter-legend span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.scatter-legend .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.radar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.radar-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.radar-proj-name {
    width: 100%;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    text-align: left;
}

/* Alocação Equipe Styles */
.warning-text { color: #f59e0b !important; }
.bad-text { color: #ef4444 !important; }
.info-text { color: #0ea5e9 !important; }

.carga-legend-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.carga-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.carga-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.carga-count {
    font-weight: 700;
    color: #fff;
}

/* Detalhamento Analítico Styles */
.detalhamento-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.title-with-icon {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-box-proj-det {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 320px;
    transition: all 0.2s ease;
}

.search-box-proj-det:focus-within {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.glass-input {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #f8fafc;
    font-size: 0.9rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.glass-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

select.glass-input option {
    background-color: #1e293b;
    color: #f8fafc;
}

.tag-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: lowercase;
    display: inline-block;
}

.bg-water { background: rgba(14, 165, 233, 0.15); color: #38bdf8; border: 1px solid rgba(14, 165, 233, 0.2); }
.bg-waste { background: rgba(168, 85, 247, 0.15); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.2); }

.bg-projeto { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.2); }
.bg-backlog { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.2); }
.bg-sustentacao { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.2); }
.bg-gestao { background: rgba(139, 92, 246, 0.15); color: #a78bfa; border: 1px solid rgba(139, 92, 246, 0.2); }
.bg-produto { background: rgba(236, 72, 153, 0.15); color: #f472b6; border: 1px solid rgba(236, 72, 153, 0.2); }

.stats-table-detalhe th {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    background: var(--bg-glass) !important;
    padding: 1rem 0.5rem !important;
}

.stats-table-detalhe td {
    font-size: 0.85rem;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detalhe-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.detalhe-row.expanded {
    background: rgba(255, 255, 255, 0.03);
}

.btn-expand-row {
    background: transparent;
    border: none;
    color: #475569;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 4px;
    border-radius: 4px;
}

.btn-expand-row:hover {
    color: #f8fafc;
    background: rgba(255,255,255,0.05);
}

.detalhe-row.expanded .btn-expand-row {
    transform: rotate(180deg);
}

.expanded-area {
    background: var(--bg-glass);
}

.expand-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    padding: 1.5rem 3rem;
    border-left: 2px solid #06b6d4;
    margin: 0.5rem 0;
}

.meta-title, .equipe-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.meta-text {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.5;
    font-weight: 500;
}

.equipe-mini-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.equipe-member-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.member-avatar-mini {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.member-info-mini {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.member-name-mini {
    font-size: 0.85rem;
    font-weight: 600;
    color: #f8fafc;
}

.member-role-mini {
    font-size: 0.8rem;
    color: #64748b;
}

.member-role-mini::before {
    content: "—";
    margin-right: 0.4rem;
    color: #334155;
}

/* ==========================================================================
   OKR MODULE STYLES (Isolated namespace .okr-)
   ========================================================================== */

.okr-header {
    margin-bottom: 2rem;
}

.okr-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.okr-objective-card {
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.okr-objective-card:hover {
    border-color: var(--accent);
}

.okr-objective-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--bg-glass);
    transition: background 0.3s ease;
}

.okr-objective-header:hover {
    background: var(--bg-glass);
}

.okr-objective-body {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--bg-glass);
}

/* Progress Bars */
.okr-progress-mini {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    width: 100%;
}

.okr-progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease-out;
}

.okr-kr-progress-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    margin: 1rem 0;
}

.okr-kr-progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modals & Drawers */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-glass);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-content.okr-modal-content {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 650px;
    border-radius: 16px;
    overflow: hidden;
}

.okr-drawer {
    position: fixed;
    top: 0;
    right: -400px; /* Hidden initially */
    width: 400px;
    height: 100vh;
    z-index: 1050;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
}

.okr-drawer.open {
    right: 0;
}

.okr-drawer-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.okr-drawer-body {
    flex: 1;
    overflow-y: auto;
}

/* Forms inside OKR modals */
form#okr-form {
    padding: 0.5rem;
}

form#okr-form label {
    display: block;
    font-size: 0.75rem;
    color: #e2e8f0;
    margin-bottom: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* KPI adjustments */
.okr-dashboard-summary {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.1);
}

/* Button & Layout Fixes for OKR Module */
#okr-container .btn,
.okr-header .btn,
.okr-modal-content .btn,
.okr-drawer-content .btn {
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.okr-modal-content .btn-primary,
.okr-drawer-content .btn-primary,
.okr-header .btn-primary {
    background: #0ea5e9;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
}

.okr-modal-content .btn-primary:hover,
.okr-drawer-content .btn-primary:hover,
.okr-header .btn-primary:hover {
    background: #0284c7;
    transform: translateY(-1px);
}

.okr-modal-content .text-danger,
.okr-drawer-content .text-danger {
    background: transparent;
    color: #f43f5e;
    border: 1px solid rgba(244, 63, 94, 0.3);
}

.okr-modal-content .text-danger:hover,
.okr-drawer-content .text-danger:hover {
    background: rgba(244, 63, 94, 0.1);
}

#okr-container .btn-icon,
.okr-objective-header .btn-icon,
.okr-kr-card .btn-icon,
.okr-task-card .btn-icon {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    color: var(--text-muted);
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#okr-container .btn-icon i,
.okr-objective-header .btn-icon i,
.okr-kr-card .btn-icon i,
.okr-task-card .btn-icon i {
    width: 16px;
    height: 16px;
}

#okr-container .btn-icon:hover,
.okr-objective-header .btn-icon:hover,
.okr-kr-card .btn-icon:hover,
.okr-task-card .btn-icon:hover {
    background: var(--bg-glass);
    color: var(--text-main);
    border-color: var(--accent);
}

#okr-container .btn-icon.text-success,
.okr-objective-header .btn-icon.text-success,
.okr-kr-card .btn-icon.text-success {
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.2);
    background: rgba(16, 185, 129, 0.1);
}

#okr-container .btn-icon.text-success:hover,
.okr-objective-header .btn-icon.text-success:hover,
.okr-kr-card .btn-icon.text-success:hover {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

/* Fix input backgrounds */
form#okr-form .glass-input {
    background: var(--bg-glass) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

form#okr-form .glass-input:focus {
    background: var(--bg-glass) !important;
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2) !important;
}

form#okr-form select.glass-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

/* OKR Form Grid & Layout Utilities */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -0.75rem;
    margin-left: -0.75rem;
}

.col-4, .col-6, .col-12 {
    position: relative;
    width: 100%;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
}

.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mt-3 { margin-top: 1rem !important; }

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.w-100 { width: 100% !important; }
.d-flex { display: flex !important; }
.align-items-center { align-items: center !important; }
.justify-content-end { justify-content: flex-end !important; }
.gap-2 { gap: 0.5rem !important; }

/* Responsible Avatars & UI */
.avatar-group {
    display: flex;
    align-items: center;
}

.avatar-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    border: 2px solid #1e293b;
    margin-left: -8px;
    position: relative;
    cursor: help;
    transition: all 0.2s;
}

.avatar-circle:first-child { margin-left: 0; }
.avatar-circle:hover {
    transform: translateY(-2px);
    z-index: 10;
}

/* Custom Multi-select */
.custom-multi-select {
    position: relative;
    min-height: 42px;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 4px 8px;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.multi-select-tag {
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.multi-select-tag .remove {
    cursor: pointer;
    font-weight: bold;
}

.multi-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-top: 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1100;
    display: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

.multi-select-option {
    padding: 8px 12px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
}

.multi-select-option:hover {
    background: rgba(255,255,255,0.05);
}

.multi-select-option.selected {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
}

/* Table Style for Modal */
.okr-table {
    width: 100%;
    border-collapse: collapse;
}

.okr-table th {
    text-align: left;
    padding: 12px;
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(255,255,255,0.05);
}

.okr-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* ============================================================ */
/* PROJETO ACOMPANHAMENTO - UI ENHANCEMENTS */
/* ============================================================ */
.acomp-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.meta-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.meta-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    font-weight: 600;
}

.meta-select-okr {
    background: rgba(30, 41, 59, 0.7) !important; /* Semi-transparent dark slate */
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #f8fafc !important;
    font-size: 0.85rem;
    padding: 6px 10px;
    border-radius: 6px;
    width: auto;
    min-width: 250px;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

.meta-select-okr:hover {
    background: rgba(30, 41, 59, 1) !important;
    border-color: rgba(56, 189, 248, 0.4) !important;
}

.meta-select-okr:focus {
    outline: none;
    border-color: #38bdf8 !important;
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

.meta-select-okr option {
    background-color: #1e293b; /* Solid dark background for browser dropdown */
    color: #f8fafc;
    padding: 10px;
}

