
/* src/index.css */
:root {
  --text: #6b6375;
  --text-h: #08060d;
  --bg: #fff;
  --border: #e5e4e7;
  --code-bg: #f4f3ec;
  --accent: #aa3bff;
  --accent-bg: rgba(170, 59, 255, 0.1);
  --accent-border: rgba(170, 59, 255, 0.5);
  --social-bg: rgba(244, 243, 236, 0.5);
  --shadow:
    rgba(0, 0, 0, 0.1) 0 10px 15px -3px, rgba(0, 0, 0, 0.05) 0 4px 6px -2px;

  --sans: system-ui, 'Segoe UI', Roboto, sans-serif;
  --heading: system-ui, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, Consolas, monospace;

  font: 18px/145% var(--sans);
  letter-spacing: 0.18px;
  color-scheme: light dark;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  @media (max-width: 1024px) {
    font-size: 16px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #9ca3af;
    --text-h: #f3f4f6;
    --bg: #16171d;
    --border: #2e303a;
    --code-bg: #1f2028;
    --accent: #c084fc;
    --accent-bg: rgba(192, 132, 252, 0.15);
    --accent-border: rgba(192, 132, 252, 0.5);
    --social-bg: rgba(47, 48, 58, 0.5);
    --shadow:
      rgba(0, 0, 0, 0.4) 0 10px 15px -3px, rgba(0, 0, 0, 0.25) 0 4px 6px -2px;
  }

  #social .button-icon {
    filter: invert(1) brightness(2);
  }
}

body {
  margin: 0;
}

#root {
  width: 1126px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  border-inline: 1px solid var(--border);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

h1,
h2 {
  font-family: var(--heading);
  font-weight: 500;
  color: var(--text-h);
}

h1 {
  font-size: 56px;
  letter-spacing: -1.68px;
  margin: 32px 0;
  @media (max-width: 1024px) {
    font-size: 36px;
    margin: 20px 0;
  }
}
h2 {
  font-size: 24px;
  line-height: 118%;
  letter-spacing: -0.24px;
  margin: 0 0 8px;
  @media (max-width: 1024px) {
    font-size: 20px;
  }
}
p {
  margin: 0;
}

code,
.counter {
  font-family: var(--mono);
  display: inline-flex;
  border-radius: 4px;
  color: var(--text-h);
}

code {
  font-size: 15px;
  line-height: 135%;
  padding: 4px 8px;
  background: var(--code-bg);
}


/* src/App.css */
.counter {
  font-size: 16px;
  padding: 5px 10px;
  border-radius: 5px;
  color: var(--accent);
  background: var(--accent-bg);
  border: 2px solid transparent;
  transition: border-color 0.3s;
  margin-bottom: 24px;

  &:hover {
    border-color: var(--accent-border);
  }
  &:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }
}

.hero {
  position: relative;

  .base,
  .framework,
  .vite {
    inset-inline: 0;
    margin: 0 auto;
  }

  .base {
    width: 170px;
    position: relative;
    z-index: 0;
  }

  .framework,
  .vite {
    position: absolute;
  }

  .framework {
    z-index: 1;
    top: 34px;
    height: 28px;
    transform: perspective(2000px) rotateZ(300deg) rotateX(44deg) rotateY(39deg)
      scale(1.4);
  }

  .vite {
    z-index: 0;
    top: 107px;
    height: 26px;
    width: auto;
    transform: perspective(2000px) rotateZ(300deg) rotateX(40deg) rotateY(39deg)
      scale(0.8);
  }
}

#center {
  display: flex;
  flex-direction: column;
  gap: 25px;
  place-content: center;
  place-items: center;
  flex-grow: 1;

  @media (max-width: 1024px) {
    padding: 32px 20px 24px;
    gap: 18px;
  }
}

#next-steps {
  display: flex;
  border-top: 1px solid var(--border);
  text-align: left;

  & > div {
    flex: 1 1 0;
    padding: 32px;
    @media (max-width: 1024px) {
      padding: 24px 20px;
    }
  }

  .icon {
    margin-bottom: 16px;
    width: 22px;
    height: 22px;
  }

  @media (max-width: 1024px) {
    flex-direction: column;
    text-align: center;
  }
}

#docs {
  border-right: 1px solid var(--border);

  @media (max-width: 1024px) {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

#next-steps ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 8px;
  margin: 32px 0 0;

  .logo {
    height: 18px;
  }

  a {
    color: var(--text-h);
    font-size: 16px;
    border-radius: 6px;
    background: var(--social-bg);
    display: flex;
    padding: 6px 12px;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: box-shadow 0.3s;

    &:hover {
      box-shadow: var(--shadow);
    }
    .button-icon {
      height: 18px;
      width: 18px;
    }
  }

  @media (max-width: 1024px) {
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;

    li {
      flex: 1 1 calc(50% - 8px);
    }

    a {
      width: 100%;
      justify-content: center;
      box-sizing: border-box;
    }
  }
}

#spacer {
  height: 88px;
  border-top: 1px solid var(--border);
  @media (max-width: 1024px) {
    height: 48px;
  }
}

.ticks {
  position: relative;
  width: 100%;

  &::before,
  &::after {
    content: '';
    position: absolute;
    top: -4.5px;
    border: 5px solid transparent;
  }

  &::before {
    left: 0;
    border-left-color: var(--border);
  }
  &::after {
    right: 0;
    border-right-color: var(--border);
  }
}


/* src/styles.css */
:root {
  --primary: #111827;
  --primary-soft: #1f2937;
  --accent: #d4af37;
  --accent-soft: #fff4cc;
  --background: #f8f7f4;
  --card: #ffffff;
  --input: #f1f1ef;
  --text-dark: #1f2937;
  --text-muted: #6b7280;
  --text-light: #ffffff;
  --border: #e5e2da;
  --error: #dc2626;
  --success: #16a34a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text-dark);
  font-family: "Raleway", system-ui, sans-serif;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-card {
  width: 100%;
  max-width: 430px;
  background: var(--card);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.login-logo {
  width: 76px;
  height: 76px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 36px;
  margin-bottom: 18px;
}

.login-card h1 {
  margin: 0;
  font-size: 28px;
}

.login-card p {
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.45;
}

.login-card label,
.panel label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 8px;
}

.login-card input,
.panel input,
.panel textarea,
.panel select {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--input);
  border-radius: 14px;
  padding: 14px 14px;
  outline: none;
  color: var(--text-dark);
  font-size: 14px;
}

.login-card input:focus,
.panel input:focus,
.panel textarea:focus,
.panel select:focus {
  border-color: var(--accent);
}

.login-card button,
.panel button,
.secondary-btn,
.list-actions button,
.simple-table button {
  border: none;
  background: var(--accent);
  color: var(--primary);
  font-weight: 800;
  border-radius: 14px;
  padding: 13px 18px;
}

.login-card button {
  width: 100%;
  margin-top: 18px;
}

.alert {
  background: var(--accent-soft);
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}

.admin-layout {
  min-height: 100vh;
  display: flex;
}

.sidebar {
  width: 280px;
  background: var(--primary);
  color: var(--text-light);
  padding: 22px;
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
  left: 0;
  top: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
}

.brand-icon {
  width: 52px;
  height: 52px;
  background: rgba(212, 175, 55, 0.16);
  color: var(--accent);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
}

.brand h2 {
  margin: 0;
  font-size: 22px;
}

.brand p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-menu a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
  padding: 13px 14px;
  border-radius: 14px;
  font-weight: 700;
}

.nav-menu a.active {
  background: var(--accent);
  color: var(--primary);
}

.sidebar-footer {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.08);
  padding: 16px;
  border-radius: 18px;
}

.user-name {
  margin: 0;
  font-weight: 800;
}

.user-email {
  margin: 4px 0 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  word-break: break-word;
}

.logout-btn {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: var(--text-light);
  border-radius: 14px;
  padding: 11px;
  font-weight: 800;
}

.main-content {
  margin-left: 280px;
  width: calc(100% - 280px);
  padding: 28px;
}

.page-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.page-header h1 {
  margin: 0;
  font-size: 30px;
}

.page-header p {
  margin: 6px 0 0;
  color: var(--text-muted);
}

.secondary-btn {
  background: var(--card) !important;
  color: var(--primary) !important;
  border: 1px solid var(--border) !important;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 16px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.stat-card p {
  margin: 0;
  color: var(--text-muted);
  font-weight: 700;
}

.stat-card h2 {
  margin: 10px 0 0;
  font-size: 34px;
}

.panel,
.table-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 22px;
  margin-bottom: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.panel h2,
.table-panel h2 {
  margin-top: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 16px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

.form-actions {
  display: flex;
  gap: 12px;
}

.cards-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.list-card {
  display: flex;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--border);
  background: var(--background);
  border-radius: 18px;
  padding: 12px;
}

.list-card img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 16px;
  background: var(--input);
}

.list-card-content {
  flex: 1;
}

.list-card-content h3 {
  margin: 0 0 6px;
}

.list-card-content p {
  margin: 3px 0;
  color: var(--text-muted);
}

.list-actions {
  display: flex;
  gap: 8px;
}

.danger-btn {
  background: var(--error) !important;
  color: var(--text-light) !important;
}

.simple-table {
  overflow-x: auto;
}

.simple-table table {
  width: 100%;
  border-collapse: collapse;
}

.simple-table th,
.simple-table td {
  text-align: left;
  padding: 14px;
  border-bottom: 1px solid var(--border);
}

.simple-table th {
  color: var(--text-muted);
  font-size: 13px;
}

.simple-table td button {
  margin-right: 8px;
}

.page-loading {
  padding: 32px;
  font-weight: 800;
  color: var(--text-muted);
}

.filters-row {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 16px;
}

.muted-text {
  color: var(--text-muted);
  font-size: 12px;
}

.status {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  text-transform: capitalize;
}

.status.upcoming {
  background: var(--accent-soft);
  color: var(--primary);
  border: 1px solid var(--border);
}

.status.completed {
  background: rgba(22, 163, 74, 0.12);
  color: var(--success);
  border: 1px solid rgba(22, 163, 74, 0.2);
}

.status.cancelled {
  background: rgba(220, 38, 38, 0.1);
  color: var(--error);
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.table-actions button {
  padding: 9px 11px;
  font-size: 12px;
}

.appointments-stats {
  margin-bottom: 22px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-tag {
  display: inline-flex;
  padding: 5px 8px;
  background: var(--accent-soft);
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.service-select-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 12px;
}

.service-select-card {
  text-align: left;
  background: var(--input) !important;
  color: var(--text-dark) !important;
  border: 1px solid var(--border) !important;
  border-radius: 16px;
  padding: 14px !important;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.service-select-card.selected {
  background: var(--accent-soft) !important;
  border-color: var(--accent) !important;
}

.service-select-card span {
  font-weight: 800;
}

.service-select-card strong {
  color: var(--primary);
}

.service-select-card small {
  color: var(--text-muted);
  font-weight: 700;
}

.appointment-total-box {
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.appointment-total-box span {
  color: var(--text-muted);
  font-weight: 800;
}

.appointment-total-box strong {
  color: var(--primary);
  font-size: 22px;
}

/* ================= MODAL ================= */

.modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(17, 24, 39, 0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 9999;
}

.modal-card {
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--card);
  border-radius: 24px;
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.modal-header h2 {
  margin: 0;
  color: var(--text-dark);
}

.modal-header p {
  margin: 5px 0 0;
  color: var(--text-muted);
}

.modal-card label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 8px;
}

.modal-card input,
.modal-card textarea,
.modal-card select {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--input);
  border-radius: 14px;
  padding: 14px 14px;
  outline: none;
  color: var(--text-dark);
  font-size: 14px;
}

.modal-card input:focus,
.modal-card textarea:focus,
.modal-card select:focus {
  border-color: var(--accent);
}

.modal-card button {
  border: none;
  background: var(--accent);
  color: var(--primary);
  font-weight: 800;
  border-radius: 14px;
  padding: 13px 18px;
}

.order-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.order-item-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.order-item-row img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--input);
}

.users-filters-row {
  display: grid;
  grid-template-columns: 1fr 220px 220px;
  gap: 16px;
}

.status.customer {
  background: rgba(107, 114, 128, 0.12);
  color: var(--text-muted);
  border: 1px solid rgba(107, 114, 128, 0.22);
}

.provider-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  text-transform: capitalize;
}

.provider-badge.email {
  background: var(--accent-soft);
  color: var(--primary);
  border: 1px solid var(--border);
}

.provider-badge.google {
  background: rgba(220, 38, 38, 0.1);
  color: var(--error);
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.user-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-cell img,
.user-avatar-fallback {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex: 0 0 44px;
}

.user-cell img {
  object-fit: cover;
  border: 1px solid var(--border);
  background: var(--input);
}

.user-avatar-fallback {
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--primary);
  font-weight: 900;
  border: 1px solid var(--border);
}

.role-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.role-actions button {
  padding: 9px 11px;
  font-size: 12px;
}

.active-role {
  background: var(--accent) !important;
  color: var(--primary) !important;
  border-color: var(--accent) !important;
}

/* ================= AVAILABILITY PAGE ================= */

.availability-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.availability-actions button {
  width: auto;
  min-height: 42px;
  padding: 11px 15px;
  border-radius: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.availability-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.availability-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.2fr) 115px 150px 150px 170px;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.045);
  transition: 0.2s ease;
}

.availability-row:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.075);
  border-color: rgba(212, 175, 55, 0.42);
}

.availability-row > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.availability-row > div:first-child strong {
  display: block;
  font-size: 16px;
  color: var(--primary);
}

.availability-row > div:first-child p {
  width: fit-content;
  margin: 0;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: rgba(220, 38, 38, 0.1);
  color: var(--error);
  border: 1px solid rgba(220, 38, 38, 0.16);
}

.availability-row:has(input[type="checkbox"]:checked) > div:first-child p {
  background: rgba(22, 163, 74, 0.12);
  color: var(--success);
  border: 1px solid rgba(22, 163, 74, 0.22);
}

.availability-toggle {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0 !important;
  padding: 11px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 13px !important;
  font-weight: 900 !important;
  cursor: pointer;
}

.availability-toggle input {
  width: 18px !important;
  height: 18px;
  margin: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.availability-row label:not(.availability-toggle) {
  display: block;
  font-weight: 900;
  font-size: 11px;
  margin-bottom: 7px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.availability-row input[type="time"],
.availability-row input[type="number"] {
  width: 100%;
  min-height: 43px;
  border: 1px solid var(--border);
  background: var(--input);
  border-radius: 14px;
  padding: 12px 13px;
  outline: none;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 800;
  transition: 0.2s ease;
}

.availability-row input[type="time"]:focus,
.availability-row input[type="number"]:focus {
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.14);
}

.availability-row input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: #eceae4;
}

.availability-row .muted-text {
  margin: 7px 0 0;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.35;
}

.availability-save {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
}

.availability-save button {
  min-width: 200px;
  min-height: 48px;
  border-radius: 16px;
  font-weight: 900;
}

/* ================= LANDING PAGE ================= */

.landing-site {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.2), transparent 32%),
    linear-gradient(135deg, #111827 0%, #1f2937 42%, #0f172a 100%);
  color: #ffffff;
}

.landing-header {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-logo {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid rgba(212, 175, 55, 0.42);
  color: #d4af37;
  font-size: 24px;
}

.landing-brand h2 {
  margin: 0;
  font-size: 22px;
}

.landing-brand span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.landing-header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.landing-header nav a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
}

.landing-header nav a:hover {
  color: #ffffff;
}

.landing-login {
  padding: 10px 15px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 999px;
  color: #d4af37 !important;
}

.hero-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 22px 90px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 46px;
  align-items: center;
}

.hero-badge,
.section-title span,
.cta-section span {
  display: inline-flex;
  color: #d4af37;
  background: rgba(212, 175, 55, 0.13);
  border: 1px solid rgba(212, 175, 55, 0.28);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
}

.hero-content h1 {
  margin: 20px 0 18px;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.95;
  letter-spacing: -2px;
}

.hero-content p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 900;
}

.primary-action {
  background: #d4af37;
  color: #111827;
}

.secondary-action {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stats {
  margin-top: 36px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-stats div {
  min-width: 130px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats strong {
  display: block;
  font-size: 22px;
  color: #d4af37;
}

.hero-stats span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 700;
}

.hero-card {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(360px, 100%);
  min-height: 650px;
  border-radius: 42px;
  padding: 18px;
  background: linear-gradient(145deg, #0b1220, #273449);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.phone-top {
  width: 110px;
  height: 20px;
  border-radius: 999px;
  background: #050816;
  margin: 0 auto 16px;
}

.app-preview {
  height: 590px;
  border-radius: 30px;
  overflow: hidden;
  background: #f8f7f4;
  color: #111827;
  padding: 18px;
}

.preview-map {
  position: relative;
  height: 320px;
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(17, 24, 39, 0.08) 1px, transparent 1px),
    #e8e3d6;
  background-size: 42px 42px;
}

.map-pin {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: #111827;
  color: #d4af37;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.28);
}

.pin-one {
  left: 44px;
  top: 62px;
}

.pin-two {
  right: 56px;
  top: 120px;
}

.pin-three {
  left: 128px;
  bottom: 52px;
}

.preview-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border-radius: 22px;
  padding: 14px;
  margin-top: 18px;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
}

.barber-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: #fff4cc;
  color: #111827;
  font-weight: 900;
  border-radius: 50%;
}

.preview-card p {
  margin: 4px 0 0;
  color: #6b7280;
  font-size: 12px;
}

.preview-card span {
  margin-left: auto;
  color: #111827;
  font-weight: 900;
}

.preview-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 14px;
}

.preview-slots button {
  border: none;
  background: #111827;
  color: #ffffff;
  border-radius: 14px;
  padding: 12px 8px;
  font-weight: 800;
}

.features-section,
.steps-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 70px 22px;
}

.section-title {
  max-width: 720px;
  margin-bottom: 26px;
}

.section-title h2 {
  margin: 16px 0 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
}

.features-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.steps-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.step-card,
.cta-section {
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  padding: 24px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  background: rgba(212, 175, 55, 0.14);
  border-radius: 16px;
  font-size: 24px;
  margin-bottom: 18px;
}

.feature-card h3,
.step-card h3 {
  margin: 0 0 10px;
}

.feature-card p,
.step-card p,
.cta-section p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
}

.step-card span {
  color: #d4af37;
  font-weight: 900;
}

.cta-section {
  max-width: 1180px;
  margin: 50px auto 70px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.cta-section h2 {
  margin: 16px 0 8px;
  font-size: clamp(28px, 4vw, 44px);
}

.landing-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 22px 40px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.68);
}

.landing-footer a {
  color: #d4af37;
  text-decoration: none;
  font-weight: 800;
}

/* ================= APP STORE BUTTONS ================= */

.app-store-actions {
  align-items: center;
}

.store-button {
  min-width: 170px;
  min-height: 58px;
  padding: 10px 18px;
  border-radius: 16px;
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  background: #050816;
  color: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.store-button span {
  font-size: 11px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.store-button strong {
  margin-top: 5px;
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
  color: #ffffff;
}

.store-button:hover {
  transform: translateY(-2px);
}

.store-button.large {
  min-width: 220px;
  min-height: 72px;
  padding: 14px 22px;
}

.store-button.large span {
  font-size: 13px;
}

.store-button.large strong {
  font-size: 24px;
}

.download-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 22px;
  text-align: center;
}

.download-section .section-title {
  margin-left: auto;
  margin-right: auto;
}

.download-section .section-title p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  font-size: 17px;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.coming-soon-text {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.64);
  font-weight: 700;
}

.login-secondary-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.login-secondary-actions button {
  flex: 1;
  width: auto !important;
  margin-top: 0 !important;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1200px) {
  .availability-row {
    grid-template-columns: 1fr 110px 1fr 1fr;
  }

  .availability-row > div:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 920px) {
  .landing-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .landing-header nav {
    flex-wrap: wrap;
  }

  .hero-section {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

  .features-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .cta-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .landing-footer {
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  .admin-layout {
    display: block;
  }

  .sidebar {
    width: 100%;
    height: auto;
    position: static;
  }

  .main-content {
    margin-left: 0;
    width: 100%;
    padding: 18px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .page-header {
    flex-direction: column;
  }

  .filters-row {
    grid-template-columns: 1fr;
  }

  .table-actions {
    flex-direction: column;
  }

  .table-actions button {
    width: 100%;
  }

  .list-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .list-actions {
    width: 100%;
  }

  .list-actions button {
    flex: 1;
  }

  .users-filters-row {
    grid-template-columns: 1fr;
  }

  .role-actions {
    flex-direction: column;
  }

  .role-actions button {
    width: 100%;
  }

  .availability-row {
    grid-template-columns: 1fr;
  }

  .availability-toggle {
    justify-content: flex-start;
  }

  .availability-actions {
    flex-direction: column;
  }

  .availability-actions button,
  .availability-save button {
    width: 100%;
  }

  .availability-save {
    justify-content: stretch;
  }
}

@media (max-width: 700px) {
  .service-select-grid {
    grid-template-columns: 1fr;
  }

  .modal-backdrop {
    align-items: flex-start;
    padding: 18px;
    overflow-y: auto;
  }

  .modal-card {
    max-height: none;
  }

  .modal-header {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .store-button,
  .store-button.large {
    width: 100%;
  }

  .download-buttons {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .login-secondary-actions {
    flex-direction: column;
  }

  .login-secondary-actions button {
    width: 100% !important;
  }
}

/* ================= LEGAL PAGES ================= */

.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.16), transparent 30%),
    linear-gradient(135deg, #111827 0%, #1f2937 45%, #0f172a 100%);
  padding: 42px 20px;
}

.legal-card {
  max-width: 920px;
  margin: 0 auto;
  background: #ffffff;
  color: var(--text-dark);
  border-radius: 28px;
  padding: 34px;
  border: 1px solid var(--border);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.legal-back {
  display: inline-flex;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--border);
  text-decoration: none;
  font-weight: 900;
  padding: 10px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.legal-card h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -1px;
  color: var(--primary);
}

.legal-updated {
  margin: 10px 0 28px;
  color: var(--text-muted);
  font-weight: 700;
}

.legal-content {
  line-height: 1.75;
}

.legal-content h2 {
  margin-top: 32px;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 24px;
}

.legal-content h3 {
  margin-top: 22px;
  margin-bottom: 8px;
  color: var(--primary-soft);
  font-size: 18px;
}

.legal-content p {
  color: #374151;
  margin: 0 0 14px;
}

.legal-content ul {
  margin: 8px 0 20px;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
  color: #374151;
}

@media (max-width: 650px) {
  .legal-page {
    padding: 24px 14px;
  }

  .legal-card {
    padding: 24px;
    border-radius: 22px;
  }
}

.status.pending {
  background: var(--accent-soft);
  color: var(--primary);
  border: 1px solid var(--border);
}

.status.approved {
  background: rgba(22, 163, 74, 0.12);
  color: var(--success);
  border: 1px solid rgba(22, 163, 74, 0.2);
}

.status.rejected {
  background: rgba(220, 38, 38, 0.1);
  color: var(--error);
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.trust-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.trust-section div {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px;
  border-radius: 22px;
}

.trust-section strong {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
  color: #ffffff;
}

.trust-section span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.barbers-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 90px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 35px;
}

.benefit-card {
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.03)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-card strong {
  display: block;
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 10px;
}

.benefit-card p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .trust-section,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .trust-section {
    margin-bottom: 60px;
  }
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
}

.landing-brand:visited,
.landing-brand:hover,
.landing-brand:active {
  color: #ffffff;
  text-decoration: none;
}

.landing-brand h2 {
  color: #ffffff;
  margin: 0;
}

.landing-brand span {
  color: rgba(255, 255, 255, 0.7);
}

.landing-logo {
  color: #ffffff;
}

.landing-logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #111827;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.why-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 90px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 35px;
}

.why-card {
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.why-card.highlight {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.04)
  );
}

.why-card span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
}

.why-card h3 {
  color: #ffffff;
  font-size: 20px;
  margin: 0 0 12px;
}

.why-card p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  margin: 0;
  font-size: 14px;
}

@media (max-width: 1050px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-section {
    margin-bottom: 70px;
  }
}

/* ================= LANDING ANIMATIONS / PREMIUM MOTION ================= */

.landing-site {
  position: relative;
  overflow-x: hidden;
}

.landing-site::before {
  content: "";
  position: fixed;
  width: 520px;
  height: 520px;
  top: -160px;
  right: -160px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18), transparent 65%);
  filter: blur(12px);
  z-index: 0;
  pointer-events: none;
  animation: glowMove 9s ease-in-out infinite alternate;
}

.landing-site::after {
  content: "";
  position: fixed;
  width: 420px;
  height: 420px;
  bottom: -140px;
  left: -120px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 65%);
  filter: blur(12px);
  z-index: 0;
  pointer-events: none;
  animation: glowMoveReverse 11s ease-in-out infinite alternate;
}

.landing-header,
.landing-site main,
.landing-footer {
  position: relative;
  z-index: 1;
}

.landing-header {
  animation: slideDown 0.75s ease both;
}

.hero-badge {
  animation: fadeUp 0.75s ease both;
}

.hero-content h1 {
  background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.68));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fadeUp 0.9s ease both;
  animation-delay: 0.1s;
}

.hero-content p {
  animation: fadeUp 0.9s ease both;
  animation-delay: 0.2s;
}

.hero-actions {
  animation: fadeUp 0.9s ease both;
  animation-delay: 0.3s;
}

.hero-stats {
  animation: fadeUp 0.9s ease both;
  animation-delay: 0.4s;
}

.floating-phone {
  animation: fadeInRight 1s ease both, floatPhone 5s ease-in-out infinite;
  animation-delay: 0.25s, 1.2s;
}

.phone-frame {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.phone-frame:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.pulse-pin {
  animation: pinPulse 1.9s ease-in-out infinite;
}

.delay-one {
  animation-delay: 0.35s;
}

.delay-two {
  animation-delay: 0.7s;
}

.store-button,
.primary-action {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.store-button:hover,
.primary-action:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
}

.store-button::after,
.primary-action::after {
  content: "";
  position: absolute;
  top: 0;
  left: -140%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent
  );
  transform: skewX(-20deg);
}

.store-button:hover::after,
.primary-action:hover::after {
  animation: shine 0.85s ease;
}

.feature-card,
.step-card,
.benefit-card,
.why-card,
.trust-section div {
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease,
    box-shadow 0.28s ease;
}

.feature-card:hover,
.step-card:hover,
.benefit-card:hover,
.why-card:hover,
.trust-section div:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.32);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
}

.preview-card {
  animation: softPop 0.9s ease both;
}

.preview-card:nth-of-type(2) {
  animation-delay: 0.35s;
}

.preview-slots button {
  transition: transform 0.2s ease, background 0.2s ease;
}

.preview-slots button:hover {
  transform: translateY(-2px) scale(1.03);
  background: #1f2937;
}

.features-section,
.why-section,
.barbers-section,
.steps-section,
.download-section,
.cta-section {
  animation: sectionFade 0.9s ease both;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(45px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes floatPhone {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes pinPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.38);
  }

  70% {
    transform: scale(1.12);
    box-shadow: 0 0 0 14px rgba(212, 175, 55, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
  }
}

@keyframes shine {
  from {
    left: -140%;
  }

  to {
    left: 140%;
  }
}

@keyframes glowMove {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(-80px, 80px) scale(1.12);
  }
}

@keyframes glowMoveReverse {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(90px, -70px) scale(1.15);
  }
}

@keyframes softPop {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes sectionFade {
  from {
    opacity: 0.92;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-site *,
  .landing-site *::before,
  .landing-site *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Store checkout result pages */
.checkout-result-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.20), transparent 32%),
    linear-gradient(135deg, var(--primary), var(--primary-soft));
}

.checkout-result-card {
  width: 100%;
  max-width: 560px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 34px;
  padding: 34px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.checkout-result-icon {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  font-size: 42px;
  font-weight: 900;
}

.success-icon {
  background: rgba(22, 163, 74, 0.12);
  color: var(--success);
  border: 1px solid rgba(22, 163, 74, 0.22);
}

.cancelled-icon {
  background: rgba(220, 38, 38, 0.10);
  color: var(--error);
  border: 1px solid rgba(220, 38, 38, 0.22);
}

.checkout-result-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background: var(--accent-soft);
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.checkout-result-card h1 {
  margin: 18px 0 10px;
  color: var(--text-dark);
  font-size: 34px;
  line-height: 1.05;
}

.checkout-result-message {
  margin: 0 auto;
  max-width: 450px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 600;
}

.checkout-session-box {
  margin: 20px auto 0;
  max-width: 390px;
  background: var(--input);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
}

.checkout-session-box span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
}

.checkout-session-box strong {
  color: var(--primary);
  font-size: 12px;
  word-break: break-all;
}

.checkout-result-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.checkout-result-details div {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 16px;
  text-align: left;
}

.checkout-result-details strong {
  display: block;
  color: var(--text-dark);
  font-size: 14px;
  margin-bottom: 5px;
}

.checkout-result-details span {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
}

.checkout-result-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.checkout-result-actions button,
.checkout-secondary-link {
  border: none;
  text-decoration: none;
  border-radius: 16px;
  padding: 14px 18px;
  font-weight: 900;
  font-size: 14px;
}

.checkout-result-actions button {
  background: var(--accent);
  color: var(--primary);
}

.checkout-secondary-link {
  background: var(--input);
  color: var(--primary);
  border: 1px solid var(--border);
}

@media (max-width: 620px) {
  .checkout-result-page {
    padding: 18px;
  }

  .checkout-result-card {
    padding: 26px 20px;
    border-radius: 28px;
  }

  .checkout-result-card h1 {
    font-size: 28px;
  }

  .checkout-result-details {
    grid-template-columns: 1fr;
  }

  .checkout-result-actions {
    flex-direction: column;
  }

  .checkout-result-actions button,
  .checkout-secondary-link {
    width: 100%;
  }
}


/* ================= VIRECUT PREMIUM LANDING REDESIGN ================= */

.premium-landing {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(212, 175, 55, 0.20), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(212, 175, 55, 0.12), transparent 28%),
    radial-gradient(circle at 55% 58%, rgba(255, 244, 204, 0.06), transparent 32%),
    linear-gradient(135deg, #080d17 0%, #111827 43%, #1f2937 100%);
}

.premium-landing::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.032) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.74), transparent 86%);
  z-index: 0;
}

.premium-landing > * {
  position: relative;
  z-index: 1;
}

.premium-nav {
  position: sticky;
  top: 12px;
  z-index: 20;
  width: calc(100% - 32px);
  max-width: 1180px;
  margin: 0 auto;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 24px;
  background: rgba(8, 13, 23, 0.62);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.22);
}

.premium-brand {
  text-decoration: none;
  color: #ffffff;
}

.brand-logo-img {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.16);
}

.premium-brand h2 {
  color: #ffffff;
  font-size: 24px;
  letter-spacing: -0.5px;
}

.premium-brand span {
  font-weight: 700;
}

.premium-nav-links .landing-login {
  background: rgba(212, 175, 55, 0.13);
  color: #d4af37 !important;
  border: 1px solid rgba(212, 175, 55, 0.36);
}

.premium-hero {
  padding: 78px 22px 72px;
  grid-template-columns: 1.05fr 0.95fr;
}

.premium-badge {
  box-shadow: inset 0 0 0 1px rgba(212,175,55,0.05);
}

.premium-hero-content h1 {
  max-width: 760px;
  font-size: clamp(48px, 7.5vw, 88px);
  letter-spacing: -3.5px;
  line-height: 0.92;
  background: linear-gradient(180deg, #ffffff 0%, #f5e8bb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.premium-hero-content p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.76);
}

.premium-actions .primary-action {
  min-height: 58px;
  padding: 0 26px;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(212, 175, 55, 0.24);
}

.premium-actions .secondary-action {
  min-height: 58px;
  padding: 0 24px;
  border-radius: 18px;
}

.premium-stats div {
  min-width: 150px;
  background: rgba(255,255,255,0.075);
  backdrop-filter: blur(14px);
}

.premium-visual-wrap {
  position: relative;
  min-height: 670px;
  display: grid;
  place-items: center;
}

.premium-orbit {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  filter: blur(0.2px);
}

.orbit-one {
  width: 470px;
  height: 470px;
  transform: rotate(-12deg);
}

.orbit-two {
  width: 360px;
  height: 360px;
  transform: rotate(20deg);
  border-color: rgba(255,255,255,0.09);
}

.premium-phone-card {
  position: relative;
  transform: rotate(2deg);
  animation: softFloat 5.5s ease-in-out infinite alternate;
}

.premium-phone {
  width: min(380px, 92vw);
  min-height: 650px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.10), transparent 25%),
    linear-gradient(145deg, #050816 0%, #111827 40%, #273449 100%);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    0 30px 90px rgba(0,0,0,0.48),
    0 0 0 8px rgba(255,255,255,0.025);
}

.premium-app-preview {
  background:
    radial-gradient(circle at 20% 0%, rgba(212,175,55,0.16), transparent 32%),
    #f8f7f4;
  padding: 16px;
}

.app-preview-header {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e5e2da;
  border-radius: 22px;
  padding: 12px;
  box-shadow: 0 12px 30px rgba(17,24,39,0.08);
}

.app-preview-header img {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  object-fit: cover;
}

.app-preview-header strong,
.app-preview-header span {
  display: block;
}

.app-preview-header strong {
  color: #111827;
  font-size: 13px;
}

.app-preview-header span {
  margin-top: 3px;
  color: #6b7280;
  font-size: 11px;
  font-weight: 700;
}

.preview-search-row {
  margin: 14px 0;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e5e2da;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
}

.preview-search-row b {
  color: #d4af37;
}

.premium-map-card {
  position: relative;
  height: 250px;
  border-radius: 26px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(17, 24, 39, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, #ece7da, #dcd6c5);
  background-size: 38px 38px;
}

.map-card-overlay {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: rgba(17, 24, 39, 0.92);
  color: #ffffff;
  border: 1px solid rgba(212,175,55,0.28);
  border-radius: 18px;
  padding: 13px 14px;
  box-shadow: 0 14px 32px rgba(17,24,39,0.22);
}

.map-card-overlay strong,
.map-card-overlay span {
  display: block;
}

.map-card-overlay strong {
  font-size: 14px;
}

.map-card-overlay span {
  margin-top: 3px;
  color: rgba(255,255,255,0.70);
  font-size: 11px;
  font-weight: 700;
}

.premium-preview-card {
  margin-top: 14px;
}

.premium-preview-slots {
  margin-top: 12px;
}

.premium-checkout-preview {
  margin-top: 12px;
  background: #111827;
  color: #ffffff;
  border-radius: 20px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.premium-checkout-preview strong,
.premium-checkout-preview span {
  display: block;
}

.premium-checkout-preview strong {
  font-size: 13px;
}

.premium-checkout-preview span {
  margin-top: 4px;
  font-size: 11px;
  color: rgba(255,255,255,0.68);
  font-weight: 700;
}

.premium-checkout-preview b {
  color: #d4af37;
  font-size: 18px;
}

.premium-trust {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.premium-trust div {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,0.075);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
}

.premium-trust strong,
.premium-trust span {
  display: block;
}

.premium-trust strong {
  color: #ffffff;
  font-size: 17px;
}

.premium-trust span {
  margin-top: 7px;
  color: rgba(255,255,255,0.66);
  font-weight: 600;
  line-height: 1.45;
}

.premium-section {
  padding-top: 82px;
  padding-bottom: 82px;
}

.premium-section-title p {
  margin-top: 14px;
  color: rgba(255,255,255,0.70);
  line-height: 1.7;
  font-size: 16px;
}

.premium-feature-card,
.premium-step-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.055));
  box-shadow: 0 20px 50px rgba(0,0,0,0.14);
}

.premium-feature-card::before,
.premium-step-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top right, rgba(212,175,55,0.12), transparent 40%);
}

.premium-split-section,
.premium-barber-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 22px;
}

.premium-comparison-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.premium-comparison-card > div {
  padding: 26px;
  border-radius: 28px;
  background: rgba(255,255,255,0.075);
  border: 1px solid rgba(255,255,255,0.12);
}

.premium-comparison-card span {
  color: #d4af37;
  font-weight: 900;
}

.premium-comparison-card p {
  margin-top: 10px;
  color: rgba(255,255,255,0.70);
  line-height: 1.65;
}

.premium-comparison-highlight {
  background:
    radial-gradient(circle at top right, rgba(212,175,55,0.18), transparent 38%),
    rgba(212,175,55,0.08) !important;
  border-color: rgba(212,175,55,0.28) !important;
}

.premium-barber-card {
  padding: 34px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 90% 0%, rgba(212,175,55,0.16), transparent 32%),
    rgba(255,255,255,0.075);
  border: 1px solid rgba(255,255,255,0.13);
}

.barber-benefits-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.barber-benefits-list div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  gap: 10px;
}

.barber-benefits-list span {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(212,175,55,0.15);
  color: #d4af37;
  font-weight: 900;
}

.barber-benefits-list strong {
  color: #ffffff;
}

.premium-download {
  border-radius: 36px;
  max-width: 1180px;
  background:
    radial-gradient(circle at top, rgba(212,175,55,0.18), transparent 38%),
    rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  margin-top: 50px;
}

.download-logo {
  width: 94px;
  height: 94px;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(212,175,55,0.42);
  box-shadow: 0 18px 50px rgba(212,175,55,0.18);
  margin-bottom: 24px;
}

.premium-cta {
  background:
    radial-gradient(circle at 15% 0%, rgba(212,175,55,0.18), transparent 35%),
    rgba(255,255,255,0.08);
}

.premium-footer {
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  object-fit: cover;
}

@keyframes softFloat {
  from {
    transform: translateY(0) rotate(2deg);
  }

  to {
    transform: translateY(-14px) rotate(0deg);
  }
}

@media (max-width: 920px) {
  .premium-nav {
    position: relative;
    top: 0;
    width: calc(100% - 24px);
  }

  .premium-nav-links {
    width: 100%;
    gap: 10px !important;
  }

  .premium-hero {
    padding-top: 44px;
  }

  .premium-visual-wrap {
    min-height: auto;
  }

  .premium-phone-card {
    transform: none;
  }

  .premium-trust,
  .premium-comparison-card,
  .barber-benefits-list {
    grid-template-columns: 1fr;
  }

  .premium-download {
    margin-left: 16px;
    margin-right: 16px;
  }
}

@media (max-width: 620px) {
  .premium-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .premium-hero-content h1 {
    font-size: clamp(42px, 13vw, 58px);
    letter-spacing: -2px;
  }

  .premium-actions a {
    width: 100%;
  }

  .premium-stats div {
    flex: 1 1 100%;
  }

  .premium-phone {
    min-height: 600px;
  }

  .premium-app-preview {
    height: 540px;
  }

  .premium-map-card {
    height: 220px;
  }

  .premium-trust {
    padding-left: 16px;
    padding-right: 16px;
  }

  .premium-barber-card {
    padding: 24px;
  }

  .premium-comparison-card > div {
    padding: 22px;
  }

  .premium-footer {
    align-items: flex-start;
  }

  .footer-brand {
    align-items: flex-start;
  }
}


/* ================= PUBLIC BARBER PROFILE ================= */

.public-profile-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% -4%, rgba(212, 175, 55, 0.22), transparent 30%),
    linear-gradient(180deg, #f5f3ed 0%, #fbfaf7 46%, #f4f2ec 100%);
  color: var(--text-dark);
}

.public-profile-header {
  width: min(1180px, calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.public-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  text-decoration: none;
}

.public-brand img {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  object-fit: contain;
  box-shadow: 0 9px 26px rgba(17, 24, 39, 0.12);
}

.public-brand strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.public-brand span {
  display: block;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 750;
}

.public-profile-header nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.public-profile-header nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 850;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 12px;
}

.public-profile-header nav a:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.72);
}

.public-profile-header nav .public-header-cta {
  color: var(--primary);
  background: var(--accent);
  padding-inline: 16px;
}

.public-profile-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 8px 0 46px;
}

.social-profile-card,
.public-section,
.public-loading-card,
.public-error-card {
  border: 1px solid rgba(229, 226, 218, 0.95);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 65px rgba(17, 24, 39, 0.08);
  border-radius: 30px;
}

.social-profile-card {
  position: relative;
  overflow: visible;
}

.social-cover {
  position: relative;
  height: clamp(230px, 34vw, 390px);
  overflow: hidden;
  border-radius: 30px 30px 0 0;
  background: linear-gradient(135deg, var(--primary), #273449);
}

.social-cover img,
.social-cover-placeholder {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.social-cover-placeholder {
  background:
    radial-gradient(circle at 75% 20%, rgba(212, 175, 55, 0.45), transparent 26%),
    linear-gradient(135deg, #111827, #263348);
}

.social-cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 22, 0.04), rgba(5, 8, 22, 0.46));
}

.social-profile-body {
  position: relative;
  padding: 0 34px 28px;
}

.social-profile-topline {
  min-height: 76px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.social-avatar-wrap {
  position: relative;
  width: 166px;
  height: 166px;
  margin-top: -90px;
  flex: 0 0 166px;
}

.social-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: grid;
  place-items: center;
  border: 7px solid #ffffff;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(17, 24, 39, 0.2);
}

.social-avatar-fallback {
  color: var(--accent);
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  font-size: 62px;
  font-weight: 950;
}

.social-verified-mark {
  position: absolute;
  right: 8px;
  bottom: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--accent);
  border: 4px solid #ffffff;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.18);
}

.social-profile-actions {
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.public-primary-btn,
.public-secondary-btn {
  min-height: 46px;
  border: none;
  text-decoration: none;
  border-radius: 15px;
  padding: 0 18px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.public-primary-btn:hover,
.public-secondary-btn:hover {
  transform: translateY(-1px);
}

.public-primary-btn {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 10px 22px rgba(212, 175, 55, 0.25);
}

.public-secondary-btn {
  background: var(--primary);
  color: var(--text-light);
}

.social-book-btn {
  min-width: 126px;
}

.social-share-wrap {
  position: relative;
}

.social-share-btn {
  min-width: 116px;
}

.social-share-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 10px);
  right: 0;
  width: 230px;
  padding: 10px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 22px 60px rgba(17, 24, 39, 0.2);
}

.social-share-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 34px;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  background: #ffffff;
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.social-share-menu > strong {
  display: block;
  padding: 8px 9px 10px;
  color: var(--primary);
  font-size: 13px;
}

.social-share-menu button {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text-dark);
  border-radius: 12px;
  padding: 9px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 820;
  text-align: left;
}

.social-share-menu button:hover {
  background: var(--input);
}

.share-network-icon {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 950;
}

.share-network-icon.whatsapp { background: #25d366; }
.share-network-icon.facebook { background: #1877f2; font-size: 20px; }
.share-network-icon.x-network { background: #0f172a; }
.share-network-icon.copy { background: #6b7280; }

.social-identity {
  max-width: 760px;
  margin-top: 4px;
}

.social-name-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.social-name-line h1 {
  margin: 0;
  color: var(--primary);
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.social-verified-label {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--primary);
  background: var(--accent-soft);
  border: 1px solid rgba(212, 175, 55, 0.35);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.social-handle {
  margin: 7px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 850;
}

.social-bio {
  max-width: 690px;
  margin: 15px 0 0;
  color: #434b59;
  line-height: 1.65;
  font-size: 15px;
  font-weight: 650;
}

.social-location {
  margin-top: 12px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 850;
}

.social-location:hover {
  color: var(--primary);
}

.social-stats {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.social-stats > div {
  padding: 17px 12px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.social-stats > div:last-child {
  border-right: none;
}

.social-stats strong {
  display: block;
  color: var(--primary);
  font-size: 22px;
  line-height: 1;
}

.social-stats span {
  display: block;
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 850;
}

.social-copy-toast {
  position: absolute;
  right: 28px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 12px;
  color: #166534;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(22, 101, 52, 0.14);
}

.social-profile-tabs {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: 18px 0 0;
  min-height: 64px;
  padding: 8px;
  border: 1px solid rgba(229, 226, 218, 0.95);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.social-profile-tabs a {
  min-height: 46px;
  min-width: 145px;
  padding: 0 18px;
  border-radius: 14px;
  color: var(--text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 900;
}

.social-profile-tabs a:hover {
  color: var(--primary);
  background: var(--accent-soft);
}

.social-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, 0.72fr);
  gap: 20px;
  align-items: start;
}

.social-main-column,
.social-side-column {
  min-width: 0;
}

.social-side-column {
  position: sticky;
  top: 82px;
}

.public-section {
  margin-top: 20px;
  padding: 22px;
  scroll-margin-top: 86px;
}

.public-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.public-section-header span {
  color: #9a7414;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.public-section-header h2 {
  margin: 4px 0 0;
  color: var(--primary);
  font-size: 25px;
  letter-spacing: -0.025em;
}

.public-section-header p {
  margin: 2px 0 0;
  color: var(--text-muted);
  font-weight: 780;
  font-size: 12px;
}

.social-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.public-portfolio-card {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: none;
  border-radius: 8px;
  background: var(--input);
  padding: 0;
  box-shadow: none;
}

.public-portfolio-card.featured {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.public-portfolio-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.24s ease, filter 0.24s ease;
}

.portfolio-hover-info {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #ffffff;
  background: rgba(5, 8, 22, 0.58);
  opacity: 0;
  transition: opacity 0.2s ease;
  font-size: 12px;
  font-weight: 900;
}

.public-portfolio-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.05);
}

.public-portfolio-card:hover .portfolio-hover-info {
  opacity: 1;
}

.portfolio-featured-badge {
  position: absolute;
  top: 9px;
  left: 9px;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  color: var(--primary);
  background: var(--accent);
  font-size: 9px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.public-empty-box {
  background: var(--input);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  color: var(--text-muted);
  font-weight: 800;
}

.social-empty-state {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.social-empty-state strong {
  color: var(--primary);
  font-size: 16px;
}

.social-empty-state span {
  max-width: 360px;
  font-size: 12px;
  font-weight: 700;
}

.social-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.social-service-card {
  position: relative;
  min-height: 150px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff, #faf9f5);
  border-radius: 20px;
  padding: 17px;
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

.social-service-icon {
  width: 43px;
  height: 43px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--accent-soft);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.social-service-copy h3 {
  margin: 2px 0 0;
  color: var(--primary);
  font-size: 15px;
  line-height: 1.25;
}

.social-service-copy p {
  margin: 7px 0 0;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 780;
}

.social-service-card > strong {
  color: var(--primary);
  font-size: 18px;
}

.social-service-book-link {
  grid-column: 2 / 4;
  align-self: end;
  min-height: 36px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: var(--accent);
  text-decoration: none;
  font-size: 12px;
  font-weight: 950;
}

.social-about-bio {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 13px;
  font-weight: 680;
}

.social-about-list {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.social-about-list > div,
.social-about-list > button {
  width: 100%;
  min-height: 62px;
  border: 1px solid var(--border);
  background: var(--input);
  border-radius: 16px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
  text-align: left;
}

.social-about-list > button:hover {
  border-color: rgba(212, 175, 55, 0.52);
  background: var(--accent-soft);
}

.social-about-icon {
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: #ffffff;
  border: 1px solid var(--border);
}

.social-about-list small,
.social-about-list strong {
  display: block;
}

.social-about-list small {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.social-about-list strong {
  margin-top: 3px;
  color: var(--primary);
  font-size: 12px;
  line-height: 1.3;
}

.public-book-card {
  background: linear-gradient(145deg, var(--primary), #263448);
  color: var(--text-light);
}

.public-book-card h2 {
  margin: 18px 0 8px;
  color: var(--text-light);
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.public-book-card p {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 650;
  line-height: 1.6;
  font-size: 14px;
}

.public-badge {
  width: fit-content;
  display: inline-flex;
  background: rgba(212, 175, 55, 0.16);
  color: var(--accent);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 999px;
  padding: 8px 11px;
  font-weight: 900;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.public-book-card .public-primary-btn,
.public-book-card .public-secondary-btn {
  width: 100%;
  margin-top: 12px;
}

.public-book-card .public-secondary-btn {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.public-photo-modal {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(0, 0, 0, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 18px 122px;
}

.public-photo-modal > img {
  max-width: min(100%, 1050px);
  max-height: calc(100vh - 210px);
  object-fit: contain;
  border-radius: 18px;
}

.public-modal-close,
.public-modal-nav {
  position: fixed;
  border: none;
  background: rgba(255, 255, 255, 0.13);
  color: var(--text-light);
  display: grid;
  place-items: center;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.public-modal-close {
  top: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 31px;
}

.public-modal-nav {
  top: 50%;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 40px;
  transform: translateY(-50%);
}

.public-modal-nav.left { left: 18px; }
.public-modal-nav.right { right: 18px; }

.public-modal-caption {
  position: fixed;
  left: 50%;
  bottom: 20px;
  width: min(760px, calc(100% - 32px));
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(17, 24, 39, 0.86);
  color: var(--text-light);
  border-radius: 19px;
  padding: 14px;
}

.social-modal-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.public-modal-caption strong {
  color: var(--accent);
  display: block;
  margin-bottom: 3px;
}

.public-modal-caption p {
  margin: 0;
  font-weight: 800;
  line-height: 1.4;
}

.social-modal-caption button {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 850;
}

.public-loading-card,
.public-error-card {
  width: min(620px, calc(100% - 32px));
  margin: 80px auto;
  padding: 42px;
  text-align: center;
}

.public-loading-card h1,
.public-error-card h1 {
  margin: 18px 0 8px;
  color: var(--primary);
}

.public-loading-card p,
.public-error-card p {
  color: var(--text-muted);
  font-weight: 700;
}

.public-spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto;
  border-radius: 50%;
  border: 4px solid var(--accent-soft);
  border-top-color: var(--accent);
  animation: public-spin 0.8s linear infinite;
}

@keyframes public-spin {
  to { transform: rotate(360deg); }
}

.public-error-card > span {
  font-size: 46px;
}

.public-profile-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding: 22px 0 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-weight: 800;
  font-size: 13px;
}

.public-profile-footer img {
  width: 32px;
  height: 32px;
}

@media (max-width: 960px) {
  .social-profile-layout {
    grid-template-columns: 1fr;
  }

  .social-side-column {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .social-services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .public-profile-shell {
    width: min(100% - 20px, 1180px);
  }

  .social-cover {
    height: 235px;
    border-radius: 24px 24px 0 0;
  }

  .social-profile-card,
  .public-section {
    border-radius: 24px;
  }

  .social-profile-body {
    padding: 0 18px 22px;
  }

  .social-profile-topline {
    min-height: 70px;
  }

  .social-avatar-wrap {
    width: 126px;
    height: 126px;
    flex-basis: 126px;
    margin-top: -65px;
  }

  .social-profile-actions {
    padding-top: 12px;
  }

  .social-book-btn,
  .social-share-btn {
    min-width: auto;
    min-height: 42px;
    padding: 0 14px;
  }

  .social-name-line h1 {
    font-size: 34px;
  }

  .social-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .social-stats > div:nth-child(2) {
    border-right: none;
  }

  .social-stats > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .social-profile-tabs {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .social-profile-tabs a {
    min-width: 128px;
  }

  .social-portfolio-grid {
    gap: 4px;
  }

  .social-side-column {
    grid-template-columns: 1fr;
  }

  .social-copy-toast {
    position: static;
    width: fit-content;
    margin-top: 14px;
  }
}

@media (max-width: 520px) {
  .public-profile-header {
    width: min(100% - 20px, 1180px);
    min-height: auto;
    padding: 12px 0;
  }

  .public-brand span,
  .public-profile-header nav > a:not(.public-header-cta) {
    display: none;
  }

  .public-profile-header nav .public-header-cta {
    display: inline-flex;
  }

  .social-cover {
    height: 195px;
  }

  .social-avatar-wrap {
    width: 104px;
    height: 104px;
    flex-basis: 104px;
    margin-top: -54px;
  }

  .social-avatar {
    border-width: 5px;
  }

  .social-verified-mark {
    width: 29px;
    height: 29px;
    right: 2px;
    bottom: 6px;
    border-width: 3px;
  }

  .social-share-btn span {
    display: none;
  }

  .social-share-btn {
    width: 42px;
    padding: 0;
  }

  .social-share-menu {
    position: fixed;
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 12px;
    width: auto;
    border-radius: 22px;
  }

  .social-share-menu::before {
    display: none;
  }

  .social-name-line h1 {
    font-size: 30px;
  }

  .social-bio {
    font-size: 14px;
  }

  .social-portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .portfolio-featured-badge {
    top: 5px;
    left: 5px;
    min-height: 19px;
    padding: 0 6px;
    font-size: 7px;
  }

  .public-section {
    padding: 17px;
  }

  .social-service-card {
    grid-template-columns: 39px minmax(0, 1fr) auto;
  }

  .social-modal-caption {
    align-items: flex-start;
    flex-direction: column;
  }

  .social-modal-caption button {
    width: 100%;
    justify-content: center;
  }

  .public-modal-nav {
    display: none;
  }
}


/* ================= SMS CONSENT EVIDENCE ================= */
.sms-consent-demo {
  margin: 20px 0 30px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #f9fafb;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
}

.sms-demo-label {
  display: block;
  margin-bottom: 7px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.sms-demo-input {
  width: 100%;
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #ffffff;
  color: var(--text-muted);
  font-weight: 700;
}

.sms-demo-check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #ffffff;
}

.sms-demo-check-row p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.sms-demo-checkbox {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 2px solid #9ca3af;
  border-radius: 5px;
  background: #ffffff;
}

.sms-demo-button {
  width: 100%;
  margin-top: 16px;
  padding: 14px 18px;
  border: 0;
  border-radius: 14px;
  background: var(--accent);
  color: var(--primary);
  font-weight: 900;
  opacity: 0.8;
}

.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(17, 24, 39, 0.12);
}

.legal-footer-links a {
  color: #111827;
  font-weight: 700;
  text-decoration: none;
}

.legal-footer-links a:hover,
.legal-footer-links a:focus-visible {
  text-decoration: underline;
}

/* ================= ACCOUNT DELETION FORM ================= */

.deletion-form {
  display: grid;
  gap: 18px;
  margin: 22px 0 34px;
  padding: 24px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.08);
}

.deletion-field-group {
  display: grid;
  gap: 8px;
}

.deletion-field-group label {
  color: #2b2b2b;
  font-size: 0.92rem;
  font-weight: 750;
}

.deletion-field-group input,
.deletion-field-group select {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid #ded8cc;
  border-radius: 14px;
  background: #f8f6f1;
  color: #1f2937;
  font: inherit;
  font-weight: 650;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.deletion-field-group input:focus,
.deletion-field-group select:focus {
  border-color: #d6a85a;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(214, 168, 90, 0.15);
}

.deletion-field-group input:disabled,
.deletion-field-group select:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.deletion-code-input {
  text-align: center;
  font-size: 1.45rem !important;
  letter-spacing: 0.55rem;
  font-weight: 800 !important;
}

.deletion-secondary-button,
.deletion-danger-button,
.deletion-primary-link {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border-radius: 14px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, opacity 160ms ease, box-shadow 160ms ease;
}

.deletion-secondary-button {
  border: 1px solid #d6a85a;
  background: #fff5dc;
  color: #1f2a24;
}

.deletion-danger-button {
  border: 1px solid #a9211b;
  background: #b3261e;
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(179, 38, 30, 0.2);
}

.deletion-secondary-button:hover:not(:disabled),
.deletion-danger-button:hover:not(:disabled),
.deletion-primary-link:hover {
  transform: translateY(-1px);
}

.deletion-secondary-button:disabled,
.deletion-danger-button:disabled,
.deletion-text-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.deletion-code-note {
  padding: 14px 16px;
  border: 1px solid #ead9ac;
  border-radius: 14px;
  background: #fff9e9;
  color: #514a3d;
  line-height: 1.5;
}

.deletion-actions {
  display: grid;
  gap: 12px;
}

.deletion-text-button {
  border: 0;
  background: transparent;
  color: #676158;
  font: inherit;
  font-weight: 750;
  text-decoration: underline;
  cursor: pointer;
}

.deletion-message {
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.deletion-message-success {
  border: 1px solid rgba(46, 125, 50, 0.28);
  background: rgba(46, 125, 50, 0.08);
  color: #245f27;
}

.deletion-message-error {
  border: 1px solid rgba(179, 38, 30, 0.3);
  background: rgba(179, 38, 30, 0.08);
  color: #8d1f19;
}

.deletion-message-info {
  border: 1px solid rgba(31, 42, 36, 0.18);
  background: rgba(31, 42, 36, 0.06);
  color: #1f2a24;
}

.deletion-success-panel {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin: 24px 0 34px;
  padding: 34px 24px;
  border: 1px solid rgba(46, 125, 50, 0.25);
  border-radius: 22px;
  background: rgba(46, 125, 50, 0.06);
  text-align: center;
}

.deletion-success-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: #2e7d32;
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 900;
}

.deletion-success-panel h3,
.deletion-success-panel p {
  margin: 0;
}

.deletion-primary-link {
  margin-top: 8px;
  background: #1f2a24;
  color: #ffffff;
}

@media (max-width: 640px) {
  .deletion-form {
    padding: 18px;
    border-radius: 18px;
  }

  .deletion-code-input {
    letter-spacing: 0.38rem;
  }
}

/* ================= PUBLIC BARBER APPLICATION ================= */

.join-virecut-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 8%, rgba(212, 175, 55, 0.16), transparent 30%),
    linear-gradient(145deg, #0b1220 0%, #111827 46%, #1f2937 100%);
  color: var(--text-light);
}

.join-virecut-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.join-virecut-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-light);
  text-decoration: none;
}

.join-virecut-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  padding: 5px;
}

.join-virecut-brand div {
  display: grid;
  gap: 3px;
}

.join-virecut-brand strong {
  font-size: 22px;
}

.join-virecut-brand span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 700;
}

.join-back-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 800;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 999px;
  padding: 11px 16px;
}

.join-virecut-main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: 54px;
  align-items: start;
}

.join-virecut-intro {
  position: sticky;
  top: 30px;
  padding-top: 36px;
}

.join-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.join-virecut-intro h1 {
  margin: 16px 0 18px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.join-virecut-intro > p {
  margin: 0;
  max-width: 650px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.7;
}

.join-free-notice {
  margin-top: 28px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.34);
  display: grid;
  gap: 6px;
}

.join-free-notice strong {
  color: var(--accent);
  font-size: 16px;
}

.join-free-notice span {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.5;
}

.join-benefits {
  margin-top: 34px;
  display: grid;
  gap: 14px;
}

.join-benefits > div {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.join-benefits > div > span {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--primary);
  background: var(--accent);
  font-weight: 900;
}

.join-benefits strong {
  font-size: 15px;
}

.join-benefits p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.45;
}

.join-virecut-card {
  background: var(--card);
  color: var(--text-dark);
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.68);
}

.join-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--input);
  padding: 5px;
  border-radius: 16px;
  margin-bottom: 24px;
}

.join-mode-tabs button {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 800;
}

.join-mode-tabs button.active {
  background: var(--primary);
  color: var(--text-light);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.18);
}

.join-message {
  margin-bottom: 20px;
  border-radius: 15px;
  padding: 13px 15px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
  background: #eef2ff;
  color: #3730a3;
  border: 1px solid #c7d2fe;
}

.join-message.success {
  background: #ecfdf3;
  color: #166534;
  border-color: #bbf7d0;
}

.join-message.danger {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}

.join-form {
  display: grid;
  gap: 18px;
}

.join-card-heading span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.join-card-heading h2 {
  margin: 8px 0 7px;
  color: var(--primary);
  font-size: 27px;
  line-height: 1.15;
}

.join-card-heading p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.5;
}

.join-card-heading.centered {
  text-align: center;
}

.join-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.join-form label {
  display: grid;
  gap: 8px;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 800;
}

.join-form input,
.join-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--input);
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--text-dark);
  outline: none;
  font-size: 14px;
  resize: vertical;
}

.join-form input:focus,
.join-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.13);
}

.join-full-field {
  width: 100%;
}

.join-location-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border-radius: 17px;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
}

.join-location-box.ready {
  background: #f0fdf4;
  border-color: #86efac;
}

.join-location-box > div {
  display: grid;
  gap: 4px;
}

.join-location-box strong {
  color: var(--primary);
  font-size: 14px;
}

.join-location-box span {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.4;
}

.join-location-box button {
  flex: 0 0 auto;
  border: 0;
  background: var(--primary);
  color: var(--text-light);
  border-radius: 13px;
  padding: 11px 14px;
  font-weight: 800;
}

.join-checkbox {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 11px !important;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: #fcfcfb;
  font-weight: 650 !important;
  line-height: 1.5;
}

.join-checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.join-checkbox span {
  flex: 1;
  color: var(--text-muted);
}

.join-checkbox a {
  color: var(--primary);
  font-weight: 850;
}

.join-submit-button {
  width: 100%;
  border: 0;
  background: var(--accent);
  color: var(--primary);
  border-radius: 16px;
  padding: 15px 18px;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.22);
}

.join-form-footnote {
  margin: -4px 0 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
}

.join-status-form {
  min-height: 330px;
  align-content: center;
}

.join-verification {
  min-height: 420px;
  align-content: center;
}

.join-status-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 34px;
  font-weight: 900;
}

.join-status-icon.success {
  background: #dcfce7;
  color: #15803d;
}

.join-status-icon.danger {
  background: #fee2e2;
  color: #b91c1c;
}

.join-status-icon.pending,
.join-status-icon.warning {
  background: var(--accent-soft);
  color: #9a7415;
}

.join-text-button {
  border: 0;
  background: transparent;
  color: var(--primary);
  font-weight: 850;
  padding: 10px;
}

.join-complete {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 12px;
}

.join-complete h2 {
  margin: 2px 0 0;
  font-size: 28px;
  color: var(--primary);
}

.join-complete > p {
  margin: 0 auto 8px;
  max-width: 480px;
  color: var(--text-muted);
  line-height: 1.55;
}

.join-result-details {
  margin: 10px 0;
  display: grid;
  gap: 9px;
  text-align: left;
}

.join-result-details > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 14px;
  border-radius: 13px;
  background: var(--input);
}

.join-result-details span {
  color: var(--text-muted);
  font-size: 13px;
}

.join-result-details strong {
  color: var(--primary);
  text-transform: capitalize;
  word-break: break-word;
}

.join-support-link {
  display: inline-flex;
  justify-content: center;
  text-decoration: none;
  border-radius: 15px;
  padding: 14px;
  background: var(--primary);
  color: var(--text-light);
  font-weight: 850;
}

.join-virecut-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.join-virecut-footer div {
  display: flex;
  gap: 18px;
}

.join-virecut-footer a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.barber-join-action {
  display: inline-flex;
  margin-top: 22px;
  text-decoration: none;
}

@media (max-width: 980px) {
  .join-virecut-main {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 20px;
  }

  .join-virecut-intro {
    position: static;
    padding-top: 12px;
  }

  .join-virecut-intro h1 {
    max-width: 760px;
  }
}

@media (max-width: 640px) {
  .join-virecut-header,
  .join-virecut-main,
  .join-virecut-footer {
    width: min(100% - 24px, 1180px);
  }

  .join-virecut-header {
    padding-top: 14px;
  }

  .join-back-link {
    padding: 9px 12px;
    font-size: 12px;
  }

  .join-virecut-brand span {
    display: none;
  }

  .join-virecut-main {
    padding-bottom: 36px;
  }

  .join-virecut-intro h1 {
    font-size: 38px;
  }

  .join-virecut-card {
    padding: 20px;
    border-radius: 23px;
  }

  .join-form-grid {
    grid-template-columns: 1fr;
  }

  .join-location-box {
    align-items: stretch;
    flex-direction: column;
  }

  .join-location-box button {
    width: 100%;
  }

  .join-virecut-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* ================= JOIN VIRECUT LANDING CTA V2 ================= */

.landing-nav-join {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 17px;
  border-radius: 999px;
  background: #d4af37;
  color: #111827 !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.2);
  white-space: nowrap;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.landing-nav-join:hover {
  color: #111827 !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(212, 175, 55, 0.3);
}

.barber-hero-action {
  border-color: rgba(212, 175, 55, 0.55);
  background: rgba(212, 175, 55, 0.1);
}

.barber-quick-cta {
  width: min(1120px, calc(100% - 40px));
  margin: -42px auto 34px;
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.2), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.055));
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
}

.barber-quick-copy {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.barber-quick-copy > span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.34);
  color: #f2d675;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.barber-quick-copy h2 {
  margin: 0 0 7px;
  color: #ffffff;
  font-size: clamp(21px, 2.6vw, 30px);
  line-height: 1.15;
}

.barber-quick-copy p {
  margin: 0;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.barber-quick-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 16px;
  background: #d4af37;
  color: #111827;
  text-decoration: none;
  font-weight: 950;
  box-shadow: 0 14px 34px rgba(212, 175, 55, 0.24);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.barber-quick-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(212, 175, 55, 0.34);
}

.barber-quick-button b {
  font-size: 20px;
  line-height: 1;
}

.join-message.warning {
  background: #fffbeb;
  color: #92400e;
  border-color: #fde68a;
}

@media (max-width: 940px) {
  .landing-nav-join {
    display: none;
  }

  .barber-quick-cta,
  .barber-quick-copy {
    align-items: stretch;
    flex-direction: column;
  }

  .barber-quick-cta {
    margin-top: -24px;
  }

  .barber-quick-button {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .barber-quick-cta {
    width: min(100% - 28px, 1120px);
    margin-top: -14px;
    padding: 21px;
    border-radius: 22px;
  }

  .barber-quick-copy {
    gap: 13px;
  }
}

/* ================= LOCATION METHOD CHOICE ================= */

.join-location-method {
  display: grid;
  gap: 12px;
}

.join-location-method-heading {
  display: grid;
  gap: 4px;
}

.join-location-method-heading strong {
  color: var(--text-dark);
  font-size: 13px;
}

.join-location-method-heading span,
.join-field-help {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.45;
}

.join-location-method-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.join-location-method-options button {
  border: 1px solid var(--border);
  background: #fcfcfb;
  border-radius: 16px;
  padding: 15px;
  text-align: left;
  display: grid;
  gap: 5px;
  color: var(--text-dark);
}

.join-location-method-options button b {
  font-size: 14px;
}

.join-location-method-options button span {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.4;
}

.join-location-method-options button.active {
  border-color: var(--accent);
  background: rgba(212, 175, 55, 0.10);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.10);
}

.join-message.warning {
  background: #fffbeb;
  color: #92400e;
  border-color: #fde68a;
}

/* ================= LIVE APP DOWNLOAD CARDS ================= */

.download-app-grid {
  width: min(100%, 1040px);
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  text-align: left;
}

.download-app-card {
  border-radius: 26px;
  padding: 26px;
  background: rgba(7, 12, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.20);
}

.barber-download-card {
  background:
    linear-gradient(145deg, rgba(212, 175, 55, 0.12), rgba(7, 12, 24, 0.78));
  border-color: rgba(212, 175, 55, 0.30);
}

.download-app-card-heading {
  display: grid;
  gap: 8px;
}

.download-app-label {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.download-app-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: 30px;
  letter-spacing: -0.03em;
}

.download-app-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.55;
}

.download-app-card .download-buttons {
  justify-content: flex-start;
  margin-top: 22px;
}

.download-app-card .store-button.large {
  flex: 1 1 190px;
  min-width: 0;
}

@media (max-width: 760px) {
  .join-location-method-options,
  .download-app-grid {
    grid-template-columns: 1fr;
  }

  .join-location-box {
    align-items: stretch;
    flex-direction: column;
  }

  .join-location-box button {
    width: 100%;
  }

  .download-app-card {
    padding: 20px;
  }
}

/* ================= PUBLIC WEB BOOKING ================= */
.social-book-btn,
.social-service-book-link,
.public-book-card .public-primary-btn {
  border: none;
  cursor: pointer;
  font: inherit;
}

.booking-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
  background: rgba(7, 13, 23, 0.76);
  backdrop-filter: blur(12px);
}

.booking-modal {
  width: min(760px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  border: 1px solid rgba(212, 175, 55, 0.26);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(2, 8, 23, 0.38);
}

.booking-modal-header {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.booking-modal-header span,
.booking-step-heading > span,
.booking-success > span {
  color: #9a7620;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.booking-modal-header h2 {
  margin: 4px 0 0;
  color: var(--primary);
  font-size: clamp(22px, 4vw, 30px);
  line-height: 1.08;
}

.booking-modal-header > button {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #f8fafc;
  color: var(--primary);
  cursor: pointer;
  font-size: 27px;
  line-height: 1;
}

.booking-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  padding: 18px 24px 0;
}

.booking-progress span {
  height: 5px;
  border-radius: 999px;
  background: #e8e9ec;
}

.booking-progress span.active {
  background: linear-gradient(90deg, #b88b24, var(--accent));
}

.booking-step,
.booking-success {
  padding: 24px;
}

.booking-step-heading h3,
.booking-success h3 {
  margin: 5px 0 6px;
  color: var(--primary);
  font-size: 23px;
  line-height: 1.15;
}

.booking-step-heading p,
.booking-success > p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
}

.booking-alert {
  margin: 18px 24px 0;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.booking-alert.error {
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #9f1239;
}

.booking-service-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.booking-service-option {
  width: 100%;
  min-height: 70px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #ffffff;
  color: var(--primary);
  cursor: pointer;
  text-align: left;
}

.booking-service-option:hover,
.booking-service-option.selected {
  border-color: rgba(212, 175, 55, 0.65);
  background: #fffaf0;
}

.booking-service-check {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 2px solid #d8dce3;
  border-radius: 8px;
  color: #111827;
  background: #ffffff;
  font-size: 14px;
  font-weight: 950;
}

.booking-service-option.selected .booking-service-check {
  border-color: var(--accent);
  background: var(--accent);
}

.booking-service-option strong,
.booking-service-option small {
  display: block;
}

.booking-service-option strong {
  font-size: 14px;
}

.booking-service-option small {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 750;
}

.booking-service-option b {
  font-size: 16px;
}

.booking-date-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 20px;
}

.booking-date-list button,
.booking-time-grid button {
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: #ffffff;
  color: var(--primary);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.booking-date-list button:hover,
.booking-date-list button.selected,
.booking-time-grid button:hover,
.booking-time-grid button.selected {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.booking-time-section {
  margin-top: 22px;
}

.booking-time-section > strong {
  color: var(--primary);
  font-size: 13px;
}

.booking-time-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 10px;
}

.booking-inline-loading,
.booking-empty {
  margin-top: 18px;
  padding: 16px;
  border: 1px dashed #d7dbe2;
  border-radius: 15px;
  color: var(--text-muted);
  background: #fafafa;
  text-align: center;
  font-size: 12px;
  font-weight: 750;
}

.booking-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.booking-form-grid label {
  display: grid;
  gap: 7px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 850;
}

.booking-form-grid input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 0 13px;
  background: var(--input);
  color: var(--primary);
  font: inherit;
  outline: none;
}

.booking-form-grid input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.booking-full-field {
  grid-column: 1 / -1;
}

.booking-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.booking-code-row button {
  min-width: 114px;
  border: 1px solid rgba(212, 175, 55, 0.48);
  border-radius: 13px;
  padding: 0 13px;
  background: var(--accent-soft);
  color: var(--primary);
  cursor: pointer;
  font-size: 11px;
  font-weight: 950;
}

.booking-code-row button:disabled,
.booking-primary:disabled {
  cursor: wait;
  opacity: 0.62;
}

.booking-help-text {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 650;
}

.booking-summary {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 17px;
  background: linear-gradient(145deg, #fffdf7, #f8f5ea);
}

.booking-summary > div:not(.booking-summary-totals) small,
.booking-summary > div:not(.booking-summary-totals) strong {
  display: block;
}

.booking-summary small,
.booking-success-details small {
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.booking-summary strong {
  margin-top: 4px;
  color: var(--primary);
  font-size: 12px;
  line-height: 1.4;
}

.booking-summary-totals {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(212, 175, 55, 0.24);
  color: var(--primary);
  font-size: 13px;
  font-weight: 850;
}

.booking-summary-totals b {
  font-size: 20px;
}

.booking-privacy-note {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.5;
}

.booking-actions {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.booking-actions.single {
  grid-template-columns: 1fr;
}

.booking-primary,
.booking-secondary {
  min-height: 48px;
  border-radius: 14px;
  padding: 0 18px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 950;
}

.booking-primary {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--primary);
}

.booking-primary:hover {
  filter: brightness(0.97);
  transform: translateY(-1px);
}

.booking-secondary {
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--primary);
}

.booking-success {
  text-align: center;
}

.booking-success-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin: 5px auto 15px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.32);
  font-size: 34px;
  font-weight: 950;
}

.booking-success > p strong {
  color: var(--primary);
}

.booking-success-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.booking-success-details > div {
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: #fafafa;
}

.booking-success-details strong {
  color: var(--primary);
  font-size: 13px;
}

.booking-app-message {
  margin-top: 20px !important;
}

.booking-store-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 15px;
}

.booking-store-links a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--primary);
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.booking-done {
  width: 100%;
  margin-top: 12px;
}

@media (max-width: 680px) {
  .booking-modal-backdrop {
    align-items: end;
    padding: 0;
  }

  .booking-modal {
    width: 100%;
    max-height: 94vh;
    border-radius: 25px 25px 0 0;
  }

  .booking-modal-header,
  .booking-step,
  .booking-success {
    padding-left: 18px;
    padding-right: 18px;
  }

  .booking-progress {
    padding-left: 18px;
    padding-right: 18px;
  }

  .booking-alert {
    margin-left: 18px;
    margin-right: 18px;
  }

  .booking-date-list,
  .booking-time-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .booking-form-grid {
    grid-template-columns: 1fr;
  }

  .booking-full-field {
    grid-column: auto;
  }
}

@media (max-width: 430px) {
  .booking-date-list,
  .booking-time-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-code-row {
    grid-template-columns: 1fr;
  }

  .booking-code-row button {
    min-height: 44px;
  }

  .booking-actions {
    grid-template-columns: 1fr;
  }

  .booking-success-details,
  .booking-store-links {
    grid-template-columns: 1fr;
  }
}

/* Appointment booking source tracking */
.booking-source-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  background: rgba(148, 163, 184, 0.16);
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.booking-source-badge.web {
  background: rgba(14, 165, 233, 0.14);
  border-color: rgba(14, 165, 233, 0.32);
}

.booking-source-badge.app {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.32);
}

.booking-source-badge.barber {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.34);
}

.booking-source-badge.admin {
  background: rgba(168, 85, 247, 0.14);
  border-color: rgba(168, 85, 247, 0.32);
}

/* ================= BOOKING TIME ZONES ================= */
.booking-timezone-note {
  display: grid;
  gap: 3px;
  margin-top: 16px;
  padding: 13px 14px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 14px;
  background: #fffdf7;
}

.booking-timezone-note strong {
  color: var(--primary);
  font-size: 12px;
}

.booking-timezone-note span,
.booking-timezone-note small {
  color: var(--text-muted);
  font-size: 10px;
  line-height: 1.45;
}

.booking-time-grid button {
  display: grid;
  place-items: center;
  gap: 3px;
  padding: 7px 5px;
}

.booking-time-grid button > span {
  display: block;
}

.booking-time-grid button > small {
  display: block;
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 750;
  line-height: 1.2;
}

.booking-client-time {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 750;
}

/* ================= WEB BARBER SOCIAL REGISTRATION ================= */
.join-social-section { display: grid; gap: 16px; padding: 2px 0 4px; }
.join-social-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: stretch; }
.join-google-button-shell { min-height: 46px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 12px; background: #ffffff; }
.join-google-button-shell > div, .join-google-button-shell iframe { max-width: 100% !important; }
.join-apple-button { min-height: 46px; width: 100%; border: 1px solid #111827; border-radius: 12px; background: #000000; color: #ffffff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 16px; font-size: 14px; font-weight: 750; cursor: pointer; }
.join-apple-button:hover:not(:disabled) { background: #171717; }
.join-apple-button:disabled { opacity: 0.6; cursor: wait; }
.join-apple-mark { font-size: 21px; line-height: 1; }
.join-provider-divider { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: 0.05em; }
.join-provider-divider::before, .join-provider-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.join-provider-divider span { white-space: nowrap; }
.join-social-connected { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 13px; padding: 14px; border: 1px solid #bbf7d0; border-radius: 16px; background: #f0fdf4; }
.join-social-connected-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--primary); color: #ffffff; font-size: 22px; font-weight: 900; }
.join-social-identity { min-width: 0; display: grid; gap: 2px; }
.join-social-identity span, .join-social-identity small { color: var(--text-muted); font-size: 12px; line-height: 1.35; overflow-wrap: anywhere; }
.join-social-identity strong { color: var(--primary); font-size: 14px; }
.join-social-connected > button { border: 0; border-radius: 10px; background: transparent; color: var(--primary); padding: 9px 10px; font-size: 12px; font-weight: 850; cursor: pointer; }
.join-readonly-input { background: #f1f5f9 !important; color: #475569 !important; cursor: default; }
.join-field-note { color: #166534; font-size: 11px; font-weight: 700; }
@media (max-width: 640px) {
  .join-social-buttons { grid-template-columns: 1fr; }
  .join-social-connected { grid-template-columns: 44px minmax(0, 1fr); }
  .join-social-connected-icon { width: 44px; height: 44px; }
  .join-social-connected > button { grid-column: 1 / -1; width: 100%; border: 1px solid var(--border); background: #ffffff; }
  .join-provider-divider span { white-space: normal; text-align: center; }
}

.provider-badge.apple {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
}

.error-boundary-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background: #f8f7f4;
}

.error-boundary-card {
  width: min(620px, 100%);
  background: #ffffff;
  border: 1px solid #e7e3da;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.10);
}

.error-boundary-card h1 {
  margin-top: 0;
}

.error-boundary-details {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 12px;
  border-radius: 12px;
  background: #f5f4f0;
  color: #6b7280;
}

/* ================= ADMIN CONTROL CENTER V2 ================= */
.admin-mobile-menu { display:none; position:fixed; top:14px; left:14px; z-index:1201; width:44px; height:44px; border:0; border-radius:13px; background:var(--primary); color:#fff; font-size:20px; box-shadow:0 10px 30px rgba(15,23,42,.18); }
.sidebar-scrim { display:none; position:fixed; inset:0; z-index:1190; border:0; background:rgba(15,23,42,.48); }
.admin-nav-scroll { min-height:0; overflow-y:auto; padding-right:4px; gap:18px; }
.nav-group { display:grid; gap:6px; }
.nav-group-label { margin:0 8px 4px; color:rgba(255,255,255,.42); font-size:10px; font-weight:900; letter-spacing:.11em; text-transform:uppercase; }
.nav-menu .nav-group a { display:flex; align-items:center; gap:10px; padding:11px 12px; }
.nav-icon { width:22px; text-align:center; opacity:.9; }
.eyebrow { margin:0 0 7px!important; color:#9b7b12!important; font-size:11px!important; font-weight:900!important; letter-spacing:.1em; text-transform:uppercase; }
.admin-hero-header { padding:4px 0 6px; align-items:center; }
.header-actions { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.header-actions button, .page-header > button { border:0; border-radius:13px; padding:12px 16px; background:var(--accent); color:var(--primary); font-weight:850; }
.admin-stats-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-bottom:20px; }
.admin-stats-grid .stat-card { min-width:0; }
.admin-stats-grid .stat-card h3 { margin:8px 0 0; font-size:14px; overflow-wrap:anywhere; }
.admin-stat-link { color:inherit; text-decoration:none; transition:transform .16s ease, box-shadow .16s ease; }
.admin-stat-link:hover { transform:translateY(-2px); box-shadow:0 14px 32px rgba(15,23,42,.09); }
.dashboard-columns { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:18px; margin-bottom:18px; }
.section-heading, .section-heading-row { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:14px; }
.section-heading h2, .section-heading-row h2 { margin:0; }
.section-heading p, .section-heading-row p { margin:4px 0 0; color:var(--text-muted); font-size:13px; }
.compact-list { display:grid; gap:9px; }
.compact-row { display:flex; justify-content:space-between; gap:14px; align-items:center; padding:11px 0; border-bottom:1px solid var(--border); }
.compact-row:last-child { border-bottom:0; }
.compact-row > div:first-child { min-width:0; display:grid; gap:3px; }
.compact-row span, .compact-row small { color:var(--text-muted); font-size:12px; }
.compact-row-right { display:grid!important; text-align:right; justify-items:end; flex-shrink:0; }
.text-link, .back-link { color:#8a6d0d; font-weight:800; text-decoration:none; }
.text-link:hover, .back-link:hover { text-decoration:underline; }
.button-link, .secondary-link { display:inline-flex; align-items:center; justify-content:center; text-decoration:none; border-radius:13px; padding:11px 14px; font-weight:850; }
.button-link { background:var(--accent); color:var(--primary); }
.secondary-link { border:1px solid var(--border); color:var(--primary); background:#fff; }
.table-link-btn { display:inline-flex; align-items:center; justify-content:center; padding:8px 11px; border-radius:10px; background:#fff8dc; color:#775d08; border:1px solid #eadca4; font-size:12px; font-weight:850; text-decoration:none; }
.table-wrapper { width:100%; overflow-x:auto; }
.wide-table { min-width:1050px; }
.table-subtext { display:block; margin-top:3px; color:var(--text-muted); font-size:11px; font-weight:500; }
.muted-text { color:var(--text-muted); }
.wrap-text { overflow-wrap:anywhere; word-break:break-word; }

.detail-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.detail-grid-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.detail-item { display:grid; gap:5px; min-width:0; padding:13px; border:1px solid var(--border); border-radius:14px; background:#fbfbfa; }
.detail-item > span { color:var(--text-muted); font-size:11px; font-weight:750; text-transform:uppercase; letter-spacing:.04em; }
.detail-item > strong { overflow-wrap:anywhere; }
.detail-item.full, .span-2 { grid-column:1 / -1; }
.detail-section { margin-top:20px; }
.admin-action-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.admin-action-grid button, .success-btn { border:0; border-radius:13px; padding:12px 14px; font-weight:850; }
.success-btn { background:#dcfce7!important; color:#166534!important; }
.inline-badges { display:flex; flex-wrap:wrap; gap:7px; margin-top:9px; }
.small-status { display:inline-flex; align-items:center; width:max-content; padding:5px 9px; border-radius:999px; background:#f1f5f9; color:#475569; font-size:10px; font-weight:850; }
.small-status.ok { background:#dcfce7; color:#166534; }
.profile-hero, .barber-profile-hero { display:flex; align-items:center; gap:18px; padding:20px; border:1px solid var(--border); border-radius:20px; background:linear-gradient(135deg,#fff,#fffaf0); margin-bottom:18px; }
.profile-avatar, .large-logo { width:82px; height:82px; flex:0 0 82px; border-radius:22px; object-fit:cover; display:grid; place-items:center; background:var(--primary); color:var(--accent); font-size:28px; font-weight:900; }
.profile-hero-copy { min-width:0; flex:1; }
.profile-hero-copy h1, .profile-hero-copy h2 { margin:0 0 5px; }
.profile-hero-copy p { margin:2px 0; color:var(--text-muted); }
.profile-actions-stack { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.bio-box { padding:14px; border-radius:14px; background:#f8f7f4; color:#475569; line-height:1.55; white-space:pre-wrap; }
.soft-divider { height:1px; background:var(--border); margin:18px 0; }

.admin-tabs, .tabs-scroll { display:flex; gap:8px; overflow-x:auto; margin:0 0 18px; padding-bottom:3px; }
.admin-tabs button, .tabs-scroll button { white-space:nowrap; border:1px solid var(--border); border-radius:999px; padding:9px 13px; background:#fff; color:var(--text-muted); font-weight:800; }
.admin-tabs button.active, .tabs-scroll button.active { background:var(--primary); color:#fff; border-color:var(--primary); }
.availability-summary { display:grid; gap:8px; }
.availability-summary-row { display:grid; grid-template-columns:120px 1fr; gap:14px; align-items:center; padding:10px 0; border-bottom:1px solid var(--border); }
.availability-summary-row:last-child { border-bottom:0; }
.mobile-settings-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.inline-form-row { display:flex; gap:10px; align-items:end; flex-wrap:wrap; }
.inline-form-row > div { flex:1; min-width:170px; }
.check-row, .danger-check { display:flex!important; align-items:center; gap:9px; font-weight:750; }
.check-row input, .danger-check input { width:auto!important; }
.danger-check { color:#b91c1c; }
.portfolio-admin-grid, .admin-review-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.portfolio-admin-card, .review-admin-card { border:1px solid var(--border); border-radius:16px; overflow:hidden; background:#fff; }
.portfolio-admin-card img { width:100%; aspect-ratio:1/1; object-fit:cover; display:block; }
.portfolio-admin-card > div, .review-admin-card { padding:12px; }
.review-card-top { display:flex; justify-content:space-between; gap:10px; }
.review-stars { color:#c89912; letter-spacing:1px; }

.admin-filter-grid, .appointment-filter-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; align-items:end; }
.filter-submit { align-self:end; }
.pagination-row { display:flex; align-items:center; justify-content:center; gap:12px; margin-top:16px; }
.pagination-row button { border:1px solid var(--border); background:#fff; color:var(--primary); border-radius:11px; padding:9px 12px; font-weight:800; }
.modal-card.extra-wide, .extra-wide { width:min(1100px,calc(100vw - 40px)); max-width:1100px; }
.modal-close { width:38px; height:38px; border:0!important; border-radius:50%!important; background:#f1f5f9!important; color:#111827!important; padding:0!important; font-size:22px; }
.attention-row { background:#fff7ed; }
.error-cell { max-width:360px; color:#b91c1c; font-size:12px; overflow-wrap:anywhere; }
.compact-select { width:auto; min-width:150px; border:1px solid var(--border); border-radius:11px; padding:9px 11px; background:#fff; }
.compact-btn, .compact-button { padding:8px 10px!important; border-radius:10px!important; font-size:11px!important; }
.empty-state { padding:22px; text-align:center; color:var(--text-muted); }

.establishment-admin-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; }
.establishment-admin-card { border:1px solid var(--border); border-radius:18px; overflow:hidden; background:#fff; box-shadow:0 8px 25px rgba(15,23,42,.05); }
.establishment-cover { position:relative; height:128px; background:#ece9e0; overflow:hidden; }
.establishment-cover > img { width:100%; height:100%; object-fit:cover; }
.establishment-logo { position:absolute; bottom:10px; left:12px; width:54px; height:54px; border-radius:14px; object-fit:cover; border:3px solid #fff; background:#fff; }
.establishment-card-body { padding:15px; display:grid; gap:8px; }
.establishment-card-body h3 { margin:0; }
.establishment-card-body p { margin:0; color:var(--text-muted); font-size:12px; }
.establishment-detail-hero { position:relative; height:250px; border-radius:22px; overflow:hidden; background:linear-gradient(135deg,#111827,#334155); margin-bottom:18px; }
.establishment-detail-cover { width:100%; height:100%; object-fit:cover; opacity:.58; }
.establishment-detail-content { position:absolute; inset:auto 22px 20px; display:flex; align-items:end; gap:16px; color:#fff; }
.establishment-detail-content .establishment-logo { position:static; width:76px; height:76px; flex:0 0 76px; }
.establishment-detail-content h1 { margin:0 0 5px; }
.establishment-detail-content p { margin:0; color:rgba(255,255,255,.78); }
.business-hours-editor { display:grid; gap:8px; }
.hours-row { display:grid; grid-template-columns:110px 100px 1fr 1fr; gap:10px; align-items:center; padding:9px; border:1px solid var(--border); border-radius:12px; }
.hours-row input[type="checkbox"] { width:auto; }
.business-hours-summary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.hours-summary-card { display:flex; justify-content:space-between; gap:10px; padding:10px 12px; border:1px solid var(--border); border-radius:12px; }
.join-code-box { display:flex; justify-content:space-between; gap:12px; align-items:center; padding:15px; border-radius:15px; background:#111827; color:#fff; }
.join-code-box strong { color:var(--accent); font-size:22px; letter-spacing:.12em; }
.staff-add-row { display:grid; grid-template-columns:1fr 170px auto; gap:10px; align-items:end; }

.health-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-bottom:18px; }
.health-card { display:flex; gap:12px; padding:15px; border-radius:15px; border:1px solid var(--border); background:#fff; }
.health-card.bad { border-color:#fecaca; background:#fffafa; }
.health-card.ok { border-color:#bbf7d0; }
.health-card small { display:block; color:var(--text-muted); font-size:10px; text-transform:uppercase; font-weight:850; }
.health-card strong { display:block; margin:2px 0 4px; }
.health-card p { margin:0; color:var(--text-muted); font-size:12px; overflow-wrap:anywhere; }
.health-dot { display:inline-block; width:10px; height:10px; flex:0 0 10px; border-radius:50%; background:#94a3b8; margin-top:4px; }
.health-dot.ok { background:#22c55e; box-shadow:0 0 0 4px #dcfce7; }
.health-dot.bad { background:#ef4444; box-shadow:0 0 0 4px #fee2e2; }
.health-dot.warn { background:#f59e0b; box-shadow:0 0 0 4px #fef3c7; }
.system-health-note p { margin-bottom:0; line-height:1.6; color:var(--text-muted); }
.integration-strip { display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; }

.audit-action { display:inline-flex; padding:5px 8px; border-radius:8px; background:#f1f5f9; font-size:11px; font-weight:800; color:#334155; }
.json-label { display:block; margin:18px 0 7px; font-weight:800; }
.json-preview { max-height:360px; overflow:auto; margin:0; padding:14px; border-radius:13px; background:#0f172a; color:#e2e8f0; font-size:12px; line-height:1.55; white-space:pre-wrap; overflow-wrap:anywhere; }

.report-range-panel { display:grid; grid-template-columns:180px 180px 1fr; gap:12px; align-items:end; }
.report-generated { display:grid; justify-items:end; gap:4px; }
.report-generated span { color:var(--text-muted); font-size:11px; }
.report-stats-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.daily-bars { display:grid; gap:8px; }
.daily-bar-row { display:grid; grid-template-columns:95px minmax(100px,1fr) 45px 90px; gap:10px; align-items:center; font-size:12px; }
.daily-bar-track { height:9px; overflow:hidden; background:#eef0f3; border-radius:999px; }
.daily-bar-fill { height:100%; background:linear-gradient(90deg,#d4af37,#f2d56b); border-radius:999px; }
.daily-bar-row small { color:var(--text-muted); text-align:right; }
.status-summary-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.status-summary-card { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:12px; border:1px solid var(--border); border-radius:13px; }
.status-summary-card > strong { font-size:20px; }

.status-badge.pending_approval, .status-badge.pending-customer-approval { background:#fff7ed; color:#9a3412; }
.status-badge.pending_customer_confirmation { background:#eff6ff; color:#1d4ed8; }
.status-badge.needs_closure { background:#fdf4ff; color:#86198f; }
.status-badge.no_show { background:#fff1f2; color:#be123c; }
.status-badge.expired { background:#f1f5f9; color:#475569; }
.status-badge.declined { background:#fee2e2; color:#991b1b; }
.status-badge.owner { background:#fef3c7; color:#92400e; }
.status-badge.employee { background:#e0f2fe; color:#075985; }

@media (max-width: 1180px) {
  .admin-stats-grid, .report-stats-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .establishment-admin-grid, .health-grid, .portfolio-admin-grid, .admin-review-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .admin-filter-grid, .appointment-filter-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 850px) {
  .admin-mobile-menu { display:block; }
  .sidebar-scrim { display:block; }
  .sidebar { z-index:1200; transform:translateX(-102%); transition:transform .2s ease; box-shadow:18px 0 45px rgba(15,23,42,.25); }
  .sidebar.open { transform:translateX(0); }
  .main-content { margin-left:0; width:100%; padding:74px 18px 22px; }
  .dashboard-columns, .detail-grid, .detail-grid-3, .mobile-settings-grid { grid-template-columns:1fr; }
  .detail-item.full, .span-2 { grid-column:auto; }
  .page-header, .admin-hero-header { flex-direction:column; align-items:stretch; }
  .header-actions { width:100%; }
  .header-actions button, .header-actions a { flex:1; }
  .staff-add-row { grid-template-columns:1fr; }
  .report-range-panel { grid-template-columns:1fr 1fr; }
  .report-generated { grid-column:1/-1; justify-items:start; }
  .daily-bar-row { grid-template-columns:85px minmax(80px,1fr) 34px; }
  .daily-bar-row small { display:none; }
  .establishment-detail-hero { height:290px; }
  .establishment-detail-content { align-items:flex-start; flex-direction:column; }
}

@media (max-width: 620px) {
  .admin-stats-grid, .report-stats-grid, .establishment-admin-grid, .health-grid, .portfolio-admin-grid, .admin-review-list, .admin-filter-grid, .appointment-filter-grid, .status-summary-grid, .business-hours-summary { grid-template-columns:1fr; }
  .profile-hero, .barber-profile-hero { align-items:flex-start; flex-direction:column; }
  .hours-row { grid-template-columns:1fr 1fr; }
  .hours-row > strong { grid-column:1/-1; }
  .report-range-panel { grid-template-columns:1fr; }
  .report-generated { grid-column:auto; }
  .availability-summary-row { grid-template-columns:1fr; gap:4px; }
}
.file-upload-btn { display:flex!important; align-items:center; justify-content:center; margin-top:8px; padding:9px 11px; border:1px dashed #d7b94e; border-radius:11px; background:#fffaf0; color:#775d08; font-size:11px!important; font-weight:850!important; cursor:pointer; }
.file-upload-btn input { display:none; }
.portfolio-actions { display:flex; flex-wrap:wrap; gap:7px; margin-top:10px; }
.portfolio-admin-card > div { padding:12px; }
.profile-avatar img, .establishment-logo img { width:100%; height:100%; object-fit:cover; border-radius:inherit; }


/* ===== VireCut v6.3.3 viewport/root fix ===== */
html, body {
  width: 100%;
  min-width: 0;
  min-height: 100%;
}
body {
  overflow-x: hidden;
}
#root {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  border-inline: 0 !important;
  text-align: left !important;
}
.sidebar .brand h2,
.sidebar .user-name {
  color: #ffffff !important;
}
.join-virecut-page,
.legal-page,
.public-profile-page,
.login-page,
.admin-layout {
  width: 100% !important;
  max-width: none !important;
  min-height: 100svh !important;
}
.join-virecut-header,
.join-virecut-main,
.join-virecut-footer {
  width: min(1380px, calc(100% - 64px)) !important;
}
.legal-page {
  padding-left: clamp(16px, 4vw, 64px) !important;
  padding-right: clamp(16px, 4vw, 64px) !important;
}
.legal-card {
  width: min(1180px, 100%) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
@media (max-width: 900px) {
  .join-virecut-header,
  .join-virecut-main,
  .join-virecut-footer {
    width: calc(100% - 28px) !important;
  }
  .legal-page {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}
