/* Login Athanasiadis — panel + card (independiente de Empacadora/Melo) */
:root {
  --ath-blue: #003574;
  --ath-blue-soft: #0b4f8c;
  --ath-gold: #c4a574;
  --ath-panel: #eef2f6;
  --ath-card: #ffffff;
  --ath-line: rgba(0, 53, 116, 0.14);
  --ath-muted: #5c6b7a;
}

html,
body.login-athanasiadis {
  height: 100%;
  margin: 0;
}

body.login-athanasiadis {
  overflow: hidden;
  background: var(--ath-panel);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body.login-athanasiadis > .row {
  height: 100%;
  margin: 0;
}

body.login-athanasiadis > .row > .col-md-12 {
  height: 100%;
  padding: 0;
  text-align: left !important;
}

body.login-athanasiadis .contenido_log {
  display: flex;
  height: 100vh;
  width: 100%;
  margin: 0;
}

/* Marca / logo */
body.login-athanasiadis #my-pics {
  float: none !important;
  width: 62% !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(11, 79, 140, 0.08), transparent 55%),
    linear-gradient(160deg, #ffffff 0%, #f7f9fc 55%, #e8eef5 100%) !important;
  border-right: 1px solid var(--ath-line);
  position: relative;
}

body.login-athanasiadis #my-pics::after {
  content: "";
  position: absolute;
  top: 12%;
  bottom: 12%;
  right: 0;
  width: 3px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--ath-blue) 20%,
    var(--ath-gold) 50%,
    var(--ath-blue) 80%,
    transparent 100%
  );
  border-radius: 2px 0 0 2px;
  opacity: 0.85;
}

body.login-athanasiadis .ath-brand-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4% 6%;
}

body.login-athanasiadis .ath-brand-inner img.imagen_desin {
  width: min(72%, 640px);
  height: auto !important;
  max-height: 70vh;
  object-fit: contain;
  background: transparent !important;
}

/* Columna login */
body.login-athanasiadis .ath-auth-col {
  float: none !important;
  width: 38% !important;
  height: 100%;
  margin: 0;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, #f5f7fa 0%, #e9eef4 100%);
}

body.login-athanasiadis .ath-auth-card {
  width: min(88%, 380px);
  background: var(--ath-card);
  border: 1px solid var(--ath-line);
  border-radius: 14px;
  box-shadow:
    0 1px 2px rgba(0, 53, 116, 0.04),
    0 18px 40px rgba(0, 53, 116, 0.10);
  padding: 36px 32px 28px;
  text-align: center;
}

body.login-athanasiadis #img_card_session {
  margin-bottom: 8px;
  max-width: 168px;
  height: auto;
}

body.login-athanasiadis .ath-auth-kicker {
  margin: 0 0 22px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ath-muted);
}

body.login-athanasiadis .ath-auth-card > div[style*="text-align"] {
  text-align: center !important;
}

body.login-athanasiadis .action_login_form {
  width: 100% !important;
  margin: 0 !important;
  padding-top: 8px !important;
}

body.login-athanasiadis .content-form {
  text-align: left;
}

body.login-athanasiadis .content-form .lbl-email,
body.login-athanasiadis .content-form .lbl-clave {
  display: block;
  color: var(--ath-blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

body.login-athanasiadis .content-form #input-username,
body.login-athanasiadis .content-form #input-password {
  width: 100% !important;
  box-sizing: border-box;
  border: 1px solid #d5dde6 !important;
  border-radius: 8px !important;
  background: #fbfcfe !important;
  padding: 10px 12px !important;
  margin-bottom: 16px !important;
  height: auto !important;
  box-shadow: none !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.login-athanasiadis .content-form #input-username:focus,
body.login-athanasiadis .content-form #input-password:focus {
  border-color: var(--ath-blue-soft) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 53, 116, 0.12) !important;
  background: #fff !important;
}

body.login-athanasiadis .botones_login {
  padding-top: 6px !important;
}

body.login-athanasiadis #button_login {
  background: linear-gradient(180deg, var(--ath-blue-soft) 0%, var(--ath-blue) 100%) !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 11px 16px !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 18px rgba(0, 53, 116, 0.22);
}

body.login-athanasiadis #button_login:hover,
body.login-athanasiadis #button_login:focus {
  filter: brightness(1.05);
}

body.login-athanasiadis #btnOlvide {
  display: inline-block;
  margin-top: 14px;
  color: var(--ath-blue-soft);
  font-size: 13px;
}

body.login-athanasiadis #btnOlvide:hover {
  color: var(--ath-blue);
  text-decoration: underline;
}

body.login-athanasiadis > h6 {
  display: none;
}

body.login-athanasiadis .ath-version {
  margin-top: 18px;
  font-size: 11px;
  color: #9aa6b2;
}

/* Formularios secundarios (olvide / registro) dentro de la card */
body.login-athanasiadis #registroForm,
body.login-athanasiadis #olvideForm,
body.login-athanasiadis #respuesta {
  text-align: left;
  margin-top: 8px;
}

@media (max-width: 1199px) {
  body.login-athanasiadis .contenido_log {
    justify-content: center;
    align-items: center;
    padding: 24px;
    background:
      radial-gradient(ellipse at 50% 0%, rgba(11, 79, 140, 0.08), transparent 50%),
      var(--ath-panel);
  }

  body.login-athanasiadis .ath-auth-col {
    width: 100% !important;
    background: transparent;
  }

  body.login-athanasiadis .ath-auth-card {
    width: min(100%, 400px);
  }
}
