/* Monlodent - Estilos específicos para Login Split Screen con Video */
.login-wrapper {
  display: flex;
  min-height: 100vh;
  width: 100vw;
  position: fixed;
  inset: 0;
  z-index: 50;
  background: #ffffff;
}

/* Lado Izquierdo: Fondo Blanco Limpio, Formulario al centro */
.login-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 40px 30px;
  max-width: 540px;
  min-width: 380px;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.04);
  z-index: 2;
}

:root[data-theme="dark"] .login-left {
  background: var(--panel);
}

.login-card {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
}

.login-header {
  margin-bottom: 28px;
}

.login-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.logo-circle {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.4px;
}

.login-header h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.login-header .sub {
  font-size: 13px;
  color: var(--ink-2);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.login-form .field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
}

.btn-login {
  width: 100%;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-login .arrow {
  transition: transform 0.15s ease;
}

.btn-login:hover .arrow {
  transform: translateX(4px);
}

.video-switcher {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-3);
}

.btn-chip {
  background: var(--bg);
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-chip.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.login-footer {
  margin-top: 36px;
  font-size: 11px;
  color: var(--ink-3);
  text-align: center;
}

/* Lado Derecho: Video */
.login-right {
  flex: 2;
  position: relative;
  overflow: hidden;
  background: #000;
}

.video-element {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.75) 100%);
  display: flex;
  align-items: flex-end;
  padding: 50px;
  z-index: 1;
}

.video-caption {
  max-width: 520px;
  color: #ffffff;
}

.video-caption h3 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.video-caption p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

@media (max-width: 860px) {
  .login-wrapper {
    flex-direction: column-reverse;
  }
  .login-right {
    flex: 1;
    min-height: 240px;
  }
  .login-left {
    max-width: 100%;
    min-width: 100%;
    flex: none;
  }
  .video-caption {
    display: none;
  }
}
