* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #EFEEE7;
  color: #002642;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-weight: 400;
}

a { color: inherit; }

/* --- HEADER / NAV (same layout as rest of the site) --- */
header {
  background: #EFEEE7;
  padding: 1rem 2rem 1.5rem;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-left img {
  display: block;
  height: 48px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #002642;
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 48px;
}

.nav-links a:hover { color: #8C2F01; }

.nav-links a.active {
  color: #8C2F01;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  padding: 0.55rem 1.1rem;
  font-weight: 700;
  border-radius: 8px;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  border: 2px solid transparent;
  display: inline-block;
  font-family: inherit;
}

.btn-secondary {
  background: transparent;
  border-color: #002642;
  color: #002642;
}

.btn-secondary:hover {
  background: #002642;
  color: #fff;
}

.btn-primary {
  background: #B83E01;
  border-color: #B83E01;
  color: #fff;
}

.btn-primary:hover {
  background: #8C2F01;
  border-color: #8C2F01;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span {
  height: 3px;
  width: 25px;
  background: #002642;
  margin: 4px 0;
  border-radius: 2px;
}

.full-width-line {
  border: none;
  height: 5px;
  background-color: #B83E01;
  width: 100vw;
  margin: 0;
}

/* --- AUTH CARD --- */
.auth-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
}

.auth-card {
  width: 100%;
  max-width: 430px;
  background: #FAF8F2;
  border: 1px solid #E3E1D6;
  border-radius: 14px;
  padding: 2.25rem 2.25rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.auth-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.auth-brand img {
  height: 44px;
  width: auto;
  display: block;
}

.auth-card h1 {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  text-align: center;
  color: #002642;
}

.auth-sub {
  text-align: center;
  color: #5A5A55;
  font-size: 0.95rem;
  margin: 0.4rem 0 1.6rem;
}

.field {
  margin-bottom: 1.05rem;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #002642;
  margin-bottom: 6px;
}

.field input {
  width: 100%;
  padding: 11px 12px;
  border-radius: 8px;
  border: 1px solid #E3E1D6;
  font-family: inherit;
  font-size: 1rem;
  background: #EFEEE7;
  color: #002642;
  outline: none;
  transition: border-color 0.2s ease;
}

.field input:focus {
  border-color: #B83E01;
}

.field input::placeholder { color: #9A968B; }

.password-wrap { position: relative; }

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

.toggle-pw {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #5A5A55;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px;
}

.toggle-pw:hover { color: #B83E01; }

.auth-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.35rem;
  font-size: 0.9rem;
}

.remember {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #5A5A55;
  cursor: pointer;
  font-size: 0.9rem;
}

.remember input { accent-color: #B83E01; }

a.forgot {
  color: #B83E01;
  text-decoration: none;
  font-weight: 600;
}

a.forgot:hover { color: #8C2F01; }

.auth-btn {
  width: 100%;
  justify-content: center;
  padding: 0.8rem;
  font-size: 1.05rem;
  border-radius: 8px;
}

.form-msg {
  display: none;
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  background: #FCEBEB;
  border: 1px solid #E3E1D6;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #5A5A55;
  line-height: 1.45;
  text-align: center;
}

.form-msg.show { display: block; }

.auth-alt {
  text-align: center;
  margin-top: 1.4rem;
  font-size: 0.95rem;
  color: #5A5A55;
}

.auth-alt a {
  color: #B83E01;
  font-weight: 700;
  text-decoration: none;
}

.auth-alt a:hover { color: #8C2F01; }

.terms-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: #5A5A55;
  margin-bottom: 1.4rem;
  line-height: 1.45;
  cursor: pointer;
}

.terms-row input {
  accent-color: #B83E01;
  margin-top: 2px;
  flex-shrink: 0;
}

.terms-row a { color: #B83E01; text-decoration: none; font-weight: 600; }
.terms-row a:hover { color: #8C2F01; }

.name-row { display: flex; gap: 12px; }
.name-row .field { flex: 1; }

/* --- FOOTER --- */
footer {
  background: transparent;
  padding: 1rem 2rem 2rem;
  font-weight: 700;
}

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

.newsletter-form input {
  padding: 0.5rem;
  border-radius: 5px;
  border: 1px solid #E3E1D6;
  height: 42px;
  font-size: 1rem;
  font-family: inherit;
  background: #FAF8F2;
  color: #002642;
}

.newsletter-form input:focus { outline: none; border-color: #B83E01; }

.newsletter-form button {
  height: 42px;
  font-size: 1rem;
}

.newsletter-form button[type="submit"] {
  background: #B83E01;
  border: 2px solid #B83E01;
  color: #fff;
  border-radius: 5px;
  margin-left: 0.5rem;
  padding: 0.5rem 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.newsletter-form button[type="submit"]:hover {
  background: #8C2F01;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid #E3E1D6;
  padding-top: 1rem;
  color: #B83E01;
}

/* --- MOBILE --- */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-left,
  .nav-right {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    display: none;
  }

  .nav-left.active,
  .nav-right.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .name-row { flex-direction: column; gap: 0; }
}