/* Paleta de colores personalizada */
:root {
  --c-primary: #12B5C9;
  --c-accent: #FFA726;
  --c-text: #2B2F36;
  --c-light: #F3F6F9;
  --c-white: #FFFFFF;
  
  --ff-brand: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  --ff-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  
  --radius: 16px;
  --shadow: 0 6px 20px rgba(0,0,0,.06);
}

/* Header con nuevos colores */
#header.header {
  background: var(--c-white) !important;
  border-bottom: 1px solid #E8EEF5;
  box-shadow: var(--shadow) !important;
}

/* Logo text */
.logo a span {
  font-family: var(--ff-brand);
  color: var(--c-text);
}

/* Botones del header con color primario */
.main-nav .nav-link {
  background: transparent !important;
  color: var(--c-primary) !important;
  border: 2px solid var(--c-primary) !important;
  font-family: var(--ff-ui);
  font-weight: 500;
}

.main-nav .nav-link:hover {
  background: var(--c-primary) !important;
  color: var(--c-white) !important;
}

/* Botones de usuario */
.user-actions .btn:first-child {
  background: transparent !important;
  color: var(--c-primary) !important;
  border: 2px solid var(--c-primary) !important;
}

.user-actions .btn:first-child:hover {
  background: var(--c-primary) !important;
  color: var(--c-white) !important;
}

.user-actions .btn:last-child {
  background: var(--c-accent) !important;
  color: var(--c-white) !important;
  border: 2px solid var(--c-accent) !important;
}

.user-actions .btn:last-child:hover {
  background: transparent !important;
  color: var(--c-accent) !important;
}

/* Dropdown de usuario */
.nav-profile {
  background: rgba(18, 181, 201, 0.1) !important;
  border: 1px solid var(--c-primary) !important;
}

.nav-profile:hover {
  background: rgba(18, 181, 201, 0.2) !important;
}

.nav-profile i.bi-person-circle {
  color: var(--c-primary) !important;
}

/* Botones de filtro en All.cshtml */
.filter-btn.btn-outline-success {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.filter-btn.btn-outline-success:hover,
.filter-btn.btn-outline-success.active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: var(--c-white);
}

.filter-btn.btn-outline-danger {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

.filter-btn.btn-outline-danger:hover,
.filter-btn.btn-outline-danger.active {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-white);
}

.filter-btn.btn-outline-info {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.filter-btn.btn-outline-info:hover,
.filter-btn.btn-outline-info.active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: var(--c-white);
}

/* Cards */
.card {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: none;
}

/* Badges */
.badge.bg-primary {
  background: var(--c-primary) !important;
}

.badge.bg-info {
  background: var(--c-primary) !important;
}

.badge.bg-danger {
  background: var(--c-accent) !important;
}

/* Botones primarios */
.btn-primary {
  background: var(--c-primary) !important;
  border-color: var(--c-primary) !important;
}

.btn-primary:hover {
  background: #0fa3b5 !important;
  border-color: #0fa3b5 !important;
}

.btn-outline-primary {
  color: var(--c-primary) !important;
  border-color: var(--c-primary) !important;
}

.btn-outline-primary:hover {
  background: var(--c-primary) !important;
  border-color: var(--c-primary) !important;
  color: var(--c-white) !important;
}

/* Botones de acento */
.btn-success {
  background: var(--c-accent) !important;
  border-color: var(--c-accent) !important;
}

.btn-success:hover {
  background: #ff9800 !important;
  border-color: #ff9800 !important;
}

/* Headers de cards con gradiente */
.card-header {
  background: linear-gradient(135deg, var(--c-primary) 0%, #0fa3b5 100%) !important;
  border: none !important;
}

/* Textos */
body {
  font-family: var(--ff-ui);
  color: var(--c-text);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-brand);
  color: var(--c-text);
}

/* Background general */
body {
  background-color: var(--c-light) !important;
}

/* Links */
a {
  color: var(--c-primary);
}

a:hover {
  color: #0fa3b5;
}

/* Menú móvil */
.mobile-menu {
  background: var(--c-white) !important;
  border-top: 1px solid #E8EEF5;
}

.mobile-menu .nav-link {
  color: var(--c-text);
}

.mobile-menu .nav-link:hover,
.mobile-menu .nav-link.active {
  color: var(--c-primary);
  background: rgba(18, 181, 201, 0.1);
}

/* Form controls */
.form-control:focus,
.form-select:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 0.25rem rgba(18, 181, 201, 0.25);
}

/* Títulos con color primario */
.text-primary {
  color: var(--c-primary) !important;
}

.text-success {
  color: var(--c-accent) !important;
}

/* Footer */
.footer {
  background: var(--c-white);
  border-top: 1px solid #E8EEF5;
}
