/**
 * The Legal Podcast Network — app-level hooks for custom design
 * Override Bootstrap variables here or add component rules targeting .app-* / .flow-* classes.
 */

.tracking-wide {
  letter-spacing: 0.06em;
}

/* ---- Layout shells -------------------------------------------------------- */
.app-layout--admin .app-main {
  min-height: calc(100vh - 3.5rem);
}

.app-sidebar .list-group-item {
  border-radius: 0.375rem;
  margin-bottom: 0.25rem;
  border: 1px solid var(--bs-border-color);
}

.app-sidebar .list-group-item.active,
.app-sidebar .list-group-item:focus {
  font-weight: 600;
}

/* Stat / KPI cards (dashboards) */
.app-stat-card .app-stat-card__label {
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--bs-secondary-color);
}

.app-stat-card .app-stat-card__value {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
}

/* List / table pages */
.app-page-header {
  border-bottom: 1px solid var(--bs-border-color);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.app-toolbar {
  gap: 0.5rem;
}

.app-table-shell .table thead th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bs-secondary-color);
  border-bottom-width: 1px;
  white-space: nowrap;
}

.app-table-shell .table tbody td {
  vertical-align: middle;
}

.app-table-meta {
  font-size: 0.875rem;
  color: var(--bs-secondary-color);
}

/* Forms */
.app-form-card .card-header {
  font-weight: 600;
}

/* Auth */
.app-auth-card {
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
}

/* Public flow */
.app-flow-container {
  max-width: 48rem;
}

.flow-page__inner {
  max-width: 40rem;
}

/* Swappable placeholder blocks inside flow steps */
.flow-placeholder {
  border: 1px dashed var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  background-color: var(--bs-body-bg);
}

.flow-placeholder__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bs-secondary-color);
}

.flow-sample-markup {
  font-size: 0.75rem;
  color: var(--bs-secondary-color);
}

/* Client link tables — hooks for final design */
.app-link-row__url .form-control {
  min-width: 12rem;
}

.app-link-row__progress .badge {
  font-weight: 500;
}

.app-dashboard-panel .card-header {
  padding: 0.85rem 1.1rem;
}

.app-dashboard-panel .list-group-item {
  padding: 0.65rem 1.1rem;
}

/* Zones = clear hooks for replacing markup later */
.flow-zone {
  /* Custom CSS targets e.g. .flow-zone--heading */
}

.flow-zone--actions {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--bs-border-color);
}

/* Status pages (invalid / inactive link) */
.app-flow-status__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
}

/* Flash / validation (supplement Bootstrap alerts) */
.app-alerts {
  margin-bottom: 1rem;
}

.app-validation-errors ul {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

/* Email template preview sandbox (admin) */
.app-email-preview {
  min-height: 5rem;
  max-height: 28rem;
  overflow: auto;
}

/* Custom Css */

img {
  max-width: 100%;
}

/* Decorative rule under heading — fixed 1px strip (image scaled with object-fit) */
.flow-step-heading-block__border {
  display: block;
  width: 100%;
  height: 1px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  object-fit: cover;
  object-position: center;
}

body.steps-flow {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

.steps-outter-wrapper {
  background-color: #fff;
  padding: 40px 0px;
}

.steps-outter-wrapper .container {
  max-width: 1530px;
}

.steps-outter-wrapper h1 {
  color: #17477C;
  font-size: 50px;
  font-weight: 700;
  text-align: center;
  margin: 0px;
  padding: 0 0 30px 0;
}

.steps-outter-wrapper .studio-wrap {
  margin-top: 30px;
}

.steps-outter-wrapper .studio-wrap .studio-title {
  color: #17477C;
  font-weight: 700;
}

.steps-outter-wrapper .studio-wrap .studio-title .title-text {
  font-size: 35px;
  position: relative;
  padding-right: 18px;
  line-height: 34px;
}

.steps-outter-wrapper .studio-wrap .studio-title .title-text::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: #17477C;
}

.steps-outter-wrapper .studio-wrap .studio-title .title-price {
  font-size: 26px;
}

.steps-outter-wrapper .studio-wrap .package-choice-wrap {
  max-width: 1080px;
  margin: 0 auto;
}

.steps-outter-wrapper .studio-wrap .package-choice-title {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 31px;
  line-height: 1.2;
  color: #000;
  font-weight: 700;
  margin: 50px 0 50px;
  text-transform: capitalize;
}

.steps-outter-wrapper .studio-wrap .package-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.8rem;
}

.steps-outter-wrapper .studio-wrap .package-choice-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.25rem 1.15rem;
  border-radius: 12px;
  border: 1px solid #d7e3f1;
  background: #edf6ff;
  cursor: pointer;
}

.steps-outter-wrapper .studio-wrap .package-choice-card input[type="radio"] {
  margin: 0;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: #17477c;
}

.steps-outter-wrapper .studio-wrap .package-choice-card__label {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  color: #111827;
}

.steps-outter-wrapper .studio-wrap .package-choice-card__price {
  margin-left: auto;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 20px;
  line-height: 1;
  font-weight: 600;
  color: #17477c;
}

/* Custom package: same width as one cell in the 2-col grid, centered on its row (desktop). */
@media (min-width: 992px) {
  .steps-outter-wrapper .studio-wrap .package-choice-card--single {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 1.8rem) / 2);
    max-width: calc((100% - 1.8rem) / 2);
    box-sizing: border-box;
  }
}

.steps-outter-wrapper .studio-wrap .tech-check-choice-wrap {
  max-width: 1120px;
  margin: 0 auto;
}

.steps-outter-wrapper .studio-wrap .tech-check-choice-title {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 35px;
  line-height: 1.2;
  color: #000;
  font-weight: 700;
  margin: 50px 0 40px;
}

.steps-outter-wrapper .studio-wrap .tech-check-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.8rem;
}

.steps-outter-wrapper .studio-wrap .tech-check-choice-card {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1.25rem 1.15rem;
  border-radius: 12px;
  border: 1px solid #d7e3f1;
  background: #edf6ff;
  cursor: pointer;
}

.steps-outter-wrapper .studio-wrap .tech-check-choice-card input[type="radio"] {
  margin-top: 0.15rem;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: #17477c;
}

.steps-outter-wrapper .studio-wrap .tech-check-choice-card__title {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.6rem;
}

.steps-outter-wrapper .studio-wrap .tech-check-choice-card__duration {
  font-size: 16px;
  font-weight: 600;
}

.steps-outter-wrapper .studio-wrap .tech-check-choice-card__meta {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.25;
  color: #111827;
}

.steps-outter-wrapper .studio-wrap .tech-check-choice-card__meta-label {
  font-weight: 600;
}

.steps-outter-wrapper .studio-wrap .tech-check-choice-card__meta-value {
  font-weight: 500;
}

.tech-check-modal[hidden] {
  display: none;
}

.tech-check-modal {
  position: fixed;
  inset: 0;
  z-index: 1060;
}

.tech-check-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.48);
}

.tech-check-modal__dialog {
  position: relative;
  width: min(760px, calc(100% - 2rem));
  margin: 10vh auto 0;
  background: #fff;
  border-radius: 14px;
  padding: 1.3rem 1.25rem;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}

.tech-check-modal__message {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.45;
  color: #111827;
}

.tech-check-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.tech-check-modal__btn {
  border: 1px solid #17477c;
  border-radius: 999px;
  background: #fff;
  color: #17477c;
  padding: 0.55rem 1rem;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  font-weight: 600;
}

.tech-check-modal__btn--primary {
  background: #17477c;
  color: #fff;
}

.steps-outter-wrapper .studio-wrap .tech-check-booking-note {
  margin: 1rem auto 0;
  max-width: 1120px;
  background: #eef6ff;
  border: 1px solid #c9def6;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: #123a67;
}

.steps-outter-wrapper .studio-wrap .tech-check-booking-note a {
  color: #17477c;
  font-weight: 700;
  margin-left: 0.35rem;
}

/* Product cards: CSS Grid gap is the only gutter (Bootstrap .row + .g-4 adds margin-top on cols and doubles vertical space) */
.steps-outter-wrapper .studio-wrap .studio-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}

.steps-outter-wrapper .studio-wrap .studio-product-grid>* {
  width: 100% !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-top: 0 !important;
  display: flex;
  flex-direction: column;
}

.steps-outter-wrapper .studio-wrap .studio-product-grid .studio-info-card {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.steps-outter-wrapper .studio-wrap .studio-product-grid .studio-info-card>.row {
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
}

@media (max-width: 767.98px) {
  .steps-outter-wrapper .studio-wrap .studio-product-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 992px) {
  .steps-outter-wrapper .studio-wrap .studio-product-grid--balanced {
    grid-template-rows: 1fr 1fr;
    flex: 1 1 auto;
    min-height: 0;
  }

  /* Step 2 bottom row: teen cards ek hi row (desktop lg+); tablet/mobile pe 2-col / 1-col waise hi */
  .steps-outter-wrapper .studio-wrap .studio-product-grid--3-desktop {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* Step 4 bottom: first row 3 cards, last 2 cards centered */
  .steps-outter-wrapper .studio-wrap .studio-product-grid--step4-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .steps-outter-wrapper .studio-wrap .studio-product-grid--step4-bottom > * {
    flex: 0 0 calc((100% - (2 * 1.5rem)) / 3);
    max-width: calc((100% - (2 * 1.5rem)) / 3);
  }

  .steps-outter-wrapper .studio-wrap .studio-product-grid--step4-bottom > *:nth-last-child(-n+2) {
    flex: 0 0 calc((100% - 1.5rem) / 2);
    max-width: calc((100% - 1.5rem) / 2);
  }
}

.steps-outter-wrapper .studio-wrap .studio-info-card {
  background: #EDF6FF;
  border-radius: 15px;
  padding: 20px;
}

.steps-outter-wrapper .studio-wrap .studio-info-card h4 {
  color: #17477C;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 6px;
  text-transform: uppercase;
  border-bottom: 2px solid #7da2cf;
}

.steps-outter-wrapper .studio-wrap .studio-info-card p {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.steps-outter-wrapper .studio-wrap .studio-info-card small {
  font-size: 12px;
}

.steps-outter-wrapper .studio-wrap .bottom-area-heading {
  font-size: 24px;
  font-weight: 700;
}

.steps-outter-wrapper .studio-wrap .container2 {
  max-width: 1050px;
}

.steps-outter-wrapper .studio-wrap .csr-block-wrap {
  background: #EDF6FF;
  border-radius: 15px;
  padding: 20px;
}

.steps-outter-wrapper .studio-wrap .csr-block-wrap h6 {
  font-size: 20px;
  font-weight: 600;
}

.steps-outter-wrapper .studio-wrap .csr-block-wrap p {
  font-size: 18px;
  font-weight: 500;
  border-left: solid 1px #000;
}

.steps-outter-wrapper .studio-wrap .buttons-wrap button {
  width: 150px;
  height: 44px;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  color: #000;
  background: #EDF6FF;
  border-radius: 90px;
  border: solid 1px #17477C;
}

.steps-outter-wrapper .studio-wrap .buttons-wrap button:hover {
  color: #fff;
  background: #17477C;
}

/* Public flow — complete page (same shell as steps: heading block + studio-wrap) */
.steps-outter-wrapper .flow-complete-content {
  max-width: 720px;
  padding-top: 0.5rem;
  padding-bottom: 2.5rem;
}

.steps-outter-wrapper .flow-complete-intro {
  color: #6c757d;
  font-size: 1rem;
}

.steps-outter-wrapper .flow-complete-client-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #212529;
}

.steps-outter-wrapper .flow-complete-section-heading {
  margin-bottom: 1rem;
}

.steps-outter-wrapper .flow-complete-summary-wrap {
  padding: 1.25rem 1.5rem;
}

.steps-outter-wrapper .flow-complete-summary li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.steps-outter-wrapper .flow-complete-summary li:last-child {
  border-bottom: none;
}

.steps-outter-wrapper .flow-complete-summary__label {
  flex: 0 0 120px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #495057;
}

.steps-outter-wrapper .flow-complete-summary__value {
  flex: 1 1 200px;
  font-size: 1rem;
  font-weight: 500;
  color: #212529;
}

.steps-outter-wrapper .flow-complete-note,
.steps-outter-wrapper .flow-complete-footer-hint {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
