/*============================================================
   CUSTOMER-LOGIN.HTML - PAGE STYLES
   ------------------------------------------------------------
   Change styles for ONLY this page here.
   Shared header/footer/navigation styles live in common.css.
   ============================================================*/

/*============================================================
   PAGE-SPECIFIC STYLES MOVED FROM THE HTML
   ============================================================*/

:root {
  --auth-blue: #087df1;
  --auth-blue-dark: #0567c9;
  --auth-navy: #061f3e;
  --auth-text: #102a43;
  --auth-muted: #718196;
  --auth-border: #dfe7ee;
  --auth-soft: #f5f8fb;
  --auth-green: #0b7a4b;
  --auth-red: #b42318;
}

body {
  margin: 0;
  background: var(--auth-soft);
  color: var(--auth-text);
}

/*=====================================================
       HEADER
       =====================================================*/

.auth-header {
  background: #fff;
  border-bottom: 1px solid #e5ebf1;
}

.auth-header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.auth-brand img {
  display: block;
  max-height: 50px;
  max-width: 185px;
  object-fit: contain;
}

.auth-back {
  color: #31506e;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.auth-back:hover {
  color: var(--auth-blue);
}

/*=====================================================
       MAIN
       =====================================================*/

.auth-main {
  min-height: calc(100vh - 73px);
  display: grid;
  place-items: center;
  padding: 45px 0 70px;
}

.auth-shell {
  width: min(980px,100%);
}

.auth-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  background: #fff;
  border: 1px solid var(--auth-border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 22px 60px
        rgba(5,30,60,.08);
}

/*=====================================================
       LEFT SIDE
       =====================================================*/

.auth-info {
  padding: 45px;
  color: white;
  background: radial-gradient(
          circle at 85% 10%,
          rgba(8,125,241,.22),
          transparent 28%
        ),
        linear-gradient(
          145deg,
          #04182f,
          #083b6b
        );
}

.auth-info-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: #b8ff00;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.auth-info h1 {
  margin: 0 0 14px;
  font-size: clamp(30px,4vw,46px);
  line-height: 1.08;
}

.auth-info p {
  margin: 0;
  max-width: 390px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.75;
}

.auth-benefits {
  display: grid;
  gap: 13px;
  margin-top: 30px;
}

.auth-benefit {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: flex-start;
}

.auth-benefit-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #b8ff00;
  font-weight: 900;
}

.auth-benefit strong {
  display: block;
  margin-bottom: 3px;
  font-size: 12px;
}

.auth-benefit span {
  color: rgba(255,255,255,.63);
  font-size: 10px;
  line-height: 1.5;
}

/*=====================================================
       RIGHT SIDE
       =====================================================*/

.auth-card {
  padding: 38px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 5px;
  margin-bottom: 26px;
  border-radius: 11px;
  background: #f1f5f9;
}

.auth-tab {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  color: #66788a;
  font-weight: 850;
  font-size: 12px;
}

.auth-tab.active {
  background: white;
  color: var(--auth-blue);
  box-shadow: 0 2px 10px
        rgba(0,0,0,.05);
}

.auth-panel {
  display: none;
}

.auth-panel.active {
  display: block;
}

.auth-panel h2 {
  margin: 0 0 7px;
  font-size: 22px;
  color: #102a43;
}

.auth-panel-sub {
  margin: 0 0 22px;
  color: var(--auth-muted);
  font-size: 11px;
  line-height: 1.65;
}

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

.auth-form {
  display: grid;
  gap: 13px;
}

.auth-field {
  display: grid;
  gap: 6px;
}

.auth-field label {
  color: #43566a;
  font-size: 10px;
  font-weight: 850;
}

.auth-field input {
  min-height: 48px;
  width: 100%;
  box-sizing: border-box;
  padding: 0 13px;
  border: 1px solid #dce5ee;
  border-radius: 9px;
  outline: none;
  font-size: 13px;
  color: #17324e;
  background: #fff;
}

.auth-field input:focus {
  border-color: #84bef5;
  box-shadow: 0 0 0 3px
        rgba(8,125,241,.08);
}

.auth-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/*=====================================================
       PROFESSIONAL PASSWORD TOGGLE
       =====================================================*/

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 52px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 7px;
  transform: translateY(-50%);
  width: 38px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
  color: #718196;
  transition: background .15s ease,
        color .15s ease;
}

.password-toggle:hover {
  background: #f0f5f9;
  color: var(--auth-blue);
}

.password-toggle:focus-visible {
  outline: 2px solid
        rgba(8,125,241,.35);
  outline-offset: 1px;
}

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

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

.auth-submit {
  min-height: 50px;
  margin-top: 3px;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  color: white;
  background: linear-gradient(
          90deg,
          var(--auth-blue),
          var(--auth-blue-dark)
        );
  font-weight: 850;
  font-size: 12px;
}

.auth-submit:hover {
  filter: brightness(.98);
}

.auth-submit:disabled {
  opacity: .65;
  cursor: wait;
}

/*=====================================================
       MESSAGES
       =====================================================*/

.auth-message {
  display: none;
  margin-top: 15px;
  padding: 12px 13px;
  border-radius: 9px;
  font-size: 11px;
  line-height: 1.6;
}

.auth-message.success {
  display: block;
  background: #ecfff4;
  color: var(--auth-green);
  border: 1px solid #bdebd1;
}

.auth-message.error {
  display: block;
  background: #fff2f2;
  color: var(--auth-red);
  border: 1px solid #ffd0d0;
}

.auth-security {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid #edf1f5;
  color: #8a98a6;
  font-size: 9px;
  line-height: 1.6;
}

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

@media (max-width:800px) {
  .auth-layout {
    grid-template-columns: 1fr;
  }

  .auth-info {
    padding: 30px;
  }
}

@media (max-width:600px) {
  .auth-header-inner {
    min-height: 62px;
  }

  .auth-brand img {
    max-height: 42px;
    max-width: 150px;
  }

  .auth-back {
    font-size: 11px;
  }

  .auth-main {
    padding: 20px 0 50px;
  }

  .auth-layout {
    border-radius: 15px;
  }

  .auth-info {
    padding: 26px 20px;
  }

  .auth-card {
    padding: 24px 18px;
  }

  .auth-grid-2 {
    grid-template-columns: 1fr;
  }
}

/*============================================================
   SAFE CUSTOM OVERRIDES
   Add future page-only edits below this line.
   ============================================================*/
