* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #ffffff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

/* =========================================================
   PAGE
   ========================================================= */

.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 38% 62%;
}

/* =========================================================
   LEFT LOGIN PANEL
   ========================================================= */

.login-panel {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 30px 8%;
  background: #ffffff;
}

.login-content {
  width: 100%;
  max-width: 365px;
}

/* =========================================================
   BRAND
   ========================================================= */

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 24px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: var(--radius-lg);

  background: #dd0000;
  color: #ffffff;

  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.5px;

  box-shadow: 0 8px 20px rgba(221, 0, 0, 0.18);
}

.brand-name {
  margin: 0;

  color: #12263f;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
}

.brand-subtitle {
  margin: 4px 0 0;

  color: var(--ink-3);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* =========================================================
   HEADING
   ========================================================= */

.login-heading {
  margin: 0 0 5px;

  color: #12263f;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.7px;
}

.login-description {
  margin: 0 0 22px;

  color: var(--ink-3);
  font-size: 14px;
}

/* =========================================================
   FORM
   ========================================================= */

.form-group {
  margin-bottom: 14px;
}

.form-label-gtc {
  display: block;
  margin-bottom: 7px;

  color: #344256;
  font-size: 13px;
  font-weight: 600;
}

.input-wrap {
  position: relative;
}

.form-control-gtc {
  width: 100%;
  height: 43px;

  padding: 9px 14px;

  border: 1px solid var(--line);
  border-radius: 9px;

  background: #f8fafc;

  color: #25364a;
  font-size: 14px;

  outline: none;
  box-shadow: none;

  transition: border-color 0.18s ease,
              box-shadow 0.18s ease,
              background 0.18s ease;
}

.form-control-gtc:focus {
  border-color: #dd0000;
  background: #ffffff;

  box-shadow: 0 0 0 3px rgba(221, 0, 0, 0.08);
}

.password-input {
  padding-right: 45px;
}

/* =========================================================
   PASSWORD EYE
   ========================================================= */

.password-toggle {
  position: absolute;

  top: 50%;
  right: 13px;

  width: 28px;
  height: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  transform: translateY(-50%);

  border: 0;
  background: transparent;

  color: #8995a5;

  cursor: pointer;
  padding: 0;
}

.password-toggle:hover {
  color: #dd0000;
}

.password-toggle svg {
  width: 19px;
  height: 19px;
}

/* =========================================================
   KEEP SIGNED IN
   ========================================================= */

.remember-row {
  display: flex;
  align-items: center;
  gap: 8px;

  margin-top: 0px;
  margin-bottom: 15px;
}

.remember-checkbox {
  width: 16px;
  height: 16px;

  margin: 0;

  accent-color: #dd0000;

  cursor: pointer;
}

.remember-label {
  margin: 0;

  color: var(--ink-3);
  font-size: 13px;

  cursor: pointer;
}

/* =========================================================
   BUTTON
   ========================================================= */

.login-button {
  width: 100%;
  height: 44px;

  border: 0;
  border-radius: 9px;

  background: #dd0000;
  color: #ffffff;

  font-size: 15px;
  font-weight: 700;

  cursor: pointer;

  box-shadow: 0 8px 18px rgba(221, 0, 0, 0.18);

  transition:
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.login-button:hover {
  background: #bd0000;
  color: #ffffff;

  transform: translateY(-1px);

  box-shadow: 0 10px 22px rgba(221, 0, 0, 0.22);
}

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

/* =========================================================
   FOOTER
   ========================================================= */

.login-footer {
  margin-top: 25px;

  color: #a1aab5;
  font-size: 11px;
  text-align: center;
}

/* =========================================================
   ALERTS
   ========================================================= */

.alert {
  margin-bottom: 18px;
  border-radius: 9px;
  font-size: 13px;
}

/* =========================================================
   RIGHT VISUAL PANEL
   ========================================================= */

.visual-panel {
  position: relative;

  display: flex;
  align-items: center;

  overflow: hidden;

  padding: 55px 9%;

  background:
    radial-gradient(
      circle at 75% 25%,
      rgba(221, 0, 0, 0.20),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #280808 0%,
      #430909 45%,
      #260b0b 100%
    );

  color: #ffffff;
}

.visual-panel::before {
  content: "";

  position: absolute;
  inset: 0;

  opacity: 0.15;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.12) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.12) 1px,
      transparent 1px
    );

  background-size: 70px 70px;

  transform:
    perspective(600px)
    rotateX(55deg)
    scale(1.5);

  transform-origin: center bottom;
}

.visual-panel::after {
  content: "";

  position: absolute;

  width: 420px;
  height: 420px;

  right: -150px;
  bottom: -150px;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;

  box-shadow:
    0 0 0 70px rgba(255, 255, 255, 0.025),
    0 0 0 140px rgba(255, 255, 255, 0.02);
}

.visual-content {
  position: relative;
  z-index: 2;

  max-width: 650px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin-bottom: 27px;
  padding: 8px 14px;

  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50px;

  background: rgba(255, 255, 255, 0.06);

  color: #f4dada;

  font-size: 12px;
  font-weight: 600;
}

.status-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: #dd0000;
  box-shadow: 0 0 10px rgba(221, 0, 0, 0.7);
}

.visual-heading {
  max-width: 600px;

  margin: 0 0 20px;

  color: #ffffff;

  font-size: clamp(40px, 4vw, 64px);
  line-height: 1.02;

  font-weight: 700;
  letter-spacing: -2px;
}

.visual-description {
  max-width: 560px;

  margin: 0 0 32px;

  color: #e1baba;

  font-size: 17px;
  line-height: 1.6;
}

.visual-line {
  width: 58px;
  height: 4px;

  border-radius: 10px;

  background: #dd0000;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

  .login-page {
    grid-template-columns: 1fr;
  }

  .visual-panel {
    display: none;
  }

  .login-panel {
    min-height: 100vh;
    padding: 35px 24px;
  }

  .login-content {
    max-width: 460px;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575px) {

  .login-panel {
    padding: 25px 20px;
  }

  .brand {
    margin-bottom: 27px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    font-size: 14px;
  }

  .brand-name {
    font-size: 17px;
  }

  .brand-subtitle {
    font-size: 11px;
  }

  .login-heading {
    font-size: 31px;
  }

  .login-description {
    margin-bottom: 24px;
  }

  .form-group {
    margin-bottom: 16px;
  }

  .form-control-gtc {
    height: 45px;
  }

  .login-button {
    height: 47px;
  }

  .login-footer {
    margin-top: 22px;
  }
}

