:root{
  --gold:#e8b638;
  --gold2:#f5ce63;
  --green:#168f4d;
  --ink:#07131d;
  --card:#0b1720;
  --line:rgba(232,182,56,.58);
  --white:#f8fbfd;
}
*{box-sizing:border-box}
html,body{margin:0;width:100%;min-height:100%;background:#07131d}
body.tc-login-v72119{
  min-height:100vh;min-height:100dvh;overflow:hidden;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--white);color-scheme:dark;
}
.tc-login-stage{
  position:fixed;inset:0;overflow:hidden;
  background:#07131d url('brand/login-desktop-clean-v72118.jpg') center top/cover no-repeat;
}
/* Cubre por completo los iconos inferiores que pertenecían al antiguo fondo. */
.tc-login-bottom-mask{
  position:absolute;z-index:1;left:0;right:0;bottom:0;height:27%;pointer-events:none;
  background:linear-gradient(180deg,rgba(7,19,29,0) 0%,rgba(7,19,29,.92) 56%,#07131d 100%);
}
.tc-login-logo{
  position:absolute;z-index:4;left:50%;top:2.2%;transform:translateX(-50%);
  width:clamp(205px,18.2vw,330px);height:auto;display:block;
  filter:drop-shadow(0 7px 18px rgba(0,0,0,.24));pointer-events:none;
}
.tc-login-benefits{
  position:absolute;z-index:4;left:5.35%;top:61.8%;width:220px;
  display:grid;gap:12px;color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.72);
}
.tc-benefit{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:800;line-height:1.1}
.tc-benefit-icon{width:27px;height:27px;display:grid;place-items:center;color:var(--gold2);flex:0 0 27px}
.tc-benefit-icon svg,.tc-field-icon svg,.tc-password-toggle svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.tc-login-card{
  position:absolute;z-index:5;left:50%;top:49.1%;transform:translate(-50%,-6%);
  width:min(440px,29vw);padding:24px 24px 22px;
  border:1px solid rgba(232,182,56,.58);border-radius:22px;
  background:rgba(7,17,25,.965);
  box-shadow:0 26px 60px rgba(0,0,0,.34),0 1px 0 rgba(255,255,255,.045) inset;
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
}
.tc-login-card-head{margin:0 0 16px}
.tc-login-kicker{display:block;color:var(--gold2);font-size:11px;font-weight:950;letter-spacing:.14em;margin-bottom:5px}
.tc-login-card h1{margin:0;font-size:clamp(23px,1.7vw,30px);line-height:1.1;letter-spacing:-.035em;color:#fff}
.tc-login-card p{margin:7px 0 0;color:#b8c3ca;font-size:13px;line-height:1.45}
.tc-login-alert{margin:0 0 13px;padding:10px 12px;border-radius:11px;font-size:12px;font-weight:800;line-height:1.3;text-align:center}
.tc-login-alert.error{background:#84283a;border:1px solid #bd5365;color:#fff}
.tc-login-alert.success{background:#176f49;border:1px solid #51a77c;color:#fff}
.tc-login-form{display:grid;gap:13px;margin:0}
.tc-field{display:grid;gap:6px;margin:0!important;color:#fff;font-size:12px;font-weight:850}
.tc-field-label{display:block}
.tc-field-box{
  position:relative;display:flex;align-items:center;width:100%;height:54px;
  border:1px solid rgba(232,182,56,.62);border-radius:13px;background:#0e1c26;
  box-shadow:0 1px 0 rgba(255,255,255,.025) inset;
}
.tc-field-box:focus-within{border-color:var(--gold2);box-shadow:0 0 0 3px rgba(232,182,56,.16)}
.tc-field-icon{position:absolute;left:15px;top:50%;transform:translateY(-50%);width:22px;height:22px;color:rgba(255,255,255,.88);pointer-events:none}
.tc-field input{
  width:100%!important;height:52px!important;min-height:52px!important;max-height:52px!important;
  margin:0!important;padding:0 48px 0 50px!important;border:0!important;border-radius:12px!important;
  outline:0!important;background:transparent!important;color:#fff!important;
  font:600 16px/1.2 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  -webkit-appearance:none!important;appearance:none!important;box-shadow:none!important;
}
.tc-field input:focus{outline:0!important}
.tc-field input:-webkit-autofill,.tc-field input:-webkit-autofill:hover,.tc-field input:-webkit-autofill:focus{
  -webkit-text-fill-color:#fff!important;caret-color:#fff!important;
  -webkit-box-shadow:0 0 0 1000px #0e1c26 inset!important;box-shadow:0 0 0 1000px #0e1c26 inset!important;
  transition:background-color 99999s ease-out 0s;
}
.tc-password-toggle{
  position:absolute;right:7px;top:50%;transform:translateY(-50%);width:40px;height:40px;padding:10px;
  display:grid;place-items:center;border:0;border-radius:10px;background:transparent;color:#d5dde2;cursor:pointer;
}
.tc-password-toggle:hover{background:rgba(255,255,255,.07)}
.tc-password-toggle.is-visible{color:var(--gold2)}
.tc-login-submit{
  width:100%;height:54px;margin:2px 0 0;border:0;border-radius:13px;cursor:pointer;
  background:linear-gradient(180deg,#f6d16a 0%,#e3ad34 100%);color:#10202a;
  font:950 18px/1 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  box-shadow:0 9px 20px rgba(0,0,0,.23),0 1px 0 rgba(255,255,255,.52) inset;
}
.tc-login-submit:hover{filter:brightness(1.04);transform:translateY(-1px)}
.tc-login-recovery{display:block;text-align:center;color:#fff;text-decoration:none;font-size:13px;font-weight:750;padding:4px 0 1px}
.tc-login-recovery:hover{color:var(--gold2);text-decoration:underline}
.tc-login-version{
  position:absolute;z-index:4;right:2.4%;bottom:2%;padding:7px 11px;border-radius:9px;
  background:rgba(7,19,29,.82);color:rgba(255,255,255,.72);font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;
}

@media (max-width:1100px){
  .tc-login-card{width:min(430px,38vw)}
  .tc-login-benefits{left:3.6%;top:62.5%;width:190px}
  .tc-benefit{font-size:12px}.tc-benefit-icon{width:24px;height:24px;flex-basis:24px}
}
@media (max-width:760px){
  html,body{min-height:100%;background:#07131d}
  body.tc-login-v72119{overflow:auto;color-scheme:dark}
  .tc-login-stage{
    position:relative;inset:auto;min-height:100svh;overflow:hidden;
    background:#07131d;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;
    padding:24px 14px 22px;
  }
  /* En móvil no reutilizamos la composición de escritorio como fondo visible.
     Solo usamos la fotografía muy atenuada para aportar ambiente, sin textos ni cajas legibles. */
  .tc-login-stage::before{
    content:"";position:absolute;inset:-12px;z-index:0;pointer-events:none;
    background:url('brand/login-desktop-clean-v72118.jpg') 24% center/auto 112% no-repeat;
    filter:blur(2.5px) brightness(.42) saturate(.82);transform:scale(1.03);opacity:.72;
  }
  .tc-login-stage::after{
    content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
    background:
      radial-gradient(circle at 50% 5%,rgba(232,182,56,.18),transparent 31%),
      linear-gradient(180deg,rgba(7,19,29,.26) 0%,rgba(7,19,29,.64) 34%,rgba(7,19,29,.94) 70%,#07131d 100%);
  }
  .tc-login-bottom-mask{display:none}
  .tc-login-logo{
    position:relative;z-index:3;left:auto;top:auto;transform:none;
    width:min(46vw,176px);max-height:185px;object-fit:contain;margin:0 auto 16px;
    filter:drop-shadow(0 7px 16px rgba(0,0,0,.30));
  }
  .tc-login-benefits{display:none}
  .tc-login-card{
    position:relative;z-index:5;left:auto;top:auto;transform:none;
    width:min(100%,420px);margin:0 auto;padding:19px 17px 18px;border-radius:20px;
    background:rgba(7,17,25,.965);border:1px solid rgba(232,182,56,.56);
    box-shadow:0 24px 52px rgba(0,0,0,.34);
    backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  }
  .tc-login-card-head{margin:0 0 15px}
  .tc-login-kicker{font-size:10px;letter-spacing:.15em;margin-bottom:5px}
  .tc-login-card h1{font-size:24px;line-height:1.08;letter-spacing:-.03em}
  .tc-login-card p{display:block;margin-top:6px;font-size:12.5px;line-height:1.4}
  .tc-login-alert{margin-bottom:12px;padding:10px 11px;font-size:12px}
  .tc-login-form{gap:12px}
  .tc-field{gap:6px;font-size:12px}
  .tc-field-box{width:100%;height:52px;border-radius:13px}
  .tc-field input{
    width:100%!important;height:50px!important;min-height:50px!important;max-height:50px!important;
    padding:0 48px 0 48px!important;font-size:16px!important;border-radius:12px!important;
  }
  .tc-field-icon{left:14px;width:21px;height:21px}
  .tc-password-toggle{right:6px;width:40px;height:40px}
  .tc-login-submit{height:52px;border-radius:13px;font-size:18px;margin-top:2px}
  .tc-login-recovery{font-size:13px;padding:6px 0 1px}
  .tc-login-version{
    position:relative;z-index:4;right:auto;bottom:auto;margin:14px auto 0;padding:5px 8px;
    background:rgba(7,19,29,.55);font-size:9px;letter-spacing:.07em;
  }
}
@media (max-height:720px) and (min-width:761px){
  .tc-login-logo{top:1%;width:15.2vw}
  .tc-login-card{top:43%;padding:17px 20px 16px}.tc-login-card-head{margin-bottom:10px}.tc-login-card p{display:none}.tc-login-form{gap:9px}.tc-field-box{height:48px}.tc-field input{height:46px!important;min-height:46px!important;max-height:46px!important}.tc-login-submit{height:48px}.tc-login-benefits{top:57%;gap:7px}
}
