/* ==========================================================================
   OMINA VITAL — UNIFIED FINTECH LIGHT-SURFACE OVERRIDE LAYER
   Preserves Admin / Associate shared card classes cleanly without green traps.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

html,
html body,
html.theme-odoo,
html.theme-odoo body {
  background-color: #F5F6FA !important;
  color: #0F172A !important;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

#app-header {
  background-color: #FFFFFF !important;
  border-bottom: 1px solid #E2E8F0 !important;
  box-shadow: 0 1px 3px 0 rgb(15 23 42 / 0.04) !important;
}

#app-sidebar {
  background-color: #FFFFFF !important;
  border-right: 1px solid #E2E8F0 !important;
}

#app-main-content {
  background-color: #F5F6FA !important;
  color: #0F172A !important;
}

/* Strip dark-green hardcoded containers across non-tree user panels cleanly */
body.phonepe-user-shell [class*="from-[#071"],
body.phonepe-user-shell [class*="from-[#072"],
body.phonepe-user-shell [class*="from-[#082"],
body.phonepe-user-shell [class*="from-[#0a3"],
body.phonepe-user-shell [class*="bg-[#071"],
body.phonepe-user-shell [class*="bg-[#072"],
body.phonepe-user-shell [class*="bg-[#062"],
body.phonepe-user-shell [class*="bg-[#0a3"] {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 1px 3px 0 rgb(15 23 42 / 0.05) !important;
}

/* Shared card compatibility classes (Admin + Associate) */
.odoo-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 1.25rem !important;
  box-shadow: 0 1px 3px 0 rgb(15 23 42 / 0.05) !important;
  color: #0F172A !important;
  transition: all 0.18s ease !important;
}

.odoo-card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -4px rgb(95 37 159 / 0.12) !important;
  border-color: #DDD6FE !important;
}

.odoo-metric {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 1.25rem !important;
  padding: 1.25rem !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #0F172A !important;
  box-shadow: 0 1px 3px 0 rgb(15 23 42 / 0.04) !important;
}

.odoo-app-tile {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 1.25rem !important;
  padding: 1rem !important;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  position: relative;
  color: #0F172A !important;
  box-shadow: 0 1px 3px 0 rgb(15 23 42 / 0.04) !important;
}

.odoo-app-tile:hover {
  border-color: #DDD6FE !important;
  box-shadow: 0 10px 24px -4px rgb(95 37 159 / 0.12) !important;
}

.odoo-icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F3EEFA;
  color: #5F259F;
  border: 1px solid #DDD6FE;
  font-size: 1.35rem;
}

.odoo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.odoo-badge-emerald,
.odoo-badge-indigo {
  background: #F3EEFA !important;
  color: #5F259F !important;
  border: 1px solid #DDD6FE !important;
}

.odoo-badge-amber {
  background: #FFFBEB !important;
  color: #B45309 !important;
  border: 1px solid #FDE68A !important;
}

/* Unified Royal Indigo Enterprise Tabs */
.ovo-enterprise-tabs {
  display: inline-flex;
  align-items: center;
  background: #F1F5F9;
  border-radius: 9999px;
  padding: 0.25rem;
  gap: 0.25rem;
  border: 1px solid #CBD5E1;
}

.ovo-enterprise-tab {
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 800;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #475569;
  background: transparent;
  white-space: nowrap;
}

.ovo-enterprise-tab.active {
  background: #5F259F !important;
  color: #FFFFFF !important;
}
