:root {
  --santander-red: #ec0000;
  --santander-red-dark: #cc0000;
  --text-dark: #222222;
  --text-muted: #666666;
  --border-color: #d1d1d1;
  --bg-disabled: #cccccc;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  min-height: 100vh;
}

.top-bar {
  height: 4px;
  background: var(--santander-red);
}

.layout {
  display: flex;
  min-height: calc(100vh - 4px);
}

/* ---------- COLUMNA IZQUIERDA (BANNER Y SUPERPOSICIÓN) ---------- */
.banner {
  flex: 0 0 32%;
  max-width: 440px;
  min-width: 320px;
  position: relative;
  background: #f4f4f4;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.banner-base {
  width: 100%;
  height: 100%;
}

.img-base {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.img-overlay {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ---------- COLUMNA DERECHA ---------- */
.content {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 0 80px;
}

.content-inner {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  padding: 40px 0 30px;
}

/* ENCABEZADO Y LOGO */
header.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.logo-container {
  display: flex;
  align-items: center;
  max-width: 220px;
  max-height: 50px;
}

.logo-img {
  max-width: 100%;
  max-height: 50px;
  object-fit: contain;
}

.header-link {
  color: var(--santander-red); /* Rojo idéntico a la imagen */
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
}

.header-link:hover {
  text-decoration: none;
}

/* FORMULARIO Y TÍTULOS */
.welcome-title {
  font-size: 32px;
  font-weight: 300;
  color: #333333;
  margin-bottom: 2px;
  line-height: 1.2;
}

.brand-title {
  font-size: 32px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 55px;
  line-height: 1.2;
}

.form-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 12px;
}

.input-group {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 14px 16px;
  background: var(--white);
  transition: border-color 0.15s;
}

.input-group:focus-within {
  border-color: #666666;
}

.form-input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-dark);
}

.form-input::placeholder {
  color: #757575;
}

.btn-submit {
  margin-top: 22px;
  width: 180px;
  padding: 11px 0;
  background: var(--bg-disabled);
  color: #ffffff;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: not-allowed;
  transition: background 0.2s;
}

.btn-submit:enabled {
  background: var(--santander-red);
  color: var(--white);
  cursor: pointer;
}

.btn-submit:enabled:hover {
  background: var(--santander-red-dark);
}

/* AVISO DE SEGURIDAD */
.security-notice {
  margin-top: 55px;
}

.warning-title {
  font-size: 13px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 4px;
}

.warning-description {
  font-size: 12px;
  color: #555555;
  line-height: 1.45;
}

/* PIE DE PÁGINA (DERECHOS RESERVADOS EXACTO A LA IMAGEN) */
footer.form-footer {
  margin-top: 45px;
  border-top: none;
  padding-top: 0;
}

.copyright-text {
  font-size: 12px;
  color: #666666;
  line-height: 1.5;
  font-weight: 400; /* Quita el grosor o estilo "raro" de la letra */
}

.copyright-text a {
  color: #666666;
  font-weight: 700;
  text-decoration: none;
}

.copyright-text a:hover {
  text-decoration: underline;
}

@media (max-width: 850px) {
  .layout {
    flex-direction: column;
  }
  .banner {
    max-width: 100%;
    min-width: 100%;
    height: 380px;
  }
  .content {
    padding: 0 20px;
  }
  .content-inner {
    max-width: 100%;
  }
}