:root {
  --odoo-primary: #875A7B;
  --odoo-primary-hover: #704b68;
  --odoo-bg-soft: #f6f6f8;
  --odoo-border: #e5e7eb;
  --odoo-text: #3a3a3a;
  --odoo-muted: #6b7280;
}

/* === ESTRUCTURA GENERAL === */
body.odoo-body {
  background-color: var(--odoo-bg-soft);
  color: var(--odoo-text);
  font-family: "Inter", "Segoe UI", sans-serif;
}

/* === NAVBAR === */
.odoo-navbar {
  background-color: #fff;
  border-bottom: 1px solid var(--odoo-border);
}

.nav-odoo .nav-link {
  color: var(--odoo-text);
  font-weight: 500;
  padding: .75rem 1rem;
  border-radius: .5rem;
  position: relative;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-odoo .nav-link:hover {
  color: var(--odoo-primary);
  background-color: rgba(135,90,123,0.08);
}

.nav-odoo .nav-link.active {
  color: var(--odoo-primary);
  background-color: transparent;
}

.nav-odoo .nav-link.active::after {
  content: "";
  position: absolute;
  left: .75rem;
  right: .75rem;
  bottom: .4rem;
  height: 3px;
  border-radius: 2px;
  background-color: var(--odoo-primary);
}

/* === DROPDOWNS === */
.dropdown-menu {
  border: 1px solid var(--odoo-border);
  border-radius: .6rem;
}

.dropdown-item:hover {
  background-color: rgba(135,90,123,0.08);
  color: var(--odoo-primary);
}

/* === AVATAR === */
.avatar-circle {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--odoo-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.85rem;
}

/* === FOOTER === */
.odoo-footer {
  background: #fff;
  border-top: 1px solid var(--odoo-border);
  color: var(--odoo-muted);
}

/* === BOTONES PERSONALIZADOS === */
.btn-odoo {
  background-color: var(--odoo-primary);
  border: none;
  color: #fff;
  font-weight: 500;
}
.btn-odoo:hover {
  background-color: var(--odoo-primary-hover);
}

/* === FORMULARIOS === */
.form-control:focus {
  border-color: var(--odoo-primary);
  box-shadow: 0 0 0 0.2rem rgba(135,90,123,0.25);
}

/* === TABLAS Y TARJETAS === */
.card {
  border: 1px solid var(--odoo-border);
  border-radius: .75rem;
}
.table thead {
  background-color: var(--odoo-bg-soft);
  color: var(--odoo-text);
  border-bottom: 2px solid var(--odoo-border);
}
.table-hover tbody tr:hover {
  background-color: rgba(135,90,123,0.06);
}

/* === ENLACES === */
a {
  color: var(--odoo-primary);
  text-decoration: none;
}
a:hover {
  color: var(--odoo-primary-hover);
}






/* Estilo Odoo Small */
.bg-odoo-light {
  background-color: #f7f8fa;
}

.btn-odoo {
  background-color: #875A7B;
  color: white;
  border: none;
  transition: all 0.2s ease-in-out;
}

.btn-odoo:hover {
  background-color: #744e69;
  color: #fff;
}

.text-odoo {
  color: #875A7B !important;
}

.form-control-sm,
.btn-sm,
.table-sm {
  font-size: 0.8rem;
}

.card-body {
  padding: 0.5rem !important;
}

.table-responsive-scroll {
  max-height: 400px;
  overflow-y: auto;
}

small, label, input, button, th, td {
  font-size: 0.8rem !important;
}


.table thead th {
  background-color: #f7f6fa;
  color: #5a4e69;
  font-weight: 600;
}

.alert-warning {
  background-color: #fff7e0;
  color: #856404;
  border: 1px solid #ffeeba;
}

.alert-danger {
  background-color: #f8d7da;
  color: #842029;
  border: 1px solid #f5c2c7;
}