:root {
  --bg: #f5f5f7;
  --card: #ffffff;
  --text: #1f2328;
  --muted: #59636e;
  --accent: #0057b8;
  --accent-hover: #00489a;
  --brand-top: #c10059;
  --hero-deep: #7a0013;
  --hero-mid: #b41134;
  --hero-light: #ff6d88;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Verdana", sans-serif;
  background: var(--bg);
  color: var(--text);
}

.container {
  max-width: 840px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.card {
  background: var(--card);
  border: 1px solid #d1d9e0;
  border-radius: 8px;
  padding: 1.5rem;
}

.button {
  display: inline-block;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 0.9rem;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--accent-hover);
}

.button.secondary {
  background: #6c7782;
}

.button.secondary:hover {
  background: #5a646e;
}

.home-page {
  background: #ececec;
}

.home-main {
  width: 100%;
}

.top-login-bar {
  background: linear-gradient(90deg, #b10049, #cd1466);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 1rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.top-login-left,
.top-login-right {
  font-weight: 700;
  white-space: nowrap;
}

.top-login-form {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: center;
}

.top-login-form label {
  font-weight: 700;
}

.top-login-form input[type="text"] {
  width: 110px;
  border-radius: 999px;
  border: 0;
  outline: 0;
  padding: 0.33rem 0.6rem;
  background: #fff;
}

.ok-button {
  background: #2f2f2f;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0.35rem 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.remember-toggle {
  display: inline-flex;
  gap: 0.2rem;
  align-items: center;
  text-transform: none;
}

.hero-wrap {
  min-height: 520px;
  display: grid;
  grid-template-columns: 180px 1fr 280px;
  position: relative;
  background: radial-gradient(circle at 58% 40%, #ff8aa2 0%, transparent 28%),
    linear-gradient(105deg, var(--hero-deep) 0%, var(--hero-mid) 53%, var(--hero-light) 100%);
  overflow: hidden;
}

.left-menu {
  background: rgba(248, 248, 248, 0.95);
  padding: 1.25rem 0;
  border-right: 1px solid #c8c8c8;
}

.brand {
  color: #fff;
  background: #b50035;
  margin: 0 0.9rem 1rem;
  border-radius: 4px;
  padding: 0.8rem;
  font-size: 2rem;
  font-weight: 800;
  text-transform: lowercase;
}

.menu-cta {
  display: block;
  margin: 0.55rem 0.9rem;
  padding: 0.68rem 0.75rem;
  text-decoration: none;
  color: #fff;
  background: #d10e46;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 3px;
}

.menu-cta.alt {
  background: #2f4aa0;
}

.menu-list {
  list-style: none;
  margin: 0.95rem 0.7rem 0;
  padding: 0;
  background: #fff;
  border: 1px solid #dfdfdf;
}

.menu-list li {
  padding: 0.82rem;
  font-size: 0.92rem;
  border-bottom: 1px solid #efefef;
}

.menu-list li:last-child {
  border-bottom: 0;
}

.hero-content {
  padding: 3.6rem 3rem 2rem;
  color: #fff;
}

.hero-kicker {
  margin: 0;
  font-size: 0.9rem;
  text-transform: uppercase;
  opacity: 0.9;
}

.hero-content h1 {
  margin: 0.5rem 0 0;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.06;
  max-width: 700px;
}

.hero-subtitle {
  margin: 1rem 0 0;
  font-size: 1.8rem;
  font-style: italic;
  font-weight: 700;
}

.hero-button {
  display: inline-block;
  margin-top: 2rem;
  background: #fff;
  color: #8f0628;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.hero-dots {
  margin-top: 6.7rem;
  display: flex;
  gap: 0.45rem;
}

.hero-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.hero-dots span.active {
  background: #f1154f;
}

.hero-circles {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.7rem;
  padding-bottom: 1.35rem;
}

.circle {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  display: grid;
  place-items: center;
  border: 4px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 11px 20px rgba(0, 0, 0, 0.28);
}

.circle.one {
  background: linear-gradient(120deg, #4c5867, #1e2329);
}

.circle.two {
  background: linear-gradient(120deg, #72625a, #2f2521);
}

.circle.three {
  background: linear-gradient(120deg, #4f8350, #233f27);
}

.products-strip {
  background: #e2e2e2;
  padding: 1.6rem 1.4rem 2.2rem;
}

.products-strip h2 {
  margin: 0;
  text-align: center;
  font-size: 2rem;
}

.product-grid {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  gap: 0.9rem;
}

.product-grid article {
  min-height: 118px;
  background: #f6f6f6;
  border-radius: 6px;
  padding: 0.65rem;
  text-align: center;
  font-size: 0.94rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.notes-strip {
  background: #fff;
  padding: 0.8rem 1rem;
  border-top: 1px solid #d8d8d8;
}

.notes-strip p {
  margin: 0;
  color: #4f4f4f;
  font-size: 0.88rem;
}

.auth-hero-wrap {
  min-height: 560px;
  display: grid;
  grid-template-columns: 180px 1fr;
  background: radial-gradient(circle at 70% 20%, rgba(255, 172, 191, 0.42) 0%, transparent 40%),
    linear-gradient(118deg, #82001a 0%, #b40f35 58%, #d84f73 100%);
}

.auth-menu {
  min-height: 100%;
}

.logout-form {
  margin: 0;
}

.logout-cta {
  width: calc(100% - 1.8rem);
  margin: 0.55rem 0.9rem;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.auth-content {
  color: #fff;
  padding: 3rem 2.5rem;
}

.auth-content h1 {
  margin: 0.45rem 0 0;
  font-size: clamp(2rem, 4vw, 3.15rem);
}

.auth-subtitle {
  margin: 0.85rem 0 1.5rem;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 760px;
}

.claims-panel {
  margin-top: 1.1rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  color: #222;
  padding: 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 15px 30px rgba(35, 0, 12, 0.24);
}

.claims-panel h2 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  color: #8a0f2f;
}

.claims-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.65rem;
}

.claims-table td {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #ead6dc;
  padding: 0.72rem 0.8rem;
  font-size: 1rem;
  word-break: break-word;
  color: #1f1f1f;
}

.claims-table strong {
  color: #aa3354;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
}

.open-account-wrap {
  min-height: 560px;
}

.open-account-content {
  padding-top: 2.6rem;
}

.open-account-form {
  display: grid;
  gap: 0.55rem;
}

.open-account-form label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #8a0f2f;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.open-account-form input {
  width: 100%;
  border: 1px solid #d6b6c2;
  border-radius: 8px;
  padding: 0.68rem 0.72rem;
  font: inherit;
}

.open-account-actions {
  margin-top: 0.65rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

@media (max-width: 1100px) {
  .hero-wrap {
    grid-template-columns: 180px 1fr;
  }

  .hero-circles {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(140px, 1fr));
  }
}

@media (max-width: 760px) {
  .top-login-bar {
    gap: 0.8rem;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .top-login-form {
    justify-content: center;
  }

  .hero-wrap {
    grid-template-columns: 1fr;
  }

  .left-menu {
    border-right: 0;
    border-bottom: 1px solid #c8c8c8;
  }

  .hero-content {
    padding: 2.2rem 1rem;
  }

  .hero-content h1 {
    font-size: 2.1rem;
  }

  .hero-subtitle {
    font-size: 1.15rem;
  }

  .hero-dots {
    margin-top: 2.6rem;
  }

  .products-strip h2 {
    font-size: 1.45rem;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .auth-content {
    padding: 2rem 1rem;
  }

}
