/* Custom Enterprise Styling for Tourism BRAP 2024 Dashboard */

:root {
    --primary-teal: #0f766e;
    --primary-teal-dark: #115e59;
    --primary-teal-light: #ccfbf1;
    --primary-blue: #1d4ed8;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --approved-green: #10b981;
    --pending-amber: #f59e0b;
    --rejected-rose: #ef4444;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1e293b;
    background-color: #f8fafc;
}

.bg-slate-900 { background-color: var(--slate-900) !important; }
.bg-slate-800 { background-color: var(--slate-800) !important; }
.border-slate-700 { border-color: var(--slate-700) !important; }
.border-slate-600 { border-color: var(--slate-600) !important; }
.text-slate-300 { color: #cbd5e1 !important; }
.text-slate-400 { color: #94a3b8 !important; }
.text-teal { color: #14b8a6 !important; }
.bg-teal-subtle { background-color: rgba(20, 184, 166, 0.15) !important; }
.text-teal-dark { color: #0d9488 !important; }
.border-teal-light { border-color: rgba(20, 184, 166, 0.3) !important; }

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #0d9488, #2563eb);
    border-radius: 10px;
    color: white;
    font-size: 1.25rem;
}

.brand-title {
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 0.72rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Metric KPI Cards */
.kpi-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

.kpi-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.kpi-val {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--slate-900);
}

.kpi-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--slate-600);
    margin-bottom: 4px;
}

/* Status Badges */
.badge-fully-compliant {
    background-color: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
}

.badge-partially-compliant {
    background-color: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
}

.badge-pending {
    background-color: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
}

.badge-action-required {
    background-color: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
}

/* Progress bar custom */
.progress-thin {
    height: 8px;
    border-radius: 4px;
    background-color: #e2e8f0;
}

/* Clearance item card */
.clearance-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.clearance-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.category-tag {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
}

/* State selector bar */
.state-selector-bar {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 16px 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
}

/* Modal formatting */
.modal-header {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.table-reform-details th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: #f8fafc;
    color: #475569;
}

.table-reform-details td {
    vertical-align: middle;
    font-size: 0.9rem;
}

/* Evidence button */
.btn-evidence {
    background: #e0f2fe;
    color: #0284c7;
    border: 1px solid #bae6fd;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.15s ease;
}

.btn-evidence:hover {
    background: #0284c7;
    color: #ffffff;
}

/* Sub-card inside modal */
.reform-card-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 12px;
}

.reform-card-item:hover {
    border-color: #cbd5e1;
}

.pill-status-ap { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.pill-status-pr { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.pill-status-ra { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }
.pill-status-rr { background: #fce7f3; color: #be185d; border: 1px solid #fbcfe8; }