:root {
  --na-primary: #be9e44;
  --na-primary-dark: #947a33;
  --na-grey: #f3f4f8;
  --na-border: #eaecf4;
  --na-text: #231f1c;
  --na-muted: #8a8f9c;
  --na-card: #ffffff;
  --na-shadow: 0 10px 30px rgba(12, 0, 46, 0.06);
}

body.path-routines {
  background: linear-gradient(180deg, #fff 0%, var(--na-grey) 60%);
  font-family: "Poppins", sans-serif;
  color: var(--na-text);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body.path-routines > main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

body.path-routines > main > .container-fluid {
  flex: 1;
  display: flex;
  flex-direction: column;
}

body.path-routines > main > .container-fluid > .container_body {
  flex: 1;
}

header .col-left {
  background: linear-gradient(90deg, #fff 0%, #fff 50%, var(--na-primary) 90%, var(--na-primary) 100%);
  @media (max-width: 991.98px) {
    background: white;
  }
}

header .col-center,
header .col-right {
  background-color: var(--na-primary);
}

header .col-right {
  max-height: 80px;

  @media (max-width: 991.98px) {
    background: white;
  }
}

.breadcrumb {
  margin-block: 0;

  @media (max-width: 575.98px) {
    margin-block: 0.5rem;
  }
}

.breadcrumb-item a {
  color: white;
}

.svg-inline--fa {
  display: var(--fa-display,inline-block);
  height: 1em;
  overflow: visible;
  vertical-align: -.125em;
}

.container_right_mobile button.menuiconmovil::after {
  color: var(--na-primary);
}

.block-facets {
  margin-bottom: 1.5rem;
}

.region-sidebar-first .block-menu {
  background: var(--na-primary);
}

.region-sidebar-second .block-simple-block .field__item,
.region-sidebar-second .block-menu .field__item {
  background: var(--na-primary);
  color: white;
}

.container_body .container_left {
  padding-right: 0.75rem;
}

.container_body .container_center {
  margin: 0 0 1rem;
  width: 100%;
}

.container_right_mobile {
  margin: 0;
}

.container_right_mobile .collapse.show {
  min-width: 230px;
}

.sidebar-metrics {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.sidebar-metrics .card {
  margin: 0;
}

.sidebar-metrics .stat-card,
.sidebar-metrics .card-highlight--coach {
  text-align: center;
}

.sidebar-metrics .stat-progress,
.sidebar-metrics .sessions-value,
.sidebar-metrics .session-counter {
  margin-left: auto;
  margin-right: auto;
}

.sidebar-metrics .card-highlight--coach .coach-wrapper {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sidebar-metrics .card-highlight--coach .coach-avatar {
  margin-bottom: 0.75rem;
}

.sidebar-metrics .card-highlight--coach .tag-cloud {
  justify-content: center;
}

.btn-icon {
  padding: 0.25rem;
  line-height: 1;
  color: var(--na-primary);
}

.btn-icon i {
  font-size: 1rem;
  color: inherit;
}

.btn-icon:hover,
.btn-icon:focus {
  color: var(--na-primary-dark);
}

.member-routines-table .routine-link {
  font-weight: 600;
  color: var(--na-text);
}

.member-routines-table .routine-link:hover {
  color: var(--na-primary);
  text-decoration: none;
}

.member-routines-table .table-row > p:first-child {
  margin-bottom: 0.2rem;
}

.filters-heading {
  padding: 0 1.25rem 1rem;
  border-bottom: 1px solid var(--na-border);
  margin-bottom: 1rem;
}

.filters-search {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 1.25rem 1rem;
}

@media (min-width: 768px) {
  .filters-search {
    flex-direction: row;
  }
}

.facets-widget-checkbox .facet-item__count {
  font-size: 0.85rem;
  color: var(--na-muted);
  margin-left: 0.35rem;
}

.form-item {
  margin-bottom: 1rem;
}
.form-item,
.form-actions {
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.facets-widget-select {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.facets-widget-select select {
  border-radius: 8px;
  border: 1px solid var(--na-border);
  padding: 0.5rem 0.75rem;
}

.select-wrapper {
  position: relative;
}

.select-wrapper .select-icon {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--na-muted);
}

.facets-widget-select.full-width {
  width: 100%;
}

.searchbuttom {
  background: var(--na-primary);
}

.region-facets .block-simple-block .facets-rigth h3::after,
.region-facets .block-simple-block .facets-rigth .h3::after,
.region-facets .block-simple-block .accesssexposed h3::after,
.region-facets .block-simple-block .accesssexposed .h3::after,
.region-right .block-simple-block .facets-rigth h3::after,
.region-right .block-simple-block .facets-rigth .h3::after,
.region-right .block-simple-block .accesssexposed h3::after,
.region-right .block-simple-block .accesssexposed .h3::after {
  background: var(--na-primary);
}

input:checked {
  background-color: var(--na-primary) !important;
  border-color: var(--na-primary) !important;
  accent-color: var(--na-primary) !important;
}



.badge.bg-success-subtle {
  background: rgba(25, 135, 84, 0.15);
  color: #198754;
}

.badge.bg-warning-subtle {
  background: rgba(255, 193, 7, 0.2);
  color: #d68c00;
}

.badge.bg-info-subtle {
  background: rgba(13, 202, 240, 0.15);
  color: #0c8cb3;
}

.date-group {
  display: grid;
  gap: 0.5rem;
}

.facet-item.full-width {
  width: 100%;
}

.facet-date-label {
  font-size: 0.85rem;
  font-weight: 600;
}

.date-group label {
  font-size: 0.85rem;
  color: var(--na-muted);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.date-group input {
  border-radius: 999px;
  border: 1px solid var(--na-border);
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
}

.toggle-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: var(--na-text);
}

.toggle-pill input {
  appearance: none;
  width: 36px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid var(--na-border);
  position: relative;
  background: var(--na-grey);
  transition: all 0.2s ease;
}

.toggle-pill input::after {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 1px;
  left: 1px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

.toggle-pill input:checked {
  background: rgba(190, 158, 68, 0.12);
  border-color: var(--na-primary);
}

.toggle-pill input:checked::after {
  transform: translateX(16px);
}

.workout-content {
  background: transparent;
}

.workout-hero {
  background: radial-gradient(circle at top right, rgba(190, 158, 68, 0.15), #fff);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: stretch;
  box-shadow: var(--na-shadow);
  margin-bottom: 1.5rem;
}

.workout-hero .hero-copy {
  flex: 1;
}

.workout-hero .hero-order {
  flex: 0 0 300px;
  max-width: 320px;
  border-left: 2px solid #fff;
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.workout-hero .order-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.workout-hero .order-head-right {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .workout-hero {
    flex-direction: column;
  }
  .workout-hero .hero-order {
    flex: 1;
    max-width: 100%;
    border-left: none;
    border-top: 2px solid #fff;
    padding-left: 0;
    padding-top: 1rem;
  }
  .workout-hero .hero-order .order-meta {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
  .workout-hero .hero-order .order-meta li {
    margin: 0 0.5rem;
  }
  .workout-hero .hero-actions {
    flex: 1;
    max-width: 100%;
    border-left: none;
    border-top: 2px solid #fff;
    padding-left: 0;
    padding-top: 1rem;
    align-items: stretch;
  }
  .staff-form-card--toolbar {
    flex-direction: column;
    align-items: stretch;
  }
}
.breadcrumb-small {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--na-muted);
  margin-bottom: 0.35rem;
}

.breadcrumb-with-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.hero-badge {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.workout-hero .hero-actions {
  flex: 0 0 300px;
  max-width: 320px;
  border-left: 2px solid #fff;
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.hero-actions .btn {
  justify-content: center;
  width: 220px;
  max-width: 100%;
  text-align: center;
  padding: 0.45rem 1rem;
}

.hero-actions .btn i {
  font-size: 0.95rem;
}

.hero-actions .btn-secondary {
  background: var(--na-primary-dark);
  border-color: var(--na-primary-dark);
  color: #fff;
  box-shadow: 0 6px 14px rgba(148, 122, 51, 0.25);
}

.hero-actions .btn-secondary:hover {
  background: #7a6424;
  border-color: #7a6424;
}

.hero-actions .is-active {
  background: var(--na-primary);
  border-color: var(--na-primary);
}

.hero-title-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5rem;
  position: relative;
}

.hero-edit-icon {
  color: rgba(190, 158, 68, 0.35);
}

.hero-title-input {
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 500;
  border: none;
  border-bottom: 2px solid rgba(35, 31, 28, 0.25);
  padding: 0.25rem 0 0.25rem 1.75rem;
  background: transparent;
  color: var(--na-text);
  transition: border-color 0.2s ease;
}

.hero-title-input:focus {
  border-color: var(--na-primary);
  outline: none;
}

.hero-title-input::placeholder {
  color: rgba(35, 31, 28, 0.45);
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 500;
  font-style: italic;
}

.hero-order-field {
  position: relative;
  margin-bottom: 0.75rem;
}

.hero-order-input {
  font-size: 26px;
  font-weight: 600;
  border: none;
  border-bottom: 2px solid rgba(35, 31, 28, 0.25);
  padding: 0.25rem 0 0.25rem 1.75rem;
  background: transparent;
  color: var(--na-text);
  transition: border-color 0.2s ease;
  max-width: 260px;
  width: 100%;
}

.hero-order-input:focus {
  border-color: var(--na-primary);
  outline: none;
}

.hero-order-input::placeholder {
  color: rgba(35, 31, 28, 0.45);
  font-size: 26px;
  font-style: italic;
  font-weight: 500;
}

.hero-objective-field {
  margin-bottom: 0.5rem;
  position: relative;
}

.hero-objective-input {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(35, 31, 28, 0.15);
  padding: 0.25rem 0 0.25rem 1.75rem;
  background: transparent;
  color: var(--na-muted);
  font-size: 1rem;
  line-height: 1.4;
  height: auto;
  min-height: 0;
  resize: none;
}

.hero-objective-input:focus {
  border-color: var(--na-primary);
  outline: none;
}

.hero-objective-input::placeholder {
  color: rgba(35, 31, 28, 0.4);
  font-style: italic;
  font-weight: 500;
}

.hero-edit-icon {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  pointer-events: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.staff-routine-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.staff-form-card {
  background: var(--na-card);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--na-shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.staff-form-card__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.collapsible-card__header {
  align-items: flex-start;
}

.collapsible-card__header .btn {
  color: var(--na-primary);
  padding: 0.25rem;
  text-decoration: none;
}

.collapsible-card__body {
  margin-top: 1rem;
  display: none;
}

.collapsible-card.is-open .collapsible-card__body {
  display: block;
}

.staff-form-card h2 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.staff-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.staff-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.staff-form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--na-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.staff-input-with-icon {
  position: relative;
}

.staff-input-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(190, 158, 68, 0.35);
  pointer-events: none;
}

.staff-input,
.staff-select,
.staff-textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--na-border);
  padding: 0.65rem 0.85rem;
  font-size: 0.95rem;
  background: var(--na-card);
  color: var(--na-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.staff-input:focus,
.staff-select:focus,
.staff-textarea:focus {
  border-color: var(--na-primary);
  box-shadow: 0 0 0 3px rgba(190, 158, 68, 0.15);
  outline: none;
}

.staff-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath fill='%23231f1c' d='M8 9.8 0 1.8l2.1-2.1L8 5.6l5.9-5.9L16 1.8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 12px;
  padding-right: 2.5rem;
}

.staff-select--with-icon {
  padding-left: 2.5rem;
}

.staff-form-field--dates .staff-form-dates {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

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

.staff-textarea {
  min-height: 110px;
  resize: vertical;
}

.staff-form-card--toolbar {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.staff-form-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.staff-form-card--footer {
  align-items: flex-end;
}

.staff-form-card--footer .staff-form-actions {
  justify-content: flex-end;
}

.quick-actions-card {
  padding: 1.5rem;
  text-align: center;
  background: linear-gradient(145deg, rgba(190, 158, 68, 0.18), rgba(255, 255, 255, 0.95));
  border: none;
  color: var(--na-text);
  position: relative;
  overflow: hidden;
}

.quick-actions-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.65), transparent 55%);
  pointer-events: none;
}

.quick-actions-card .quick-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}

.quick-actions-card .btn {
  width: 100%;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(35, 31, 28, 0.08);
  background: rgba(255, 255, 255, 0.9);
  color: var(--na-text);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  margin: 0;
}

.quick-actions-card .btn:hover,
.quick-actions-card .btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(190, 158, 68, 0.25);
}

.quick-actions-card .btn i {
  margin-right: 0.35rem;
  color: var(--na-primary);
}

.view-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.view-intro.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.view-intro.stats-grid .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.stat-card--sessions {
  justify-content: space-between;
}

.stat-card--sessions .sessions-value {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0.15rem 0;
}

.stat-card--sessions .session-counter {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
  align-items: center;
}

.card-highlight--coach .coach-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
}

.card-highlight--coach h3 {
  font-size: 1.1rem;
}

.card-highlight--coach .coach-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--na-primary);
}

.card-order {
  padding: 1.5rem;
  border-radius: 14px;
  box-shadow: var(--na-shadow);
  border: 1px solid var(--na-border);
  text-align: center;
}

.card-order .order-head {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  align-items: center;
  flex-direction: column;
}

.order-state {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.order-state--paid {
  background: rgba(25, 135, 84, 0.15);
  color: #198754;
}

.order-state--pending {
  background: rgba(255, 193, 7, 0.2);
  color: #d68c00;
}

.order-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: center;
}

.order-meta li i {
  color: var(--na-primary);
  margin-right: 0.4rem;
}

.card {
  border: none;
  border-radius: 14px;
  box-shadow: var(--na-shadow);
}

.stat-card {
  padding: 1.25rem;
}

 .stat-progress {
   position: relative;
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 0.5rem;
   text-align: center;
 }
 
 .stat-progress svg {
   width: 120px;
   height: 120px;
   transform: rotate(-90deg);
 }

.stat-progress .progress-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  font-size: 2rem;
  font-weight: 700;
}

.stat-progress .bg {
  fill: none;
  stroke: var(--na-border);
  stroke-width: 12;
}

.stat-progress .meter {
  fill: none;
  stroke: var(--na-primary);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 339.292;
  stroke-dashoffset: 339.292;
}

 .stat-progress .label {
   text-transform: uppercase;
   font-size: 0.75rem;
   color: var(--na-muted);
   letter-spacing: 0.12em;
   margin-bottom: 0.25rem;
 }

 .stat-progress .value {
   font-size: 2rem;
   font-weight: 600;
 }

.stat-progress .meta,
.stat-meta {
  font-size: 0.85rem;
  color: var(--na-muted);
  margin: 0;
}

.stat-list {
  display: flex;
  gap: 1.25rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  justify-content: center;
}

.stat-list .label {
  font-size: 0.8rem;
  color: var(--na-muted);
  text-transform: uppercase;
}

.card-highlight {
  padding: 1.5rem;
  background: radial-gradient(circle at top right, rgba(190, 158, 68, 0.15), #fff);
}

.eyebrow {
  font-size: 0.8rem;
  color: var(--na-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.25rem;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.session-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.session-card {
  background: var(--na-card);
  border-radius: 16px;
  box-shadow: var(--na-shadow);
  border: 1px solid var(--na-border);
  border-left: 4px solid var(--na-primary);
  overflow: hidden;
}

.session-card.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.session-card .btn.disabled {
  pointer-events: none;
  opacity: 0.6;
}

.session-card.is-open {
  border-color: rgba(190, 158, 68, 0.38);
  box-shadow: 0 15px 35px rgba(190, 158, 68, 0.18);
}

.session-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  border-bottom: 1px solid var(--na-border);
}

.session-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.session-meta .meta {
  color: var(--na-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.session-meta .btn-link {
  color: var(--na-primary);
  display: inline-flex;
  align-items: center;
  padding: 0;
}

.session-meta .btn-link i {
  color: inherit;
}

.session-card .session-body {
  display: none;
}

.session-card.is-open .session-body {
  display: grid;
}

.session-body {
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}

.session-toolbar {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.session-toolbar .badge {
  font-size: 0.75rem;
  padding: 0.35rem 0.85rem;
}

.session-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.session-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.session-field label {
  font-size: 0.8rem;
  color: var(--na-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.session-field--full {
  grid-column: 1 / -1;
}

.session-table-wrapper {
  border: 1px solid var(--na-border);
  border-radius: 14px;
  overflow-x: auto;
}

.session-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.session-table th {
  background: var(--na-grey);
  color: var(--na-text);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  padding: 0.75rem;
  text-align: left;
}

.session-table td {
  border-top: 1px solid var(--na-border);
  padding: 0.6rem;
  vertical-align: middle;
}

.session-table-input {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--na-border);
  padding: 0.4rem 0.6rem;
  font-size: 0.9rem;
  background: var(--na-card);
  color: var(--na-text);
}

.session-table-input:focus {
  border-color: var(--na-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(190, 158, 68, 0.15);
}

.exercise {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--na-border);
}

.exercise:last-of-type {
  border-bottom: none;
}

.exercise .title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.exercise .meta {
  color: var(--na-muted);
  font-size: 0.9rem;
}

.exercise .actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.session-footer {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  background: rgba(190, 158, 68, 0.08);
  border-top: 1px solid var(--na-border);
  padding-top: 1rem;
  margin-top: 0.5rem;
  padding-bottom: 0.75rem;
  height: auto;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

.session-footer .btn,
.hero-actions .btn {
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1.25rem;
  border: 1px solid var(--na-border);
  background: var(--na-card);
  color: var(--na-text);
  box-shadow: var(--na-shadow);
}

.session-footer .btn-primary,
.hero-actions .btn-primary {
  background: var(--na-primary);
  border-color: var(--na-primary);
  color: #fff;
  box-shadow: 0 6px 14px rgba(190, 158, 68, 0.25);
}

.toolbar {
  background: var(--na-card);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: var(--na-shadow);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}

.toolbar .form-item {
  flex: 1;
}

.toolbar input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--na-border);
  padding: 0.75rem 1rem;
}

.toolbar-buttons {
  display: flex;
  gap: 0.75rem;
}

.workout-table {
  background: var(--na-card);
  border-radius: 16px;
  box-shadow: var(--na-shadow);
  overflow: hidden;
}

.workout-table .table-head,
.workout-table .table-row {
  display: grid;
  grid-template-columns: 2fr 0.8fr 1fr 1fr 0.9fr 1fr 0.7fr;
  gap: 1rem;
  padding: 1rem 1.5rem;
  align-items: center;
}

.workout-table .table-head {
  background: linear-gradient(90deg, #fef7eb 0%, #f0dcc0 100%);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: #5c4520;
}

.workout-table .table-head p {
  margin-bottom: 0;
}

.workout-table .table-row {
  border-top: 1px solid var(--na-border);
}

.member-routines-table .table-row {
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.member-routines-table .table-row:hover {
  background: rgba(190, 158, 68, 0.08);
  box-shadow: inset 0 -2px 0 rgba(190, 158, 68, 0.4);
}

.member-routines-table .table-head p:nth-child(5),
.member-routines-table .table-row > p:nth-child(5),
.member-routines-table .table-head p:nth-child(7),
.member-routines-table .table-row > p:nth-child(7) {
  text-align: center;
}

.staff-routines-table .table-head p:nth-child(6),
.staff-routines-table .table-row > p:nth-child(6) {
  text-align: center;
}

.staff-routines-table .table-head p:nth-child(8),
.staff-routines-table .table-row > p:nth-child(8) {
  text-align: center;
}

.staff-routines-table .table-head p:nth-child(3),
.staff-routines-table .table-row > p:nth-child(3) {
  text-align: center;
}

.staff-routines-table .table-head p:nth-child(2),
.staff-routines-table .table-row > p:nth-child(2) {
  text-align: left;
}

.staff-routines-table .table-head p:nth-child(4),
.staff-routines-table .table-row > p:nth-child(4) {
  text-align: left;
}

.staff-routines-table .table-head,
.staff-routines-table .table-row {
  grid-template-columns: 1.6fr 2fr 0.8fr 1fr 1fr 0.9fr 1fr;
}

.member-routines-table .table-row > .actions {
  justify-content: center;
}

.member-routines-table .table-head p:nth-child(2),
.member-routines-table .table-row > p:nth-child(2),
.member-routines-table .table-head p:nth-child(4),
.member-routines-table .table-row > p:nth-child(4) {
  text-align: center;
}

.member-routines-table .table-head p:last-child,
.member-routines-table .table-row > p:last-child {
  text-align: center;
}

.member-routines-table.staff-routines-table .table-head p:nth-child(2),
.member-routines-table.staff-routines-table .table-row > p:nth-child(2),
.member-routines-table.staff-routines-table .table-head p:nth-child(4),
.member-routines-table.staff-routines-table .table-row > p:nth-child(4) {
  text-align: left;
}

.staff-routines-table .table-head p:nth-child(2),
.staff-routines-table .table-row > p:nth-child(2) {
  text-align: left;
}

.workout-table .table-row.is-dimmed {
  opacity: 0.65;
}

.pager-wrapper {
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-end;
}

.pager-wrapper .pagination {
  gap: 0.35rem;
}

.pager-wrapper .page-item.active .page-link {
  background: var(--na-primary);
  border-color: var(--na-primary);
  color: #fff;
}

.workout-table .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(190, 158, 68, 0.18);
  color: var(--na-primary);
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 0.5rem;
}

.workout-table .avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.workout-table .meta {
  display: block;
  color: var(--na-muted);
  font-size: 0.85rem;
}

.workout-table .table-row > p {
  margin: 0;
}

.workout-table .table-row > p:first-child {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.member-routines-table .table-row > p:first-child {
  display: block;
  align-items: initial;
  gap: 0;
}

.member-routines-table .table-row > p:first-child .routine-link {
  display: inline-block;
  font-weight: 600;
}

.member-routines-table .table-row > p:first-child .meta {
  display: block;
  margin-top: 0.35rem;
  font-weight: 400;
}

.staff-routines-table .table-row > p:first-child {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.workout-table .actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.35rem;
}

.workout-table .actions .btn-icon {
  margin: 0;
}

.offcanvas-layer {
  position: fixed;
  inset: 0;
  background: rgba(7, 6, 15, 0.65);
  display: flex;
  justify-content: flex-end;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 999;
}

.offcanvas-layer.is-visible {
  opacity: 1;
  visibility: visible;
}

.offcanvas-panel {
  width: 420px;
  background: var(--na-card);
  height: 100%;
  border-radius: 16px 0 0 16px;
  padding: 2rem;
  overflow-y: auto;
  box-shadow: var(--na-shadow);
}

.offcanvas-panel.wide {
  width: 720px;
}

.offcanvas-panel header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.offcanvas-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.offcanvas-form .form-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.offcanvas-form input,
.offcanvas-form select,
.offcanvas-form textarea {
  border: 1px solid var(--na-border);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  font-size: 0.95rem;
}

.offcanvas-form textarea {
  resize: vertical;
}

.offcanvas-form .form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1rem;
}

.btn-close {
  background: none;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  position: relative;
  border: 1px solid var(--na-border);
}

.btn-close::before,
.btn-close::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 2px;
  background: var(--na-text);
  top: 50%;
  left: 50%;
  transform-origin: center;
}

.btn-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.btn-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

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

.session-builder {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.session-builder article {
  padding: 0.85rem 1rem;
  border: 1px dashed var(--na-border);
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.session-builder .title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.session-builder .meta {
  color: var(--na-muted);
  font-size: 0.85rem;
}

@media (max-width: 575.98px) {
  .view-intro.stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
  .view-intro.stats-grid .card {
    padding: 1rem;
  }
  .card-highlight--coach .tag-cloud span:nth-of-type(n+3) {
    display: none;
  }
  .card-order .order-meta li:last-child {
    display: none;
  }
}

@media (max-width: 1200px) {
  .view-intro {
    grid-template-columns: 1fr;
  }
  .workout-table .table-head,
  .workout-table .table-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container_body {
    padding: 1rem;
  }
  .workout-hero {
    flex-direction: column;
  }
  .hero-actions {
    justify-content: stretch;
    flex-wrap: wrap;
  }
  .session-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .session-meta {
    flex-wrap: wrap;
  }
  .exercise {
    flex-direction: column;
    align-items: flex-start;
  }
  .toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .toolbar-buttons {
    flex-wrap: wrap;
  }
  .workout-table .table-head {
    display: none;
  }
  .workout-table .table-row {
    grid-template-columns: 1fr;
    border-radius: 12px;
    margin: 0.5rem 0;
    padding: 0.9rem;
    background: var(--na-grey);
    text-align: center;
    gap: 0.5rem;
  }
  .member-routines-table {
    background: transparent;
    border-radius: 0;
    border: none;
    box-shadow: none;
  }
  .member-routines-table .table-row {
    background: #fff;
  }
  
  .workout-table .table-row > p {
    margin: 0;
  }
  .workout-table .table-row > p:first-child {
    font-weight: 600;
  }
  .workout-table .table-row .actions {
    justify-content: center;
  }
}

