/**
 * Auth shell — login / register / checkout identity screens
 * Brand teal: #85A6B0 / #5F818C / #E8F0F2
 */

:root {
  --auth-teal: #5F818C;
  --auth-teal-hover: #4a6a74;
  --auth-teal-soft: #85A6B0;
  --auth-tint: #E8F0F2;
  --auth-text: #243b53;
  --auth-muted: #5b6b7c;
  --auth-border: #d5e2e6;
  --auth-radius: 8px;
}

/* ——— Notices (P0) ——— */
.checkout-notice {
  padding: 12px 14px;
  border-radius: var(--auth-radius);
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  color: var(--auth-text);
}
.checkout-notice--error {
  border-color: #e8d4d4;
  background: #fbf6f6;
}
.checkout-notice--info {
  border-color: var(--auth-border);
  background: #f4f8f9;
}
.checkout-notice-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--auth-text);
}
.checkout-notice-body {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #4b5563;
}
.checkout-notice-actions {
  margin-top: 8px;
}
.checkout-notice-link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--auth-teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.checkout-notice-link:hover,
.checkout-notice-link:focus {
  color: var(--auth-teal-hover);
}

/* ——— Buttons ——— */
.btn-auth-primary {
  background-color: var(--auth-teal);
  border-color: var(--auth-teal);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  padding: 0.7rem 1rem;
  white-space: normal;
}
.btn-auth-primary:hover,
.btn-auth-primary:focus {
  background-color: var(--auth-teal-hover);
  border-color: var(--auth-teal-hover);
  color: #fff;
}
.btn-auth-secondary {
  background-color: #fff;
  border: 1px solid var(--auth-teal-soft);
  color: var(--auth-teal);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  padding: 0.7rem 1rem;
  white-space: normal;
}
.btn-auth-secondary:hover,
.btn-auth-secondary:focus {
  background-color: var(--auth-tint);
  border-color: var(--auth-teal);
  color: var(--auth-teal-hover);
}
.btn-auth-guest {
  background-color: transparent;
  border: 2px solid var(--auth-teal-soft);
  color: var(--auth-teal);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  padding: 0.7rem 1rem;
  white-space: normal;
}
.btn-auth-guest:hover,
.btn-auth-guest:focus {
  background-color: var(--auth-tint);
  border-color: var(--auth-teal);
  color: var(--auth-teal-hover);
}

/* Auth CTA-rij: op xs stapelen (lange FR-labels), vanaf sm naast elkaar */
.auth-shell .auth-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.25rem;
}
.auth-shell .auth-actions > .btn {
  width: 100%;
}
@media (min-width: 576px) {
  .auth-shell .auth-actions {
    flex-direction: row;
  }
  .auth-shell .auth-actions > .btn {
    flex: 1 1 0;
    width: auto;
  }
}

/* Bootstrap btn-lg op auth-pagina's terugschalen */
.auth-shell .btn.btn-lg,
body#account.auth-page .btn.btn-lg {
  font-size: 0.875rem;
  padding: 0.7rem 1rem;
  line-height: 1.35;
}

/* ——— Shell ——— */
.auth-shell {
  padding-top: 1.25rem;
  padding-bottom: 2.5rem;
  color: var(--auth-text);
}
.auth-shell--narrow {
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}
.auth-shell--wide {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}
.auth-shell__title,
body#account.auth-page .auth-shell__title,
body#account.auth-page h1.auth-shell__title,
body#account.auth-page h2.auth-shell__title,
body#account.auth-page h3.auth-shell__title,
body#account.auth-page .paginatitel-ED.color-evelinesdesign,
body#account.auth-page .paginatitel {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--auth-teal) !important;
  letter-spacing: 0;
}
.auth-shell__intro {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--auth-muted);
}
.auth-shell__intro p {
  margin-bottom: 0.35rem;
}
.auth-shell__intro .small,
.auth-shell__intro .text-muted {
  color: #6b7c8a !important;
}
.auth-shell__rule {
  height: 2px;
  border: 0;
  margin: 0 0 1.25rem;
  background: linear-gradient(90deg, var(--auth-teal-soft), transparent 85%);
}
/* Neutraliseer rainbow colorgraph op auth-pagina's */
body#account.auth-page hr.colorgraph {
  height: 2px;
  border: 0;
  margin: 0 0 1.25rem;
  background: linear-gradient(90deg, var(--auth-teal-soft), transparent 85%);
}

.auth-shell__panel {
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .auth-shell__panel {
    padding: 1.25rem 1.35rem;
    background: #fff;
    border: 1px solid var(--auth-border);
    border-radius: 10px;
  }
  .auth-shell--split .auth-shell__panel {
    height: 100%;
  }
}

.auth-shell__notice {
  margin-bottom: 1rem;
}
.auth-shell__notice--success .checkout-notice {
  border-color: var(--auth-teal-soft);
  background: var(--auth-tint);
}
.auth-shell__notice:focus {
  outline: 2px solid var(--auth-teal-soft);
  outline-offset: 2px;
}

/* Forms */
body#account.auth-page .form-control,
.auth-shell .form-control {
  border-color: #cfd9de;
  border-radius: 6px;
  color: var(--auth-text);
}
body#account.auth-page .form-control:focus,
.auth-shell .form-control:focus {
  border-color: var(--auth-teal-soft);
  box-shadow: 0 0 0 0.15rem rgba(95, 129, 140, 0.2);
}
body#account.auth-page label,
.auth-shell label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--auth-text);
  margin-bottom: 0.35rem;
}
body#account.auth-page .form-group,
.auth-shell .form-group {
  margin-bottom: 1rem;
}
.auth-shell a:not(.btn) {
  color: var(--auth-teal);
}
.auth-shell a:not(.btn):hover {
  color: var(--auth-teal-hover);
}
.auth-shell__alt-link {
  font-size: 0.9rem;
  color: var(--auth-muted);
}
.auth-shell__alt-link a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Checkout steps */
.checkout-steps ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.checkout-steps .list-inline-item {
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  color: var(--auth-muted);
}
.checkout-steps .list-inline-item[aria-current="step"],
.checkout-steps .list-inline-item.fw-bold {
  background: var(--auth-tint);
  color: var(--auth-teal);
  font-weight: 600;
}

/* Address cards (guest + complete) */
body#account.auth-page .auth-card,
body#account.auth-page.guest-address .card {
  border: 1px solid var(--auth-border);
  border-radius: 10px;
  box-shadow: none;
  overflow: hidden;
}
body#account.auth-page .auth-card .card-header,
body#account.auth-page.guest-address .card-header {
  background: var(--auth-tint);
  border-bottom: 1px solid var(--auth-border);
  color: var(--auth-text);
}
body#account.auth-page .auth-card .card-header h5,
body#account.auth-page.guest-address .card-header h5 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--auth-teal);
}
body#account.auth-page .auth-callout {
  padding: 12px 14px;
  margin-bottom: 1.25rem;
  border-radius: var(--auth-radius);
  border: 1px solid var(--auth-border);
  background: var(--auth-tint);
  color: var(--auth-text);
}
body#account.auth-page .auth-callout h4 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--auth-teal);
}
body#account.auth-page .auth-callout p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--auth-muted);
}

/* Login modal */
#LoginModal .modal-header-color {
  background-color: var(--auth-tint) !important;
  border-bottom: 1px solid var(--auth-border);
}
#LoginModal .modal-title {
  color: var(--auth-teal);
  font-weight: 600;
}
#LoginModal .modal-content {
  border-radius: 10px;
  border-color: var(--auth-border);
}
#LoginModal .form-control:focus {
  border-color: var(--auth-teal-soft);
  box-shadow: 0 0 0 0.15rem rgba(95, 129, 140, 0.2);
}

/* Extra ruimte boven footer op adrespagina's */
body#account.auth-page.guest-address .kippers-content-layout {
  padding-bottom: 3rem;
}
body#account.auth-page .guest-address-buttons,
body#account.auth-page .user-complete-address-buttons {
  margin-bottom: 3rem;
}

/* Inset on xs */
@media (max-width: 767.98px) {
  body#account.auth-page .kippers-content-layout {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
    max-width: 100%;
  }

  body#account.auth-page .kippers-content-layout > [class*="col-"],
  body#account.auth-page .kippers-content-layout > .col-12 {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .auth-shell {
    padding-top: 0.75rem;
    padding-bottom: 2rem;
  }

  .auth-shell__title,
  body#account.auth-page .auth-shell__title,
  body#account.auth-page .paginatitel-ED.color-evelinesdesign {
    font-size: 1.35rem;
  }
}
