:root {
  --bp-ink: #172033;
  --bp-muted: #667085;
  --bp-line: #e6e9ef;
  --bp-soft: #f6f7fb;
  --bp-panel: rgba(255, 255, 255, 0.92);
  --bp-primary: #0d6efd;
  --bp-primary-dark: #084dbf;
  --bp-accent: #17a2b8;
  --bp-good: #12805c;
  --bp-shadow: 0 22px 60px rgba(23, 32, 51, 0.12);
}

body {
  background:
    radial-gradient(circle at 12% 12%, rgba(13, 110, 253, 0.12), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(23, 162, 184, 0.14), transparent 24%),
    linear-gradient(180deg, #fff 0%, var(--bp-soft) 46%, #eef3f8 100%) !important;
  color: var(--bp-ink) !important;
  min-height: 100vh;
}

.business-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.84) !important;
  border-bottom: 1px solid rgba(230, 233, 239, 0.9) !important;
  box-shadow: 0 10px 30px rgba(23, 32, 51, 0.05);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 18px 28px;
  position: sticky;
  top: 0;
  z-index: 30;
}

.business-brand {
  align-items: center;
  display: inline-flex;
  font-size: 22px;
  font-weight: 800 !important;
  gap: 10px;
}

.business-brand span {
  align-items: center;
  background: var(--bp-primary);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.business-brand img {
  display: block;
  max-height: 70px;
  max-width: 220px;
  object-fit: contain;
}

.business-header nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.business-header nav a {
  border-radius: 999px;
  color: var(--bp-ink) !important;
  padding: 9px 12px;
}

.business-header nav a:last-child {
  background: rgba(13, 110, 253, 0.1);
  color: var(--bp-primary-dark) !important;
}

.business-shell {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 1240px !important;
  padding: clamp(22px, 4vw, 54px) !important;
  width: 100%;
}

.portal-hero {
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(23, 32, 51, 0.88), rgba(23, 32, 51, 0.64)),
    url("../img/hero/h1_hero.jpg") center / cover;
  border-radius: 8px;
  box-shadow: var(--bp-shadow);
  color: #fff;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 360px;
  margin-bottom: 26px;
  min-height: 260px;
  overflow: hidden;
  padding: clamp(26px, 4vw, 44px);
  position: relative;
}

.portal-hero::after {
  background: linear-gradient(90deg, var(--bp-primary), var(--bp-accent));
  bottom: 0;
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  right: 0;
}

.portal-hero h1 {
  color: #fff;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  margin: 10px 0 12px;
}

.portal-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.6;
  max-width: 680px;
}

.portal-eyebrow {
  color: #ffbec8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.portal-hero-panel {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  padding: 20px;
}

.portal-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.portal-steps li {
  align-items: center;
  display: flex;
  gap: 10px;
  list-style: none;
}

.portal-steps span {
  align-items: center;
  background: #fff;
  border-radius: 50%;
  color: var(--bp-primary-dark);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.business-grid {
  gap: 20px !important;
}

.business-card {
  background: var(--bp-panel) !important;
  border: 1px solid rgba(230, 233, 239, 0.9) !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 34px rgba(23, 32, 51, 0.07);
  overflow: hidden;
  padding: clamp(20px, 3vw, 30px) !important;
}

.business-card h1,
.business-card h2,
.business-card h3 {
  color: var(--bp-ink);
  font-weight: 800;
  letter-spacing: 0;
}

.business-card h1 {
  font-size: clamp(30px, 4vw, 44px);
}

.business-section {
  border-top: 1px solid var(--bp-line) !important;
  margin-top: 28px !important;
  padding-top: 28px !important;
}

.business-section h2 {
  align-items: center;
  display: flex;
  font-size: 24px;
  gap: 10px;
}

.business-section h2::before {
  background: linear-gradient(135deg, var(--bp-primary), var(--bp-accent));
  border-radius: 8px;
  content: "";
  display: inline-block;
  height: 30px;
  width: 6px;
}

.form-control {
  background: #fff !important;
  border: 1px solid var(--bp-line) !important;
  border-radius: 8px !important;
  min-height: 48px !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.form-control:focus {
  border-color: rgba(13, 110, 253, 0.58) !important;
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.12) !important;
  outline: none;
}

textarea.form-control {
  line-height: 1.55;
}

.form-label {
  color: #344054 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

.button {
  align-items: center;
  background: var(--bp-primary) !important;
  border: 1px solid var(--bp-primary) !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 26px rgba(13, 110, 253, 0.22);
  color: #fff !important;
  display: inline-flex !important;
  font-weight: 800 !important;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.button:hover {
  box-shadow: 0 16px 34px rgba(13, 110, 253, 0.28);
  text-decoration: none;
  transform: translateY(-2px);
}

.button.secondary {
  background: #fff !important;
  border-color: var(--bp-line) !important;
  box-shadow: none;
  color: var(--bp-ink) !important;
}

.notice {
  border-radius: 8px !important;
  border: 1px solid transparent;
}

.notice-success {
  background: rgba(18, 128, 92, 0.1) !important;
  border-color: rgba(18, 128, 92, 0.18);
  color: var(--bp-good) !important;
}

.notice-error {
  background: rgba(13, 110, 253, 0.1) !important;
  border-color: rgba(13, 110, 253, 0.18);
  color: var(--bp-primary-dark) !important;
}

.service-row,
.photo-card,
.category-choice {
  background: #fff !important;
  border: 1px solid var(--bp-line) !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 20px rgba(23, 32, 51, 0.04);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.service-row:hover,
.photo-card:hover,
.category-choice:hover {
  border-color: rgba(13, 110, 253, 0.34) !important;
  box-shadow: 0 18px 40px rgba(23, 32, 51, 0.1);
  transform: translateY(-2px);
}

.service-row {
  padding: 18px !important;
}

.category-choice {
  align-items: center;
  min-height: 118px !important;
}

.category-choice span {
  font-size: 16px;
}

.photo-card img,
.service-thumb {
  border-radius: 8px !important;
}

.business-table {
  background: #fff;
  border: 1px solid var(--bp-line);
  border-radius: 8px;
  border-collapse: separate !important;
  border-spacing: 0;
  overflow: hidden;
}

.business-table th {
  background: #f8fafc;
  color: #344054 !important;
}

.status-pill {
  border-radius: 999px !important;
  font-weight: 800;
  padding: 6px 12px !important;
}

.share-link-panel {
  align-items: center;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.08), rgba(23, 162, 184, 0.08));
  border: 1px solid var(--bp-line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 1.2fr) auto auto;
  margin: 18px 0 22px;
  padding: 16px;
}

.listing-tabs {
  margin-top: 28px;
}

.tab-nav {
  background: #fff;
  border: 1px solid var(--bp-line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 8px;
  position: sticky;
  top: 86px;
  z-index: 15;
}

.tab-button {
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--bp-muted);
  cursor: pointer;
  font-weight: 800;
  min-height: 48px;
  padding: 10px 12px;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.tab-button:hover,
.tab-button.active {
  background: var(--bp-primary);
  color: #fff;
  transform: translateY(-1px);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  animation: tabFade 0.22s ease;
  display: block;
}

@keyframes tabFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-layout {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 430px;
  margin: 0 auto;
  max-width: 1040px;
  min-height: calc(100vh - 156px);
  width: 100%;
}

.auth-art {
  background:
    linear-gradient(145deg, rgba(23, 32, 51, 0.86), rgba(23, 32, 51, 0.55)),
    url("../img/gallery/section_bg03.png") center / cover;
  border-radius: 8px;
  box-shadow: var(--bp-shadow);
  color: #fff;
  min-height: 540px;
  padding: 34px;
}

.auth-art h1 {
  color: #fff;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.04;
  margin: 12px 0;
}

.auth-art p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.6;
}

.auth-metrics {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
}

.auth-metrics div {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 14px;
}

.auth-metrics strong {
  display: block;
  font-size: 22px;
}

.auth-card {
  align-self: center;
  justify-self: center;
  max-width: 430px;
  width: 100%;
}

.auth-card-logo {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
  min-height: 58px;
}

.auth-card-logo img {
  display: block;
  max-height: 70px;
  max-width: 220px;
  object-fit: contain;
}

.auth-card-logo span {
  align-items: center;
  background: var(--bp-primary);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 22px;
  font-weight: 900;
  height: 52px;
  justify-content: center;
  width: 52px;
}

@media (max-width: 980px) {
  .portal-hero,
  .auth-layout,
  .share-link-panel {
    grid-template-columns: 1fr;
  }

  .auth-art {
    min-height: 340px;
  }

  .auth-layout {
    max-width: 640px;
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .business-header {
    align-items: flex-start !important;
    flex-direction: column;
    gap: 12px;
  }

  .business-shell {
    padding: 18px !important;
  }

  .form-actions .button {
    width: 100%;
  }

  .tab-nav {
    grid-template-columns: 1fr 1fr;
    position: static;
  }

  .auth-metrics {
    grid-template-columns: 1fr;
  }
}
