/* GICOLOR — Portada de acceso */

body.login-page {
  background: #0f172a !important;
  min-height: 100vh;
}

.gicolor-login {
  --gc-teal: #0d9488;
  --gc-teal-dark: #0f766e;
  --gc-indigo: #4338ca;
  --gc-amber: #f59e0b;
  --gc-ink: #0f172a;
  --gc-glass: rgba(255, 255, 255, 0.08);
  --gc-glass-border: rgba(255, 255, 255, 0.12);
  font-family: "DM Sans", "Segoe UI", system-ui, sans-serif;
}

@keyframes gc-float {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.55; }
  50% { transform: translate(-12px, 8px) scale(1.05); opacity: 0.75; }
}

@keyframes gc-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container-login {
  display: flex;
  min-height: 100vh;
  overflow: hidden;
}

.container-login .left-panel {
  flex: 1.35;
  position: relative;
  padding: clamp(32px, 5vw, 56px);
  color: #f1f5f9;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  background:
    radial-gradient(ellipse 120% 80% at 20% 0%, rgba(13, 148, 136, 0.35) 0%, transparent 50%),
    radial-gradient(ellipse 100% 60% at 100% 100%, rgba(67, 56, 202, 0.4) 0%, transparent 45%),
    linear-gradient(165deg, #0b1220 0%, #111827 48%, #0c4a6e 100%);
  overflow: hidden;
  z-index: 1;
}

.login-brand-glow {
  position: absolute;
  width: min(480px, 90vw);
  height: min(480px, 90vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.45) 0%, transparent 70%);
  top: -15%;
  left: -10%;
  filter: blur(2px);
  animation: gc-float 14s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.login-brand-glow--2 {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 65%);
  top: auto;
  bottom: -20%;
  left: auto;
  right: -15%;
  animation-delay: -7s;
  animation-duration: 18s;
}

.container-login .left-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/pannel.jpg") no-repeat center;
  background-size: cover;
  opacity: 0.12;
  mix-blend-mode: luminosity;
  pointer-events: none;
  z-index: 0;
}

.container-login .left-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.75) 55%, rgba(13, 148, 136, 0.25) 100%);
  pointer-events: none;
  z-index: 1;
}

.left-panel-inner {
  position: relative;
  z-index: 2;
  max-width: 520px;
  animation: gc-fade-up 0.85s ease-out both;
}

.left-panel .logo {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.left-panel .logo img {
  width: clamp(88px, 18vw, 132px);
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  padding: 8px;
}

.logo-titles {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-mark {
  display: inline-block;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gc-amber);
  text-shadow: 0 0 24px rgba(245, 158, 11, 0.35);
}

.left-panel .logo h2 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 600;
  margin: 0;
  line-height: 1.25;
  color: #f8fafc;
  text-shadow: none;
}

.login-headline {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 16px;
  color: #e2e8f0;
  max-width: 440px;
}

.left-panel .description {
  margin-bottom: 24px;
  opacity: 0.88;
  line-height: 1.65;
  max-width: 420px;
  font-size: 0.95rem;
  color: #cbd5e1;
}

.login-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.login-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: #e2e8f0;
}

.login-features i {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--gc-glass);
  border: 1px solid var(--gc-glass-border);
  color: #5eead4;
  font-size: 0.85rem;
}

.left-panel .get-started {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #059669 0%, var(--gc-teal) 50%, #14b8a6 100%);
  background-size: 200% auto;
  border: none;
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(13, 148, 136, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-position 0.5s ease;
}

.left-panel .get-started:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(13, 148, 136, 0.45);
  background-position: 100% center;
  color: #fff;
}

.container-login .right-panel {
  flex: 1;
  min-width: 0;
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #f1f5f9;
}

.container-login .login-form {
  width: 100%;
  max-width: 420px;
  padding: 12px;
  animation: gc-fade-up 0.75s ease-out 0.12s both;
}

.login-card {
  padding: clamp(28px, 4vw, 40px);
  border-radius: 20px;
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.login-card-label {
  margin: 0 0 6px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #94a3b8;
  font-weight: 600;
}

.login-card-title {
  font-family: "Outfit", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 24px;
  color: #f8fafc;
}

.container-login .form-group {
  position: relative;
  margin-bottom: 18px;
}

.container-login .form-group span {
  position: absolute;
  color: #e2e8f0;
  top: 0;
  right: 0;
  width: 52px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--gc-indigo) 0%, #6366f1 100%);
  padding: 0;
  border-bottom-right-radius: 12px;
  border-top-right-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.right-panel [type="text"],
.right-panel [type="password"] {
  width: 100%;
  padding: 14px 58px 14px 16px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.6);
  font-size: 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  letter-spacing: 0.02em;
  color: #f8fafc;
}

.right-panel [type="text"]::placeholder,
.right-panel [type="password"]::placeholder {
  color: #64748b;
}

.right-panel [type="text"]:focus,
.right-panel [type="password"]:focus {
  border-color: var(--gc-teal);
  outline: none;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.25);
}

.right-panel .login-button {
  width: 100%;
  padding: 15px 20px;
  margin-top: 8px;
  background: linear-gradient(
    90deg,
    var(--gc-teal-dark) 0%,
    var(--gc-teal) 35%,
    #2dd4bf 100%
  );
  background-size: 200% auto;
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  margin-bottom: 12px;
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 12px 28px rgba(13, 148, 136, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-position 0.45s ease;
}

.right-panel .login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(13, 148, 136, 0.45);
  background-position: 100% center;
}

.right-panel .login-button i {
  transition: transform 0.25s ease;
}

.right-panel .login-button:hover i {
  transform: translateX(4px);
}

.verifica-sunat {
  padding-top: 20px;
  text-align: center;
}

.verifica-sunat img {
  width: 120px;
  opacity: 0.9;
  filter: brightness(1.05);
}

@media screen and (max-width: 768px) {
  .container-login {
    flex-direction: column;
  }

  .container-login .left-panel {
    min-height: auto;
    padding: 36px 24px 28px;
    text-align: left;
  }

  .left-panel-inner {
    max-width: none;
  }

  .container-login .right-panel {
    padding: 28px 20px 40px;
    flex: 1;
  }

  .login-card {
    padding: 24px 20px;
  }
}

@media screen and (max-width: 480px) {
  .left-panel .logo {
    flex-direction: column;
    align-items: flex-start;
  }

  .right-panel [type="text"],
  .right-panel [type="password"] {
    padding: 13px 54px 13px 14px;
  }
}
