:root {
  --bg: #071321;
  --panel: #f7f9fc;
  --panel-muted: #eef3f8;
  --text: #102033;
  --muted: #5d6c7c;
  --blue: #1e88e5;
  --blue-dark: #0f5ca8;
  --cyan: #43c4ff;
  --border: rgb(16 32 51 / 12%);
  --shadow: 0 24px 70px rgb(4 17 33 / 18%);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: 'Space Grotesk', Arial, Helvetica, sans-serif;
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.simple-login {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(20rem, 1fr);
  min-height: 100vh;
  background: #071321;
}

.simple-login::before {
  display: block;
  min-height: 100vh;
  content: "";
  background:
    linear-gradient(90deg, rgb(10 10 10 / 0%) 0%, rgb(10 10 10 / 0%) 78%, rgb(10 10 10 / 22%) 100%),
    url("../images/login_bg.png") center / contain no-repeat,
    #071321;
}

.minimal-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  min-height: 100vh;
  padding: clamp(1.5rem, 2.4vw, 2.5rem);
  text-align: center;
  background: linear-gradient(180deg, #071321 0%, #08192d 100%);
  border-left: 1px solid rgb(103 216 255 / 16%);
}

.brand-mark-img {
  width: min(15rem, 100%);
  height: auto;
  object-fit: contain;
}

.minimal-title {
  margin: 0;
  color: #f7f7f4;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.16;
  font-weight: 600;
}

.access-button {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  width: 100%;
  min-height: 4rem;
  padding: 0.95rem 1rem;
  border: 1px solid #e8ff00;
  border-radius: 0.5rem;
  color: #0a0a0a;
  background: #e8ff00;
  box-shadow: 0 16px 34px rgb(232 255 0 / 20%);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.access-button:hover,
.access-button:focus-visible {
  outline: none;
  transform: translateY(-2px);
  background: #d4e800;
  box-shadow: 0 20px 42px rgb(232 255 0 / 28%);
}

.access-button strong {
  display: block;
  font-size: 1.12rem;
  line-height: 1;
  font-weight: 700;
}

.button-arrow {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgb(10 10 10 / 10%);
  font-size: 1.35rem;
  font-weight: 700;
}

.login-page {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(22rem, 1fr);
  min-height: 100vh;
  background: var(--bg);
}

.visual-panel {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  overflow: hidden;
  background: #061321;
}

.visual-panel::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, transparent 0%, rgb(7 19 33 / 4%) 65%, rgb(7 19 33 / 30%) 100%),
    linear-gradient(180deg, rgb(7 19 33 / 10%) 0%, transparent 45%, rgb(7 19 33 / 18%) 100%);
}

.visual-image {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  display: block;
  object-fit: contain;
  object-position: center;
}

.access-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  padding: clamp(1.5rem, 2.4vw, 2.5rem);
  background:
    radial-gradient(circle at 100% 0%, rgb(67 196 255 / 16%), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, var(--panel) 100%);
}

.access-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.bright-logo {
  width: clamp(3.5rem, 4.8vw, 5.25rem);
  height: auto;
  object-fit: contain;
}

.madeira-logo {
  width: min(11rem, 58%);
  height: auto;
  object-fit: contain;
}

.access-card {
  align-self: center;
  width: 100%;
  padding: clamp(1.25rem, 2vw, 2rem);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: rgb(255 255 255 / 84%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
}

.access-card h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.75rem, 2.55vw, 2.7rem);
  line-height: 1;
  font-weight: 700;
}

.description {
  margin: 1rem 0 1.75rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.primary-action {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  width: 100%;
  min-height: 3.75rem;
  padding: 0.95rem 1rem;
  border-radius: 0.85rem;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 16px 34px rgb(30 136 229 / 28%);
  font-size: 1rem;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary-action:hover,
.primary-action:focus-visible {
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgb(30 136 229 / 36%);
}

.action-icon {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  color: var(--blue-dark);
  background: rgb(255 255 255 / 84%);
  font-size: 1.25rem;
  font-weight: 700;
}

.access-footer {
  display: grid;
  gap: 0.85rem;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.amram-logo {
  width: min(9.5rem, 64%);
  height: auto;
  object-fit: contain;
}

.access-footer p {
  margin: 0;
}

@media (max-width: 1100px) {
  .login-page {
    grid-template-columns: minmax(0, 2fr) minmax(21rem, 1fr);
  }
}

@media (max-width: 860px) {
  .simple-login {
    grid-template-columns: 1fr;
    grid-template-rows: 75vh auto;
  }

  .simple-login::before {
    min-height: 75vh;
  }

  .minimal-card {
    min-height: auto;
    border-left: 0;
    border-top: 1px solid rgb(255 255 255 / 12%);
  }

  .login-page {
    grid-template-columns: 1fr;
    grid-template-rows: 42vh auto;
  }

  .visual-panel,
  .visual-image {
    min-height: 42vh;
  }

  .access-panel {
    min-height: 58vh;
  }

  .access-card {
    margin: 2rem 0;
  }
}

@media (max-width: 520px) {
  .simple-login {
    grid-template-rows: 62vh auto;
  }

  .simple-login::before {
    min-height: 62vh;
  }

  .login-page {
    grid-template-rows: 34vh auto;
  }

  .visual-panel,
  .visual-image {
    min-height: 34vh;
  }

  .access-panel {
    padding: 1rem;
  }

  .access-header {
    align-items: flex-start;
  }

  .madeira-logo {
    width: 10rem;
    max-width: 58%;
  }

.access-card {
    border-radius: 1rem;
  }
}
