/* =======================================================
   NEXUS BOUTIQUE · LOGIN DE MARCA
   Paleta: negro, dorado, marfil y blanco
   ======================================================= */

.container-login {
  --cc-espresso: #2d1409;
  --cc-coffee: #4a2411;
  --cc-cinnamon: #9f4d0b;
  --cc-copper: #bd6b1c;
  --cc-gold: #d59a4b;
  --cc-cream: #fffaf4;
  --cc-sand: #f3e6d7;
  --cc-ink: #3b281f;
  --cc-muted: #806c60;

  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(430px, 0.88fr);
  min-height: 100vh;
  overflow: hidden;
  background: var(--cc-cream);
  font-family: "Wix Madefor Text", "Segoe UI", Arial, sans-serif;
}

.container-login *,
.container-login *::before,
.container-login *::after {
  box-sizing: border-box;
}

/* ================= PANEL DE MARCA ================= */
.container-login .left-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(45px, 6vw, 88px);
  overflow: hidden;
  color: #fffaf4;
  background:
    radial-gradient(circle at 12% 10%, rgba(213, 154, 75, 0.24), transparent 30%),
    radial-gradient(circle at 90% 84%, rgba(189, 107, 28, 0.24), transparent 34%),
    linear-gradient(145deg, #2a1208 0%, #4a2411 48%, #6c310e 100%);
}

.container-login .left-panel::after {
  content: "C";
  position: absolute;
  right: -2vw;
  bottom: -19vh;
  z-index: -1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(320px, 43vw, 650px);
  line-height: 1;
  color: rgba(255, 247, 237, 0.035);
  pointer-events: none;
}

.login-decor {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(230, 178, 105, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.login-decor-one {
  top: -150px;
  right: -110px;
  width: 370px;
  height: 370px;
}

.login-decor-two {
  right: 110px;
  bottom: -180px;
  width: 330px;
  height: 330px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 22px;
  width: min(100%, 620px);
  margin-bottom: clamp(40px, 6vh, 72px);
}

.brand-logo-frame {
  flex: 0 0 auto;
  width: 116px;
  height: 116px;
  padding: 7px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(24, 8, 2, 0.34);
  transform: rotate(-1.5deg);
}

.brand-logo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 21px;
}

.brand-name {
  min-width: 0;
}

.brand-kicker,
.form-kicker,
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.brand-kicker {
  display: block;
  margin-bottom: 8px;
  color: #e9c89c;
  font-size: 11px;
  font-weight: 700;
}

.brand-name h2 {
  max-width: 470px;
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2.1vw, 30px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.025em;
}

.left-panel .hero-text {
  width: min(100%, 650px);
  animation: ccFadeUp 0.75s ease both;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: #e9c89c;
  font-size: 12px;
  font-weight: 700;
}

.hero-eyebrow i {
  font-size: 13px;
}

.left-panel .descrih1tion {
  margin: 0 0 22px;
  color: #fffaf4;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 5.1vw, 76px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.left-panel .description {
  max-width: 590px;
  margin: 0 0 28px;
  color: rgba(255, 250, 244, 0.78);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.75;
}

.login-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.login-benefits span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: #f9eee2;
  background: rgba(255, 255, 255, 0.07);
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.login-benefits i {
  color: #e2a75c;
  font-size: 10px;
}

.left-panel .get-started {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  color: #fffaf4;
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(28, 10, 3, 0.18);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.left-panel .get-started:hover,
.left-panel .get-started:focus {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.15);
  text-decoration: none;
  transform: translateY(-2px);
}

.left-panel .get-started i {
  color: #65d882;
  font-size: 18px;
}

/* ================= PANEL DE ACCESO ================= */
.container-login .right-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: clamp(28px, 5vw, 72px);
  background:
    radial-gradient(circle at 90% 8%, rgba(198, 128, 49, 0.12), transparent 24%),
    linear-gradient(160deg, #fffdf9 0%, #f8eee3 100%);
}

.container-login .right-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(98, 48, 15, 0.18), transparent);
}

.container-login .login-form {
  width: min(100%, 455px);
  padding: clamp(32px, 4.5vw, 52px);
  border: 1px solid rgba(102, 52, 18, 0.11);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 28px 70px rgba(72, 34, 12, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: ccScaleIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.mobile-brand {
  display: none;
}

.login-form .login-header {
  margin-bottom: 34px;
  text-align: left;
}

.form-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--cc-cinnamon);
  font-size: 11px;
  font-weight: 800;
}

.login-form .login-header h1 {
  margin: 0 0 9px;
  color: var(--cc-espresso);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 500;
  line-height: 1.1;
}

.login-form .login-header .subtitle {
  margin: 0;
  color: var(--cc-muted);
  font-size: 14px;
  line-height: 1.55;
}

.container-login .form-group {
  position: relative;
  margin-bottom: 21px;
}

.container-login .form-group label {
  display: block;
  margin-bottom: 8px;
  color: #4d3528;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.container-login .form-control-icon {
  position: absolute;
  top: 45px;
  left: 18px;
  z-index: 2;
  color: #aa8c79;
  font-size: 15px;
  transition: color 0.2s ease;
}

.container-login .form-group:focus-within .form-control-icon {
  color: var(--cc-cinnamon);
}

.right-panel input[type="text"],
.right-panel input[type="password"] {
  display: block;
  width: 100%;
  height: 53px;
  padding: 0 16px 0 48px;
  border: 1px solid #dfd0c3;
  border-radius: 13px;
  outline: none;
  color: var(--cc-ink) !important;
  background: #fffdfb;
  font-size: 14px;
  box-shadow: 0 1px 0 rgba(74, 36, 17, 0.02);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.right-panel input[type="text"]::placeholder,
.right-panel input[type="password"]::placeholder {
  color: #aa998e;
}

.right-panel input[type="text"]:focus,
.right-panel input[type="password"]:focus {
  border-color: #bd762f;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(174, 94, 20, 0.12);
}

.right-panel .login-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 55px;
  margin-top: 7px;
  padding: 0 19px 0 22px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, #4a2411 0%, #8e410b 58%, #b96313 100%);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 13px 28px rgba(107, 48, 9, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.right-panel .login-button i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.right-panel .login-button:hover,
.right-panel .login-button:focus {
  color: #fff;
  filter: brightness(1.06);
  box-shadow: 0 16px 34px rgba(107, 48, 9, 0.3);
  transform: translateY(-2px);
}

.right-panel .login-button:active {
  transform: translateY(0);
}

.login-result {
  margin-top: 15px;
  border-radius: 10px;
}

.verifica-sunat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding-top: 19px;
  border-top: 1px solid #eadfd5;
}

.verifica-sunat span {
  color: #8d7668;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.verifica-sunat img {
  display: block;
  width: 125px;
  max-width: 45%;
  height: auto;
  opacity: 0.72;
  filter: sepia(0.25) saturate(0.75);
  transition: opacity 0.2s ease;
}

.verifica-sunat img:hover {
  opacity: 1;
}

.access-security {
  margin: 15px 0 0;
  color: #9b887d;
  font-size: 11px;
  text-align: center;
}

.access-security i {
  margin-right: 5px;
  color: var(--cc-cinnamon);
}

@keyframes ccFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ccScaleIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ================= TABLET ================= */
@media (max-width: 1050px) {
  .container-login {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.9fr);
  }

  .container-login .left-panel {
    padding: 48px;
  }

  .brand-logo-frame {
    width: 96px;
    height: 96px;
    border-radius: 23px;
  }

  .brand-logo-frame img {
    border-radius: 17px;
  }

  .left-panel .descrih1tion {
    font-size: clamp(42px, 5.2vw, 58px);
  }
}

/* ================= MÓVIL ================= */
@media (max-width: 820px) {
  .container-login {
    display: block;
    min-height: 100vh;
    overflow: auto;
    background: #f8eee3;
  }

  .container-login .left-panel {
    min-height: 270px;
    padding: 28px 22px 48px;
    justify-content: flex-start;
    border-radius: 0 0 34px 34px;
  }

  .container-login .left-panel::after {
    right: -45px;
    bottom: -150px;
    font-size: 350px;
  }

  .brand-block {
    justify-content: center;
    gap: 14px;
    margin: 0 auto 26px;
    text-align: left;
  }

  .brand-logo-frame {
    width: 78px;
    height: 78px;
    padding: 5px;
    border-radius: 19px;
  }

  .brand-logo-frame img {
    border-radius: 14px;
  }

  .brand-kicker {
    font-size: 9px;
  }

  .brand-name h2 {
    max-width: 245px;
    font-size: 16px;
  }

  .left-panel .hero-text {
    margin: auto;
    text-align: center;
  }

  .hero-eyebrow,
  .left-panel .description,
  .login-benefits,
  .left-panel .get-started {
    display: none;
  }

  .left-panel .descrih1tion {
    max-width: 520px;
    margin: 0 auto;
    font-size: clamp(31px, 9vw, 43px);
    line-height: 1.08;
  }

  .container-login .right-panel {
    align-items: flex-start;
    padding: 0 16px 28px;
    background: transparent;
  }

  .container-login .right-panel::before {
    display: none;
  }

  .container-login .login-form {
    width: min(100%, 500px);
    margin: -24px auto 0;
    padding: 31px 24px 26px;
    border-radius: 23px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 50px rgba(72, 34, 12, 0.16);
  }

  .login-form .login-header {
    margin-bottom: 27px;
    text-align: center;
  }

  .login-form .login-header h1 {
    font-size: 36px;
  }

  .form-kicker {
    font-size: 10px;
  }
}

@media (max-width: 420px) {
  .container-login .left-panel {
    min-height: 245px;
    padding-inline: 17px;
  }

  .brand-block {
    gap: 11px;
  }

  .brand-logo-frame {
    width: 68px;
    height: 68px;
  }

  .brand-name h2 {
    max-width: 210px;
    font-size: 14px;
  }

  .container-login .login-form {
    padding: 28px 19px 24px;
  }

  .right-panel .login-button {
    letter-spacing: 0.045em;
  }

  .verifica-sunat {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .verifica-sunat img {
    max-width: 145px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .container-login *,
  .container-login *::before,
  .container-login *::after {
    animation: none !important;
    transition: none !important;
  }
}


/* =======================================================
   NEXUS BOUTIQUE · IDENTIDAD NEGRO Y DORADO
   ======================================================= */
.container-login {
  --cc-espresso: #111111;
  --cc-coffee: #1d1d1d;
  --cc-cinnamon: #b88919;
  --cc-copper: #d1a52b;
  --cc-gold: #e0b83f;
  --cc-cream: #fbf8ef;
  --cc-sand: #f1ead7;
  --cc-ink: #202020;
  --cc-muted: #716b5e;
  background: #fbf8ef;
}
.container-login .left-panel {
  background: radial-gradient(circle at 18% 16%, rgba(224,184,63,.18), transparent 30%), radial-gradient(circle at 88% 84%, rgba(184,137,25,.15), transparent 34%), linear-gradient(145deg,#050505 0%,#141414 54%,#242018 100%);
}
.container-login .left-panel::after { content: "N"; color: rgba(224,184,63,.035); }
.brand-logo-frame { width: 150px; height: 112px; padding: 5px; border-color: rgba(224,184,63,.55); border-radius: 20px; background:#050505; }
.brand-logo-frame img { border-radius: 14px; }
.brand-kicker,.hero-eyebrow { color:#e0b83f; }
.login-benefits i { color:#e0b83f; }
.container-login .right-panel { background: radial-gradient(circle at 90% 8%,rgba(224,184,63,.12),transparent 24%),linear-gradient(160deg,#fffef9 0%,#f3ecd9 100%); }
.container-login .login-form { border-color:rgba(184,137,25,.2); box-shadow:0 28px 70px rgba(28,24,12,.14); }
.form-kicker,.access-security i,.container-login .form-group:focus-within .form-control-icon { color:#b88919; }
.right-panel input[type="text"]:focus,.right-panel input[type="password"]:focus { border-color:#c69a25; box-shadow:0 0 0 4px rgba(198,154,37,.14); }
.right-panel .login-button { color:#111; background:linear-gradient(135deg,#f0cf61 0%,#d5a92d 55%,#a87912 100%); box-shadow:0 13px 28px rgba(145,106,17,.25); }
.right-panel .login-button i { background:rgba(0,0,0,.1); }
.modo-interno-badge { display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:28px;padding:15px 17px;border:1px solid rgba(184,137,25,.25);border-radius:13px;background:#fffbef;color:#6f581c; }
.modo-interno-badge span { font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase; }
.modo-interno-badge i { margin-right:6px;color:#b88919; }
.modo-interno-badge strong { color:#171717;font-size:12px; }
@media(max-width:820px){.brand-logo-frame{width:110px;height:80px}.container-login{background:#f3ecd9}.container-login .left-panel{border-radius:0 0 34px 34px}}

.get-started-disabled{cursor:default;opacity:.78;pointer-events:none}
