:root {
  --shutdown-banner-gap: 1.25rem;
}

/* Planflow shutdown banner and notice styles */

body.shutdown-active {
  padding-top: 0;
}

.shutdown-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #1a1a1a;
  color: #f5f5f5;
  border-bottom: 3px solid #ffe629;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.shutdown-banner__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.875rem 1.5rem 1.125rem;
}

.shutdown-banner__headline {
  margin: 0 0 0.375rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: #ffe629;
}

.shutdown-banner__body {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #e5e5e5;
}

.shutdown-banner__body a {
  color: #ffe629;
  text-decoration: underline;
}

.shutdown-banner__body a:hover {
  color: #fff;
}

.shutdown-banner__support {
  margin: 0.375rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #a3a3a3;
}

.shutdown-banner__support a {
  color: #ffe629;
  text-decoration: underline;
}

body.shutdown-active .navbar {
  top: calc(var(--shutdown-banner-height, 5.5rem) + var(--shutdown-banner-gap, 1.25rem));
}

body.shutdown-active.has-shutdown-banner {
  padding-top: calc(var(--shutdown-banner-height, 5.5rem) + var(--shutdown-banner-gap, 1.25rem));
}

.shutdown-notice {
  padding: 2rem;
  background: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: 0.5rem;
  max-width: 32rem;
}

.shutdown-notice__headline {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
}

.shutdown-notice__body {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #404040;
}

.shutdown-notice__body a {
  color: #1a1a1a;
  text-decoration: underline;
}

.shutdown-notice__support {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #525252;
}

.shutdown-notice__support a {
  color: #1a1a1a;
  font-weight: 600;
}

.shutdown-login-note {
  max-width: 28rem;
  margin: 0 auto 1.5rem;
  padding: 1rem 1.25rem;
  background: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #404040;
  text-align: center;
}

.shutdown-login-note a {
  color: #1a1a1a;
  text-decoration: underline;
}

.shutdown-cta-replacement {
  padding: 1rem 0;
}

.shutdown-cta-replacement p {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #a3a3a3;
}

.shutdown-cta-replacement p:last-child {
  margin-bottom: 0;
}

.shutdown-cta-replacement a {
  color: #ffe629;
  text-decoration: underline;
}

a.shutdown-disabled,
button.shutdown-disabled,
input.shutdown-disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

@media (max-width: 767px) {
  .shutdown-banner__inner {
    padding: 0.75rem 1rem;
  }

  .shutdown-banner__headline {
    font-size: 0.9375rem;
  }

  .shutdown-banner__body,
  .shutdown-banner__support {
    font-size: 0.8125rem;
  }

  body.shutdown-active.has-shutdown-banner {
    padding-top: calc(var(--shutdown-banner-height, 7rem) + var(--shutdown-banner-gap, 1.25rem));
  }

  .shutdown-notice {
    padding: 1.5rem;
  }

  .shutdown-notice__headline {
    font-size: 1.25rem;
  }
}
