/* Sagecom Next.js visual system for PortaOne signup kits. Presentation only. */
:root {
  --sc-navy: #0f2744;
  --sc-navy-light: #1a365d;
  --sc-teal: #00b8d4;
  --sc-teal-ink: #0e7490;
  --sc-slate: #64748b;
  --sc-text: #0f172a;
  --sc-muted: #64748b;
  --sc-border: #e2e8f0;
  --sc-bg: #ffffff;
  --sc-radius: 0.75rem;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #f8fafc;
  color: var(--sc-text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.sc-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
}

.sc-topbar {
  display: none;
  background: var(--sc-navy);
  color: #cbd5e1;
  font-size: 12px;
}

@media (min-width: 992px) {
  .sc-topbar {
    display: block;
  }
}

.sc-topbar-inner,
.sc-navbar-inner,
.sc-footer-inner,
.sc-footer-bottom {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.sc-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
}

.sc-topbar-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.sc-topbar a {
  color: #cbd5e1;
  text-decoration: none;
}

.sc-topbar a:hover {
  color: #fff;
}

.sc-navbar {
  border-bottom: 1px solid var(--sc-border);
  background: #fff;
}

.sc-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  position: relative;
}

.sc-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.sc-nav {
  display: none;
  gap: 0.25rem;
  align-items: center;
}

.sc-nav a {
  color: #334155;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
}

.sc-nav a:hover {
  color: var(--sc-teal-ink);
}

.sc-nav-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.sc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--sc-radius);
  font-weight: 600;
  text-decoration: none;
  padding: 0.5rem 1rem;
  font-size: 14px;
  line-height: 1.25;
  border: 1px solid transparent;
}

.sc-btn-primary {
  background: var(--sc-teal-ink);
  color: #fff;
}

.sc-btn-primary:hover {
  background: #0b5d74;
  color: #fff;
}

.sc-btn-secondary {
  background: #fff;
  color: var(--sc-navy);
  border-color: var(--sc-border);
}

.sc-btn-secondary:hover {
  border-color: var(--sc-teal-ink);
  color: var(--sc-teal-ink);
}

.sc-login {
  position: relative;
}

.sc-login-toggle {
  background: transparent;
  border: 0;
  color: #334155;
  font-size: 14px;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
}

.sc-login-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 12rem;
  background: #fff;
  border: 1px solid var(--sc-border);
  border-radius: 0.75rem;
  box-shadow: 0 8px 24px rgba(15, 39, 68, 0.12);
  padding: 0.35rem 0;
  z-index: 20;
}

.sc-login:hover .sc-login-menu,
.sc-login:focus-within .sc-login-menu {
  display: block;
}

.sc-login-menu a {
  display: block;
  padding: 0.6rem 1rem;
  color: #334155;
  text-decoration: none;
  font-size: 14px;
}

.sc-login-menu a:hover {
  background: #f8fafc;
  color: var(--sc-teal-ink);
}

.sc-nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sc-nav-burger {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sc-nav-burger span,
.sc-nav-burger span:before,
.sc-nav-burger span:after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--sc-navy);
  content: "";
  position: relative;
}

.sc-nav-burger span:before {
  position: absolute;
  top: -6px;
}

.sc-nav-burger span:after {
  position: absolute;
  top: 6px;
}

@media (min-width: 768px) {
  .sc-nav,
  .sc-nav-actions {
    display: flex;
  }
  .sc-nav-burger {
    display: none;
  }
}

@media (max-width: 767px) {
  .sc-nav-toggle:checked ~ .sc-nav,
  .sc-nav-toggle:checked ~ .sc-nav-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--sc-border);
    padding: 0.75rem 1rem 1rem;
    z-index: 30;
  }
}

.sc-signup-main {
  max-width: 56rem;
  margin: 2rem auto 3rem;
  padding: 0 1rem 2rem;
}

#main.sc-signup-main,
#main.container {
  max-width: 56rem;
  margin: 2rem auto 3rem;
  padding: 1.5rem 1rem 3rem;
  text-align: left;
}

#main .alert {
  border-radius: 1rem;
  text-align: left;
  padding: 0.9rem 1.1rem;
}

#main .alert-danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

#main .alert-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

#main .alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

#main .alert-info {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #075985;
}

form[name="websubscr"],
#main .jumbotron,
#main .panel {
  background: #fff;
  border: 1px solid var(--sc-border);
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(15, 39, 68, 0.08), 0 4px 12px rgba(15, 39, 68, 0.06);
  padding: 1.5rem;
}

form[name="websubscr"] h3,
#main h3,
#main h1,
#confirm_title {
  color: var(--sc-navy);
  font-weight: 700;
}

#navbar.sn66_nav_class,
#navbar.nav-tabs {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.25rem;
  border: 0 !important;
  margin: 0 0 0.75rem !important;
  padding: 0;
}

#navbar > li {
  flex: 1 1 auto;
  text-align: center;
  border: 0 !important;
  float: none !important;
}

#navbar > li > a {
  color: var(--sc-muted) !important;
  font-size: 12px;
  font-weight: 600;
  border: 0 !important;
  background: transparent !important;
  padding: 0.5rem 0.35rem !important;
}

#navbar > li.active > a,
#navbar > li.active > a:hover,
#navbar > li.active > a:focus {
  color: var(--sc-teal-ink) !important;
  border-bottom: 2px solid var(--sc-teal) !important;
  background: transparent !important;
}

.progress {
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  box-shadow: none;
  overflow: hidden;
}

#progress-bar,
.progress-bar {
  background: var(--sc-teal) !important;
  box-shadow: none;
}

.form-control,
select.form-control,
textarea.form-control,
input.form-control {
  border: 1px solid var(--sc-border) !important;
  border-radius: 0.75rem !important;
  min-height: 42px;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  padding: 0.55rem 0.8rem !important;
  color: var(--sc-text);
}

.form-control:focus {
  border-color: var(--sc-teal) !important;
  outline: 2px solid rgba(0, 184, 212, 0.25);
}

.control-label {
  color: #334155;
  font-weight: 600;
}

#next-button,
#back-button,
#finish-button,
#send_sms .btn,
#copy-address,
.btn-primary,
.btn-default {
  height: auto !important;
  margin: 0 !important;
  min-width: 7.5rem;
  padding: 0.75rem 1.35rem !important;
  border-radius: 0.75rem !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  box-shadow: none !important;
}

#next-button,
#finish-button,
.btn-primary,
a.btn-primary {
  background: var(--sc-teal-ink) !important;
  border-color: var(--sc-teal-ink) !important;
  color: #fff !important;
}

#back-button,
.btn-default {
  background: #fff !important;
  color: var(--sc-navy) !important;
  border: 1px solid var(--sc-border) !important;
}

#submit-button {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  margin-top: 1rem;
}

#termstext {
  margin-left: 0 !important;
  padding: 1rem !important;
  height: 10rem !important;
  max-height: 16rem !important;
}

.sc-footer {
  background: var(--sc-navy);
  color: #cbd5e1;
  margin-top: 2rem;
}

.sc-footer-inner {
  padding: 3rem 1rem 2rem;
}

.sc-footer-brand p {
  max-width: 24rem;
  color: #94a3b8;
  font-size: 14px;
}

.sc-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.sc-footer-grid > * {
  min-width: 0;
}

.sc-footer h3 {
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.sc-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sc-footer li + li {
  margin-top: 0.4rem;
}

.sc-footer a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.sc-footer a:hover {
  color: var(--sc-teal);
}

.sc-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 1rem;
  font-size: 14px;
  color: #94a3b8;
}

.sc-logo-dark img {
  height: 56px;
  width: auto;
}

.modal-wrapper {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
  background: rgba(15, 39, 68, 0.45);
  z-index: 9999;
}

.price-modal-container {
  width: min(52rem, 92vw);
  max-height: 86vh;
  margin: 4rem auto;
  background: #fff;
  overflow-y: auto;
  padding: 2rem;
  border-radius: 1rem;
}

.accordion {
  min-height: 3.5rem;
  width: 100%;
  margin: 0.75rem auto 0;
  background: linear-gradient(to right, #0e7490, #00b8d4);
  color: #fff;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
}

.info {
  height: 0;
  overflow: hidden;
  background: #fff;
}

.info.reveal {
  height: auto;
  border: 1px solid #99f6e4;
  border-radius: 0 0 0.75rem 0.75rem;
  padding: 0.75rem 1rem;
}

@media (max-width: 767px) {
  #navbar > li > a {
    font-size: 11px;
  }
  #submit-button {
    flex-direction: column;
  }
  #submit-button .col-md-3,
  #back-button-wrapper,
  #next-button-wrapper {
    width: 100%;
    margin: 0 !important;
  }
  #next-button,
  #back-button,
  #finish-button {
    width: 100%;
  }
}
