/* login-mbvc.css — login de mbvc.com.mx con el molde del login de giccd.com.mx (siac/trace.php + login-styles_v3.css).
   reelid-mx/mbvc#3 (30-sep-2026). Todo con prefijo mb- para no chocar con los CSS del framework que cargan header/front/menu. */

html, body { min-height: 100%; }
body { display: block !important; margin: 0 !important; background: #13253a !important; color: #eef2f7 !important;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif !important; overflow-x: hidden; }

/* Fondo: video con velo navy */
.mb-bg-video { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.mb-bg-velo { position: fixed; inset: 0; background: rgba(15,27,42,.62); z-index: 1; }

/* Pleca superior */
.mb-pleca-top { position: fixed; top: 0; left: 0; right: 0; height: 70px; z-index: 50; background: #13253a;
  display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100% - 1140px) / 2)); box-sizing: border-box; }
.mb-marca { display: inline-flex; align-items: center; text-decoration: none; }
.mb-marca img { height: 46px; width: auto; display: block; }
.mb-rotulo { color: #ffffff; font-size: .95rem; font-weight: 600; }

/* Contenido: marca a la izquierda, tarjeta de cristal a la derecha */
.mb-main { position: relative; z-index: 10; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 110px 16px 70px; box-sizing: border-box; }
.mb-login { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); column-gap: 48px; width: 100%; max-width: 1040px; align-items: start; }
.mb-brand { color: #ffffff; padding: 28px 8px 0; }
.mb-kicker { margin: 0 0 12px; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: #e3b04b; }
.mb-titulo { margin: 0; font-size: 3rem; line-height: 1.08; font-weight: 700; color: #ffffff; }
.mb-frase { margin: 20px 0 0; font-size: 1.05rem; font-style: italic; color: #d5dfeb; }

.mb-card { background: rgba(255,255,255,.10); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.18); border-radius: 16px; padding: 32px 36px 24px; box-sizing: border-box; }
.mb-card-titulo { margin: 0 0 4px; font-size: 1.5rem; font-weight: 600; color: #ffffff; text-align: left !important; }
.mb-card-sub { margin: 0 0 14px; font-size: .85rem; color: #c9d6e5; text-align: left !important; }

.mb-card form { margin: 0; }
.mb-card label { display: block; margin: 12px 0 6px; font-size: .78rem; color: #c9d6e5; font-weight: 600; }
.mb-input { width: 100%; box-sizing: border-box; height: 44px; padding: 0 14px; font-size: .95rem;
  background: rgba(19,37,58,.85) !important; color: #eef2f7 !important; border: 1px solid rgba(230,185,92,.45) !important; border-radius: 8px !important; outline: none; }
.mb-input::placeholder { color: rgba(238,242,247,.55); }
.mb-input:focus { border-color: #e6b95c !important; box-shadow: 0 0 0 3px rgba(230,185,92,.2); }
.mb-card .was-validated .mb-input:invalid { border-color: #f0a35c !important; }

.mb-pass { position: relative; }
.mb-pass .mb-input { padding-right: 48px; }
.mb-ojo { position: absolute; top: 0; right: 0; width: 44px; height: 44px; border: none; background: transparent; color: #e6b95c; cursor: pointer; font-size: 1rem; }
.mb-ojo:hover { color: #ffffff; }

.mb-opciones { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 14px 0 18px; font-size: .8rem; }
.mb-card .mb-recordar { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 400; color: #c9d6e5; cursor: pointer; }
.mb-recordar input { accent-color: #e6b95c; width: 16px; height: 16px; }
.mb-opciones a { color: rgba(230,185,92,.9); text-decoration: none; border-bottom: 1px dotted rgba(230,185,92,.5); }
.mb-opciones a:hover { color: #e6b95c; }

.mb-btn { width: 100%; height: 46px; background: #13253a; color: #eef2f7; border: 1px solid #e6b95c; border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,.3); font-size: 1rem; font-weight: 600; letter-spacing: .02em; cursor: pointer; transition: background .15s, color .15s; }
.mb-btn:hover { background: rgba(230,185,92,.18); color: #e6b95c; }
.mb-btn[disabled] { opacity: .7; cursor: wait; }

.mb-error { margin-top: 10px; padding: 9px 12px; border: 1px solid rgba(240,163,92,.6); border-left: 3px solid #f0a35c; border-radius: 8px;
  background: rgba(240,163,92,.1); color: #ffd9b3; font-size: 13px; text-align: left; }
.mb-error[hidden] { display: none; }

.mb-nota { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.18); font-size: .72rem; color: #b9c6d6; text-align: center; }
.mb-policy { color: rgba(230,185,92,.85); text-decoration: none; border-bottom: 1px dotted rgba(230,185,92,.5); font-size: 12px; }
.mb-policy:hover { color: #e6b95c; border-bottom-color: #e6b95c; }
.mb-help { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-left: 6px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(230,185,92,.6); background: transparent; color: #e6b95c; font-size: 11px; font-weight: 700; line-height: 1; cursor: pointer; vertical-align: middle; }
.mb-help:hover { background: rgba(230,185,92,.18); }

/* Modal de políticas */
.mb-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(5,12,22,.75); backdrop-filter: blur(4px); }
.mb-modal[hidden] { display: none; }
.mb-modal-box { width: 100%; max-width: 480px; background: rgba(19,37,58,.97); border: 1px solid rgba(230,185,92,.35); border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6); color: #eef2f7; padding: 22px 24px; box-sizing: border-box; }
.mb-modal-titulo { margin: 0 0 14px; padding-bottom: 10px; color: #e6b95c; border-bottom: 2px solid #e6b95c; letter-spacing: .08em; font-size: .95em; font-weight: 700; text-align: center; }
.mb-modal-box ul { list-style: none; padding: 0; margin: 0 0 14px; }
.mb-modal-box li { padding: 6px 0 6px 12px; border-left: 2px solid rgba(230,185,92,.5); margin-bottom: 4px; font-size: .88rem; }
.mb-modal-box strong { color: #e6b95c; }
.mb-modal-botones { display: flex; justify-content: center; }
.mb-modal-botones button { background: rgba(230,185,92,.18); color: #e6b95c; border: 1px solid #e6b95c; border-radius: 8px; padding: 8px 22px; font-weight: 600; cursor: pointer; }
.mb-modal-botones button:hover { background: rgba(230,185,92,.28); }

/* Pleca inferior: © y fecha/hora */
.mb-pleca-bottom { position: fixed; bottom: 0; left: 0; right: 0; height: 34px; z-index: 50; background: rgba(19,37,58,.92); color: #b9c6d6;
  font-size: .75rem; display: flex; align-items: center; justify-content: space-between; padding: 0 max(20px, calc((100% - 1140px) / 2)); box-sizing: border-box; }

/* Celular: una columna, marca arriba y tarjeta abajo */
@media (max-width: 820px) {
  .mb-login { grid-template-columns: 1fr; row-gap: 18px; }
  .mb-brand { padding: 0 8px; text-align: center; }
  .mb-kicker { font-size: .7rem; letter-spacing: .12em; margin-bottom: 8px; }
  .mb-titulo { font-size: 2rem; line-height: 1.2; }
  .mb-frase { font-size: .9rem; margin-top: 8px; }
  .mb-card { padding: 22px 20px 18px; }
  .mb-card-titulo { font-size: 1.25rem; }
  .mb-main { padding: 90px 12px 60px; }
  .mb-pleca-top { height: 60px; padding: 0 14px; }
  .mb-rotulo { display: none; }
  .mb-input { font-size: 16px; }
  .mb-fecha { display: none; }
  .mb-pleca-bottom { justify-content: center; }
}
