/* ================================================================
   BALANCE MEDICAL CENTER — CSS v4.1
   Replica exacta del diseno Tailwind/Manrope proporcionado
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --p:    #137fec;
  --p90:  rgba(19,127,236,0.9);
  --p10:  rgba(19,127,236,0.1);
  --p20:  rgba(19,127,236,0.2);
  --g:    #10b981;
  --r:    #ef4444;
  --o:    #f59e0b;
  --bg:   #f6f7f8;
  --wh:   #ffffff;
  --txt:  #0d141b;
  --mu:   #4c739a;
  --brd:  #e7edf3;
  --fn:   'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* -- scope reset -- */
.bmc-login-page *, .bmc-login-page *::before, .bmc-login-page *::after,
.bmc-portal *, .bmc-portal *::before, .bmc-portal *::after {
  box-sizing: border-box;
}
.bmc-login-page, .bmc-portal {
  font-family: var(--fn);
  color: var(--txt);
  font-size: 14px;
  line-height: 1.5;
}

/* ================================================================
   LOGIN PAGE  (replica del HTML con split left/right)
   ================================================================ */
.bmc-login-page {
  display: flex;
  min-height: 100vh;
  margin: -40px -24px;          /* salir del padding del tema */
  background: #fff;
}

/* Panel izquierdo — gradiente */
.bmc-lp-left {
  display: none;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #137fec 0%, #10b981 100%);
  align-items: center;
  justify-content: center;
  padding: 48px;
}
@media (min-width: 1024px) { .bmc-lp-left { display: flex; width: 50%; } }

.bmc-lp-blob1 {
  position: absolute; top: -10%; right: -10%;
  width: 24rem; height: 24rem;
  background: rgba(255,255,255,0.1);
  border-radius: 50%; filter: blur(48px);
}
.bmc-lp-blob2 {
  position: absolute; bottom: -5%; left: -5%;
  width: 16rem; height: 16rem;
  background: rgba(16,185,129,0.2);
  border-radius: 50%; filter: blur(32px);
}
.bmc-lp-left-inner { position: relative; z-index: 1; max-width: 440px; }

.bmc-lp-brand-box {
  display: inline-flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 16px 20px;
  border-radius: 16px;
  margin-bottom: 48px;
}
.bmc-lp-brand-name { font-size: 1.25rem; font-weight: 900; color: #fff; }
.bmc-lp-brand-sub  { font-size: 0.8rem;  color: rgba(255,255,255,0.8); margin-top: 2px; }

.bmc-lp-headline {
  font-size: 2.2rem; font-weight: 900; color: #fff;
  line-height: 1.2; margin-bottom: 20px;
}
.bmc-lp-desc {
  font-size: 1rem; color: rgba(255,255,255,0.9);
  line-height: 1.75; margin-bottom: 28px;
}
.bmc-lp-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bmc-lp-feat {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 16px; border-radius: 12px;
  color: #fff; font-weight: 700; font-size: 0.84rem;
}

/* Panel derecho — formulario */
.bmc-lp-right {
  flex: 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 48px;
}
.bmc-lp-form-wrap { width: 100%; max-width: 400px; }

.bmc-lp-mobile-logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 40px;
  font-weight: 700; font-size: 1.1rem;
}
@media (min-width: 1024px) { .bmc-lp-mobile-logo { display: none; } }

.bmc-lp-title    { font-size: 1.75rem; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 6px; }
.bmc-lp-subtitle { font-size: 0.88rem; color: var(--mu); font-weight: 500; margin-bottom: 28px; }

/* Alertas */
.bmc-alert {
  padding: 11px 14px; border-radius: 10px;
  font-size: 0.84rem; font-weight: 500; margin-bottom: 16px;
}
.bmc-alert-error { background: #fee2e2; color: #dc2626; border-left: 3px solid var(--r); }
.bmc-alert-warn  { background: #fef3c7; color: #92400e; border-left: 3px solid var(--o); }
.bmc-alert-ok    { background: #dcfce7; color: #15803d; border-left: 3px solid var(--g); }

/* Campos login */
.bmc-lp-form { display: flex; flex-direction: column; gap: 20px; }
.bmc-lp-field label {
  display: block; font-size: 0.84rem; font-weight: 700;
  color: var(--txt); margin-bottom: 6px;
}
.bmc-lp-input-wrap { position: relative; }
.bmc-lp-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  pointer-events: none;
}
.bmc-lp-input-wrap input {
  width: 100%; padding: 13px 44px;
  background: #f0f4f8; border: none; border-radius: 12px;
  font-family: var(--fn); font-size: 0.88rem; color: var(--txt);
  outline: none; transition: box-shadow 0.15s;
}
.bmc-lp-input-wrap input:focus {
  box-shadow: 0 0 0 2px rgba(19,127,236,0.2);
}
.bmc-lp-eye {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; padding: 0;
}

.bmc-lp-row {
  display: flex; justify-content: space-between;
  align-items: center; margin-top: -6px;
}
.bmc-lp-check {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.84rem; color: var(--mu); font-weight: 500; cursor: pointer;
}
.bmc-lp-check:hover { color: var(--txt); }
.bmc-lp-forgot {
  font-size: 0.84rem; font-weight: 700; color: var(--p);
  text-decoration: none;
}
.bmc-lp-forgot:hover { text-decoration: underline; }

.bmc-lp-submit {
  width: 100%; padding: 15px;
  background: var(--p); color: #fff;
  border: none; border-radius: 12px;
  font-family: var(--fn); font-size: 1rem; font-weight: 700;
  cursor: pointer; display: flex; align-items: center;
  justify-content: center; gap: 8px;
  box-shadow: 0 4px 20px rgba(19,127,236,0.25);
  transition: background 0.15s, transform 0.1s;
}
.bmc-lp-submit:hover  { background: #0d63c0; transform: scaleY(1.01); }
.bmc-lp-submit:active { transform: scaleY(0.99); }

.bmc-lp-divider {
  margin: 40px 0 16px;
  padding-top: 28px;
  border-top: 1px solid var(--brd);
  text-align: center;
  font-size: 0.84rem; color: var(--mu); font-weight: 500;
}
.bmc-lp-actions {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
}
.bmc-lp-action-btn-outline {
  padding: 9px 20px;
  border: 1.5px solid rgba(19,127,236,0.25);
  color: var(--p); border-radius: 8px;
  font-size: 0.84rem; font-weight: 700;
  text-decoration: none; transition: background 0.15s;
}
.bmc-lp-action-btn-outline:hover { background: var(--p10); }
.bmc-lp-action-btn-ghost {
  padding: 9px 16px; color: var(--mu);
  font-size: 0.84rem; font-weight: 700;
  text-decoration: none; border-radius: 8px; transition: color 0.15s;
}
.bmc-lp-action-btn-ghost:hover { color: var(--txt); }
.bmc-lp-copyright {
  margin-top: 36px; text-align: center;
  font-size: 0.65rem; font-weight: 700;
  color: var(--mu); text-transform: uppercase; letter-spacing: 0.08em;
}

/* ================================================================
   PORTAL — TOP BAR
   ================================================================ */
.bmc-portal { background: var(--bg); min-height: 100vh; }

.bmc-topbar {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--brd);
  padding: 0 16px 0 40px;
  height: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
@media (max-width: 768px) { .bmc-topbar { padding: 0 12px; } }

.bmc-topbar-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 0.94rem; flex-shrink: 0;
}
.bmc-topbar-nav {
  display: flex; align-items: center; gap: 28px;
}
.bmc-topbar-nav a {
  font-size: 0.84rem; font-weight: 600; color: var(--mu);
  text-decoration: none; transition: color 0.15s;
  padding-bottom: 2px; border-bottom: 2px solid transparent;
}
.bmc-topbar-nav a:hover { color: var(--p); }
.bmc-nav-on { color: var(--p) !important; border-bottom-color: var(--p) !important; }
@media (max-width: 900px) { .bmc-topbar-nav { display: none; } }

.bmc-topbar-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.bmc-topbar-user  { display: flex; align-items: center; gap: 10px; }
.bmc-topbar-user-text strong { display: block; font-size: 0.75rem; font-weight: 700; }
.bmc-topbar-user-text span   { display: block; font-size: 0.65rem; color: var(--mu); }
.bmc-topbar-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--p), var(--g));
  color: #fff; font-weight: 900; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--p20); flex-shrink: 0;
}
.bmc-topbar-pill {
  padding: 5px 12px; border-radius: 7px; border: 1px solid var(--brd);
  font-size: 0.75rem; font-weight: 600; color: var(--mu);
  text-decoration: none; transition: all 0.15s;
}
.bmc-topbar-pill:hover { color: var(--txt); background: var(--bg); }

/* ================================================================
   PORTAL — LAYOUT
   ================================================================ */
.bmc-body {
  display: flex;
  height: calc(100vh - 56px);
  overflow: hidden;
}

/* Sidebar */
.bmc-sidebar {
  width: 240px; flex-shrink: 0;
  background: #fff; border-right: 1px solid var(--brd);
  padding: 20px 16px;
  display: flex; flex-direction: column; gap: 0;
  overflow-y: auto;
}
@media (max-width: 900px) { .bmc-sidebar { display: none; } }

.bmc-sb-section  { margin-bottom: 24px; }
.bmc-sb-label {
  font-size: 0.67rem; font-weight: 800; color: var(--mu);
  text-transform: uppercase; letter-spacing: 0.07em;
  margin-bottom: 8px; padding: 0 8px;
}
.bmc-sb-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 8px;
  font-size: 0.84rem; font-weight: 600; color: var(--txt);
  text-decoration: none; transition: background 0.12s;
}
.bmc-sb-item:hover { background: #f8fafc; color: var(--p); }
.bmc-sb-on { background: var(--p10) !important; color: var(--p) !important; }

.bmc-sb-pdf {
  margin-top: auto; display: flex; align-items: center;
  justify-content: center; gap: 8px; padding: 11px;
  background: var(--p); color: #fff !important;
  text-decoration: none !important; border-radius: 10px;
  font-size: 0.84rem; font-weight: 700;
  box-shadow: 0 4px 12px rgba(19,127,236,0.3);
  transition: background 0.15s;
}
.bmc-sb-pdf:hover { background: #0d63c0; }

.bmc-sb-admin {
  margin-top: 10px;
  display: flex; flex-direction: column; gap: 6px;
}
.bmc-sb-admin a {
  display: block; padding: 7px 10px; border-radius: 7px;
  border: 1px solid var(--brd); text-align: center;
  font-size: 0.75rem; color: var(--mu); text-decoration: none;
  transition: all 0.12s;
}
.bmc-sb-admin a:hover { color: var(--p); border-color: var(--p); }

/* Main */
.bmc-main {
  flex: 1; overflow-y: auto;
  padding: 24px 32px;
  background: var(--bg);
}
@media (max-width: 900px) { .bmc-main { padding: 18px 14px; } }

/* ================================================================
   PORTAL — ELEMENTOS COMUNES
   ================================================================ */
.bmc-main-head {
  display: flex; justify-content: space-between;
  align-items: flex-start; flex-wrap: wrap;
  gap: 12px; margin-bottom: 20px;
}
.bmc-main-head h1 { font-size: 1.6rem; font-weight: 900; letter-spacing: -0.02em; margin: 0; }
.bmc-main-head p  { font-size: 0.84rem; color: var(--mu); font-weight: 500; margin: 3px 0 0; }

.bmc-badge-active {
  padding: 4px 12px; background: #dcfce7; color: #15803d;
  font-size: 0.68rem; font-weight: 800; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap;
}
.bmc-btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; background: var(--p); color: #fff !important;
  text-decoration: none !important; border-radius: 8px;
  font-size: 0.84rem; font-weight: 700; border: none; cursor: pointer;
  transition: background 0.15s;
}
.bmc-btn-primary:hover { background: #0d63c0; }
.bmc-btn-outline {
  padding: 8px 16px; border: 1.5px solid var(--p);
  color: var(--p) !important; text-decoration: none !important;
  border-radius: 8px; font-size: 0.82rem; font-weight: 700;
  transition: background 0.15s;
}
.bmc-btn-outline:hover { background: var(--p10); }

/* Tarjeta paciente */
.bmc-patient-card {
  background: #fff; border: 1px solid var(--brd);
  border-radius: 12px; padding: 20px; margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.bmc-pc-avatar {
  width: 80px; height: 80px; border-radius: 12px;
  background: #f1f5f9; border: 1px solid var(--brd);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.bmc-pc-grid {
  flex: 1; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media (max-width: 900px) { .bmc-pc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px)  { .bmc-pc-grid { grid-template-columns: 1fr; } }
.bmc-pc-label  { font-size: 0.65rem; font-weight: 700; color: var(--mu); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.bmc-pc-val    { font-size: 1.05rem; font-weight: 800; }
.bmc-pc-sub    { font-size: 0.75rem; color: var(--mu); margin-top: 3px; }
.bmc-pc-actions{ display: flex; align-items: center; justify-content: flex-end; }

/* Graficas */
.bmc-charts-row {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 16px; margin-bottom: 20px;
}
@media (max-width: 1100px) { .bmc-charts-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px)  { .bmc-charts-row { grid-template-columns: 1fr; } }

.bmc-chart-card {
  background: #fff; border: 1px solid var(--brd);
  border-radius: 12px; padding: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.bmc-chart-top  { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.bmc-chart-ttl  { font-weight: 700; font-size: 0.84rem; }
.bmc-chart-meta { font-size: 0.68rem; color: var(--mu); font-weight: 700; }
.bmc-chart-leg  { display: flex; gap: 8px; align-items: center; }
.bmc-leg-dot    { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.bmc-chart-leg span:not(.bmc-leg-dot) { font-size: 0.65rem; font-weight: 700; color: var(--mu); }

/* Fila contenido: tabla + observaciones */
.bmc-content-row {
  display: grid; grid-template-columns: 3fr 1fr;
  gap: 16px; margin-bottom: 20px;
}
@media (max-width: 900px) { .bmc-content-row { grid-template-columns: 1fr; } }

/* Tabla */
.bmc-table-card {
  background: #fff; border: 1px solid var(--brd);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.bmc-table-card-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px; border-bottom: 1px solid var(--brd);
  font-weight: 700; font-size: 0.88rem;
}
.bmc-table-card-head a {
  font-size: 0.8rem; font-weight: 700; color: var(--p);
  text-decoration: none;
}
.bmc-table-card-head a:hover { text-decoration: underline; }
.bmc-scroll { overflow-x: auto; }
.bmc-tbl { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.bmc-tbl thead th {
  background: #f8fafc; color: var(--mu); font-weight: 700;
  font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 9px 20px; text-align: left; border-bottom: 1px solid var(--brd);
  white-space: nowrap;
}
.bmc-tbl tbody tr { border-bottom: 1px solid var(--brd); transition: background 0.1s; }
.bmc-tbl tbody tr:hover { background: #f8fafc; }
.bmc-tbl tbody tr:last-child { border-bottom: none; }
.bmc-tbl tbody td { padding: 14px 20px; vertical-align: middle; }
.bmc-tr { text-align: right; }

.bmc-eva-badge { padding: 2px 9px; border-radius: 20px; font-weight: 700; font-size: 0.78rem; display: inline-block; }
.bmc-eva-g     { background: #dcfce7; color: #15803d; }
.bmc-eva-y     { background: #fef9c3; color: #854d0e; }
.bmc-eva-r     { background: #fee2e2; color: #dc2626; }

.bmc-row-acts { display: flex; justify-content: flex-end; gap: 6px; align-items: center; }
.bmc-act-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 6px;
  background: #f1f5f9; border: none; cursor: pointer;
  color: var(--mu); text-decoration: none; transition: all 0.12s;
}
.bmc-act-btn:hover     { background: var(--p); color: #fff !important; }
.bmc-act-del:hover     { background: var(--r) !important; }
.bmc-act-pdf           { width: auto; padding: 0 8px; font-size: 0.72rem; font-weight: 700; }

/* Observaciones */
.bmc-obs-card {
  background: #fff; border: 1px solid var(--brd);
  border-radius: 12px; padding: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  display: flex; flex-direction: column; gap: 14px;
}
.bmc-obs-head {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 0.84rem; color: var(--p);
}
.bmc-obs-note {
  padding: 12px; background: #f8fafc;
  border-radius: 8px; border-left: 4px solid var(--p);
}
.bmc-obs-date { font-size: 0.62rem; font-weight: 800; color: var(--mu); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.bmc-obs-note p { font-size: 0.8rem; line-height: 1.6; font-style: italic; }
.bmc-obs-empty { font-size: 0.8rem; color: var(--mu); }
.bmc-obs-action-area { margin-top: auto; }
.bmc-obs-new-btn {
  display: block; text-align: center; padding: 9px 14px;
  border: 1.5px dashed var(--brd); border-radius: 8px;
  font-size: 0.8rem; font-weight: 600; color: var(--mu);
  text-decoration: none; transition: all 0.15s;
}
.bmc-obs-new-btn:hover { border-color: var(--p); color: var(--p); background: var(--p10); }

/* PDF movil */
.bmc-pdf-mobile {
  display: none; margin-top: 16px;
  padding: 14px 20px; border-radius: 12px;
  background: var(--p); color: #fff !important;
  text-decoration: none !important;
  font-size: 0.9rem; font-weight: 700;
  align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 4px 12px rgba(19,127,236,0.35);
}
@media (max-width: 900px) { .bmc-pdf-mobile { display: flex; } }

/* Empty */
.bmc-empty { padding: 24px; color: var(--mu); font-size: 0.84rem; }
.bmc-empty a { color: var(--p); }
.bmc-empty-state { text-align: center; padding: 60px 20px; }
.bmc-empty-state p { color: var(--mu); font-size: 0.9rem; }

/* ================================================================
   FORMULARIO DE EVALUACION
   ================================================================ */
.bmc-eval-form { display: flex; flex-direction: column; gap: 16px; }

.bmc-ef-card {
  background: #fff; border: 1px solid var(--brd);
  border-radius: 12px; padding: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.bmc-ef-title {
  font-size: 0.88rem; font-weight: 800; color: var(--p);
  margin-bottom: 16px; letter-spacing: 0.01em;
}

.bmc-ef-grid { display: grid; gap: 14px 18px; }
.bmc-ef-2col  { grid-template-columns: 1fr 1fr; }
.bmc-ef-4col  { grid-template-columns: repeat(4, 1fr); }
.bmc-ef-full  { grid-column: 1 / -1; }
@media (max-width: 900px) { .bmc-ef-4col { grid-template-columns: 1fr 1fr; } }
@media (max-width: 550px)  { .bmc-ef-2col, .bmc-ef-4col { grid-template-columns: 1fr; } }

.bmc-ef-field { display: flex; flex-direction: column; gap: 5px; }
.bmc-ef-field label {
  font-size: 0.72rem; font-weight: 700; color: var(--mu);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.bmc-ef-field input,
.bmc-ef-field select,
.bmc-ef-field textarea {
  padding: 10px 13px; border: 1.5px solid var(--brd);
  border-radius: 9px; font-family: var(--fn);
  font-size: 0.88rem; color: var(--txt); background: #fff;
  outline: none; transition: border-color 0.15s;
  width: 100%;
}
.bmc-ef-field input:focus,
.bmc-ef-field textarea:focus,
.bmc-ef-field select:focus {
  border-color: var(--p);
  box-shadow: 0 0 0 3px rgba(19,127,236,0.1);
}
.bmc-ef-field textarea { resize: vertical; }
.bmc-ef-readonly { background: var(--bg) !important; color: var(--mu) !important; cursor: default; }
.bmc-ef-hint { font-size: 0.7rem; color: var(--mu); margin-top: 2px; }
.bmc-req { color: var(--r); }

/* Slider EVA */
.bmc-eva-wrap {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
}
.bmc-eva-wrap input[type=range] {
  flex: 1; -webkit-appearance: none; appearance: none;
  height: 6px; border-radius: 3px; padding: 0;
  background: linear-gradient(to right, #22c55e 0%, #f59e0b 50%, #ef4444 100%);
  border: none; outline: none; cursor: pointer;
}
.bmc-eva-wrap input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px;
  border-radius: 50%; background: #fff;
  border: 3px solid var(--p); cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.bmc-eva-wrap input[type=range]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 3px solid var(--p); cursor: pointer;
}
.bmc-eva-lo, .bmc-eva-hi { font-size: 0.75rem; color: var(--mu); font-weight: 700; white-space: nowrap; }
.bmc-eva-num  { font-size: 1.4rem; font-weight: 900; color: var(--p); min-width: 2ch; text-align: center; }
.bmc-eva-unit { font-size: 0.8rem; color: var(--mu); font-weight: 600; }

/* Footer formulario */
.bmc-ef-footer {
  display: flex; align-items: center; gap: 12px;
  padding-top: 4px;
}
.bmc-ef-submit {
  padding: 12px 32px; background: var(--p); color: #fff;
  border: none; border-radius: 10px; font-family: var(--fn);
  font-size: 0.9rem; font-weight: 700; cursor: pointer;
  box-shadow: 0 2px 8px rgba(19,127,236,0.25); transition: background 0.15s;
}
.bmc-ef-submit:hover { background: #0d63c0; }
.bmc-ef-cancel {
  font-size: 0.84rem; font-weight: 600; color: var(--mu);
  text-decoration: none; padding: 12px 14px;
  border-radius: 10px; border: 1.5px solid var(--brd); transition: all 0.15s;
}
.bmc-ef-cancel:hover { color: var(--txt); background: var(--bg); }

/* ================================================================
   RESPONSIVE EXTRA
   ================================================================ */
@media (max-width: 640px) {
  .bmc-login-page { margin: -20px -10px; }
  .bmc-lp-right   { padding: 24px 20px; }
  .bmc-topbar     { height: 52px; }
  .bmc-body       { height: calc(100vh - 52px); }
  .bmc-main-head h1 { font-size: 1.3rem; }
}
