.np-pay-confirm-form {
  display: inline-grid;
  min-width: 170px;
}

.np-admin-action-button,
.np-pay-start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 13px;
  border: 1px solid rgba(8, 122, 120, 0.24);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #edf8f4);
  color: #087a78;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 39, 36, 0.06);
}

.np-admin-action-button:hover,
.np-admin-action-button:focus,
.np-pay-start:hover,
.np-pay-start:focus {
  border-color: rgba(8, 122, 120, 0.42);
  background: #e7f7f2;
  outline: 0;
}

.np-management-tabs a.np-admin-action-button {
  min-height: 34px !important;
  padding: 8px 13px !important;
  border: 1px solid rgba(8, 122, 120, 0.24) !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #ffffff, #edf8f4) !important;
  color: #087a78 !important;
  font-size: 0.76rem !important;
  font-weight: 850 !important;
  line-height: 1.1 !important;
  box-shadow: 0 8px 18px rgba(15, 39, 36, 0.06) !important;
}

.np-management-tabs a.np-admin-action-button:hover,
.np-management-tabs a.np-admin-action-button:focus,
.np-management-tabs a.np-admin-action-button.active {
  border-color: rgba(8, 122, 120, 0.42) !important;
  background: #e7f7f2 !important;
  color: #087a78 !important;
}

.np-pending-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  max-width: 520px;
}

.np-pending-search input[type="search"] {
  flex: 1;
  min-width: 180px;
  height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(15, 39, 36, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #17312e;
  font-size: 0.82rem;
  line-height: 1.2;
  outline: 0;
}

.np-pending-search input[type="search"]:focus {
  border-color: rgba(8, 122, 120, 0.38);
  box-shadow: 0 0 0 3px rgba(8, 122, 120, 0.08);
}

.np-pending-search-clear {
  color: #087a78;
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none;
}

.np-pending-search-clear:hover,
.np-pending-search-clear:focus {
  color: #065f5d;
  text-decoration: underline;
}

.np-payment-control-admin-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
}

.np-payment-control-admin-actions form {
  display: inline-flex;
  margin: 0;
}

.np-payment-control-admin-actions .np-payment-control-regenerate {
  border-color: rgba(171, 72, 61, 0.22);
  background: #fff7f5;
  color: #a23b35;
}

.np-legacy-month-actions {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin: 0;
}

.np-legacy-management-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-start;
  justify-content: stretch;
  gap: 18px;
  width: 100%;
  margin: 18px 0 12px;
}

.np-management-month-switcher {
  display: flex;
  justify-self: start;
  justify-content: flex-start;
  gap: 8px;
  margin: 0;
  align-items: flex-start;
  flex-wrap: wrap;
}

.np-management-month-switcher .np-admin-action-button {
  min-width: 78px;
}

.np-management-tabs.np-management-month-switcher a.np-admin-action-button.np-legacy-month-button {
  min-width: 78px !important;
  min-height: 37px !important;
  padding: 8px 16px !important;
  font-size: 0.9rem !important;
}

.np-management-month-switcher .np-legacy-generate-month {
  position: relative;
  width: 38px;
  min-width: 38px !important;
  height: 38px;
  min-height: 38px !important;
  padding: 0 !important;
  border-radius: 11px !important;
}

.np-management-month-switcher .np-legacy-generate-month svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.np-management-month-switcher .np-pending-month-button {
  gap: 7px;
}

.np-pending-month-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(8, 122, 120, 0.12);
  color: #087a78;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}

.np-management-month-switcher a.np-admin-action-button.active .np-pending-month-count {
  background: rgba(15, 127, 122, 0.18);
  color: #0b5f5b;
}

.np-management-month-switcher a.np-admin-action-button.active {
  box-sizing: border-box !important;
  border: 2px solid #0f7f7a !important;
  background: linear-gradient(180deg, #dff7f1 0%, #cdeee7 100%) !important;
  color: #0b5f5b !important;
  font-weight: 700 !important;
  box-shadow:
    0 8px 24px rgba(15, 127, 122, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.45) !important;
  transform: translateY(-1px);
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

.np-legacy-month-option {
  display: inline-grid;
  align-items: center;
  justify-items: center;
  gap: 5px;
}

.np-legacy-delete-month-form,
.np-legacy-generate-month-form {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.np-legacy-generate-month-form {
  align-self: flex-start;
}

.np-legacy-delete-month {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  min-width: 26px;
  height: 26px;
  min-height: 26px;
  padding: 0;
  border: 1px solid rgba(143, 47, 36, 0.16);
  border-radius: 999px;
  background: rgba(143, 47, 36, 0.04);
  color: rgba(143, 47, 36, 0.76);
  cursor: pointer;
  font: inherit;
  line-height: 1;
  text-align: center;
  box-shadow: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.np-legacy-delete-month svg {
  display: block;
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.np-legacy-delete-month:hover,
.np-legacy-delete-month:focus {
  color: #7f1d1d;
  border-color: rgba(143, 47, 36, 0.3);
  background: rgba(143, 47, 36, 0.08);
  outline: 0;
  transform: translateY(-1px);
}

.np-management-month-switcher [data-tooltip] {
  position: relative;
}

.np-management-month-switcher [data-tooltip]::before,
.np-management-month-switcher [data-tooltip]::after {
  position: absolute;
  left: 50%;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition:
    opacity 0.16s ease,
    transform 0.16s ease;
}

.np-management-month-switcher [data-tooltip]::before {
  content: attr(data-tooltip);
  bottom: calc(100% + 10px);
  width: max-content;
  max-width: 180px;
  padding: 7px 9px;
  border-radius: 8px;
  background: #17211f;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.np-management-month-switcher [data-tooltip]::after {
  content: "";
  bottom: calc(100% + 4px);
  border: 6px solid transparent;
  border-top-color: #17211f;
}

.np-management-month-switcher [data-tooltip]:hover::before,
.np-management-month-switcher [data-tooltip]:hover::after,
.np-management-month-switcher [data-tooltip]:focus-visible::before,
.np-management-month-switcher [data-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.np-legacy-toolbar-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-self: end;
  min-width: 0;
}

.np-legacy-toolbar-actions > .np-legacy-tabs {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 7px;
  margin: 0;
}

@media (max-width: 1180px) {
  .np-legacy-management-toolbar {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 14px;
  }

  .np-legacy-management-toolbar > .np-management-month-switcher {
    order: 1;
    justify-self: stretch;
    width: 100%;
  }

  .np-legacy-toolbar-actions {
    order: 2;
    justify-self: stretch;
    align-items: flex-end;
    width: 100%;
  }

  .np-legacy-toolbar-actions > .np-legacy-tabs {
    width: 100%;
    justify-content: flex-end;
  }

  .np-management-tabs.np-legacy-tabs a.np-admin-action-button.np-legacy-icon-action,
  .np-management-tabs.np-legacy-tabs button.np-admin-action-button.np-legacy-icon-action {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
  }
}

.np-legacy-tabs .np-legacy-month-actions .np-admin-danger-button {
  height: 34px;
  min-height: 34px;
  margin: 0;
}

.np-legacy-tabs .np-legacy-icon-action {
  position: relative;
  width: 38px;
  min-width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 !important;
  border-radius: 11px !important;
  gap: 0;
}

.np-management-tabs.np-legacy-tabs a.np-admin-action-button.np-legacy-icon-action,
.np-management-tabs.np-legacy-tabs button.np-admin-action-button.np-legacy-icon-action {
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 !important;
  border-radius: 11px !important;
}

.np-legacy-tabs .np-legacy-icon-action svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.np-legacy-tabs .np-legacy-icon-action:hover,
.np-legacy-tabs .np-legacy-icon-action:focus-visible {
  transform: translateY(-1px);
}

.np-legacy-tabs .np-legacy-icon-action:focus-visible {
  outline: 2px solid rgba(8, 122, 120, 0.28);
  outline-offset: 3px;
}

.np-legacy-tabs .np-admin-danger-button.np-legacy-icon-action {
  border-color: rgba(143, 47, 36, 0.26) !important;
  color: rgba(143, 47, 36, 0.86) !important;
  background: #fff8f7 !important;
}

.np-legacy-tabs .np-admin-danger-button.np-legacy-icon-action:hover,
.np-legacy-tabs .np-admin-danger-button.np-legacy-icon-action:focus-visible {
  border-color: rgba(143, 47, 36, 0.42) !important;
  color: #8f2f24 !important;
  background: #fff0ee !important;
}

.np-legacy-tabs .np-legacy-icon-action[data-tooltip]::before,
.np-legacy-tabs .np-legacy-icon-action[data-tooltip]::after {
  position: absolute;
  left: 50%;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition:
    opacity 0.16s ease,
    transform 0.16s ease;
}

.np-legacy-tabs .np-legacy-icon-action[data-tooltip]::before {
  content: attr(data-tooltip);
  bottom: calc(100% + 10px);
  width: max-content;
  max-width: 190px;
  padding: 7px 9px;
  border-radius: 8px;
  background: #17211f;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.np-legacy-tabs .np-legacy-icon-action[data-tooltip]::after {
  content: "";
  bottom: calc(100% + 4px);
  border: 6px solid transparent;
  border-top-color: #17211f;
}

.np-legacy-tabs .np-legacy-icon-action[data-tooltip]:hover::before,
.np-legacy-tabs .np-legacy-icon-action[data-tooltip]:hover::after,
.np-legacy-tabs .np-legacy-icon-action[data-tooltip]:focus-visible::before,
.np-legacy-tabs .np-legacy-icon-action[data-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.np-legacy-save-button svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.np-admin-danger-button {
  border-color: rgba(151, 47, 40, 0.24) !important;
  background: #fff6f5 !important;
  color: #972f28 !important;
}

.np-planning-page {
  display: grid;
  gap: 18px;
}

.np-planning-weekbar,
.np-planning-catalog,
.np-planning-board {
  border: 1px solid rgba(8, 122, 120, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(15, 39, 36, 0.06);
}

.np-planning-weekbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
}

.np-planning-kicker {
  display: block;
  margin-bottom: 3px;
  color: #087a78;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.np-planning-weekbar strong {
  display: block;
  color: #17211f;
  font-size: 1.05rem;
  font-weight: 750;
}

.np-planning-weeknav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.np-planning-week-icon {
  min-width: 38px !important;
  width: 38px;
  height: 38px;
  padding: 0 !important;
}

.np-planning-week-icon svg,
.np-planning-icon-button svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.np-planning-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 18px;
  align-items: start;
}

.np-planning-catalog,
.np-planning-board {
  padding: 18px;
}

.np-planning-card-head h3 {
  margin: 0;
  color: #123c37;
  font-size: 1rem;
  font-weight: 800;
}

.np-planning-card-head p {
  margin: 5px 0 0;
  color: #687572;
  font-size: 0.82rem;
}

.np-planning-filters {
  display: grid;
  gap: 9px;
  margin: 16px 0;
}

.np-planning-filters input,
.np-planning-filters select,
.np-planning-modal-card input,
.np-planning-modal-card select,
.np-planning-modal-card textarea {
  width: 100%;
  border: 1px solid rgba(8, 122, 120, 0.16);
  border-radius: 12px;
  background: #fff;
  color: #17211f;
  font: inherit;
  font-size: 0.88rem;
  padding: 10px 12px;
  box-sizing: border-box;
}

.np-planning-catalog-list {
  display: grid;
  gap: 10px;
  max-height: 680px;
  overflow: auto;
  padding-right: 3px;
}

.np-planning-catalog-item {
  display: grid;
  gap: 8px;
  padding: 13px;
  border: 1px solid rgba(8, 122, 120, 0.12);
  border-radius: 14px;
  background: #f8fbfa;
  cursor: grab;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    opacity 0.18s ease,
    transform 0.18s ease;
}

.np-planning-catalog-item.is-dragging {
  opacity: 0.55;
  transform: scale(0.99);
}

.np-planning-catalog-item div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.np-planning-catalog-item strong {
  color: #17211f;
  font-size: 0.92rem;
}

.np-planning-catalog-item span {
  color: #087a78;
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
}

.np-planning-catalog-item p,
.np-planning-empty {
  margin: 0;
  color: #687572;
  font-size: 0.8rem;
  line-height: 1.45;
}

.np-planning-catalog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.np-planning-drag-hint {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #7a8986;
  font-size: 0.68rem;
  font-weight: 700;
}

.np-planning-drag-hint svg {
  display: block;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.np-planning-board-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.np-planning-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.np-planning-summary span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(8, 122, 120, 0.08);
  color: #087a78;
  font-size: 0.72rem;
  font-weight: 800;
}

.np-planning-savebar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.np-planning-status {
  color: #087a78;
  font-size: 0.78rem;
  font-weight: 700;
}

.np-planning-save:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.np-planning-days {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.np-planning-day {
  min-height: 220px;
  padding: 11px;
  border: 1px solid rgba(8, 122, 120, 0.1);
  border-radius: 14px;
  background: #f8fbfa;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.is-planning-dragging .np-planning-day {
  border-color: rgba(8, 122, 120, 0.24);
  background: #f2faf7;
}

.np-planning-day.is-drag-over {
  border-color: rgba(8, 122, 120, 0.48);
  background: #eaf8f4;
  box-shadow: inset 0 0 0 1px rgba(8, 122, 120, 0.18);
}

.np-planning-day header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.np-planning-day header strong {
  color: #123c37;
  font-size: 0.82rem;
  font-weight: 800;
}

.np-planning-day-add {
  border: 0;
  background: transparent;
  color: #087a78;
  cursor: pointer;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0;
}

.np-planning-day-list {
  display: grid;
  gap: 9px;
}

.np-planning-item {
  display: grid;
  gap: 9px;
  padding: 10px;
  margin-bottom: 8px;
  border: 1px solid rgba(8, 122, 120, 0.12);
  border-radius: 12px;
  background: #fff;
}

.np-planning-item--basic {
  border-color: #fecaca;
  background: #fef2f2;
}

.np-planning-item--intermediate {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.np-planning-item--advanced {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.np-planning-item-main {
  display: grid;
  gap: 3px;
}

.np-planning-item-main strong {
  color: #17211f;
  font-size: 0.82rem;
}

.np-planning-item-main span,
.np-planning-item-main p {
  margin: 0;
  color: #687572;
  font-size: 0.72rem;
  line-height: 1.35;
}

.np-planning-item-main b {
  color: #17211f;
  font-weight: 850;
}

.np-planning-time {
  width: fit-content;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(183, 243, 220, 0.42);
  color: #087a78 !important;
  font-weight: 800;
}

.np-planning-item-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.np-planning-icon-button {
  display: inline-grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(8, 122, 120, 0.12);
  border-radius: 9px;
  background: #fff;
  color: #087a78;
  cursor: pointer;
  padding: 0;
}

.np-planning-icon-button:hover,
.np-planning-icon-button:focus-visible {
  background: #effaf7;
  outline: 0;
}

.np-planning-modal[hidden] {
  display: none;
}

.np-planning-level-picker {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.18);
}

.np-planning-level-picker-card {
  display: grid;
  gap: 13px;
  width: min(360px, 100%);
  padding: 18px;
  border: 1px solid rgba(8, 122, 120, 0.14);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.16);
}

.np-planning-level-picker-card h3,
.np-planning-level-picker-card p {
  margin: 0;
}

.np-planning-level-picker-card h3 {
  color: #123c37;
  font-size: 1rem;
}

.np-planning-level-picker-card p {
  margin-top: 4px;
  color: #687572;
  font-size: 0.82rem;
}

.np-planning-level-picker-card label {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  color: #687572;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.np-planning-level-picker-card select {
  width: 100%;
  border: 1px solid rgba(8, 122, 120, 0.16);
  border-radius: 12px;
  background: #fff;
  color: #17211f;
  font: inherit;
  font-size: 0.88rem;
  padding: 10px 12px;
  box-sizing: border-box;
  text-transform: none;
  letter-spacing: 0;
}

.np-planning-level-picker-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.np-planning-level-choice,
.np-planning-level-cancel {
  min-height: 38px;
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
}

.np-planning-level-choice--basic {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #7f1d1d;
}

.np-planning-level-choice--intermediate {
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1e3a8a;
}

.np-planning-level-choice--advanced {
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.np-planning-level-cancel {
  border: 1px solid rgba(8, 122, 120, 0.12);
  background: #fff;
  color: #687572;
}

.np-planning-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 18px;
}

.np-planning-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.36);
}

.np-planning-modal-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  width: min(520px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.22);
}

.np-planning-modal-card h3 {
  margin: 0;
  color: #123c37;
  font-size: 1.1rem;
}

.np-planning-modal-card label {
  display: grid;
  gap: 6px;
  color: #687572;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.np-planning-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

@media (max-width: 1280px) {
  .np-planning-days {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .np-planning-weekbar,
  .np-planning-board-head {
    align-items: stretch;
    flex-direction: column;
  }

  .np-planning-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .np-planning-days {
    grid-template-columns: 1fr;
  }

  .np-planning-weeknav,
  .np-planning-savebar,
  .np-planning-modal-actions {
    justify-content: stretch;
  }

  .np-planning-weeknav > *,
  .np-planning-savebar > *,
  .np-planning-modal-actions > * {
    flex: 1 1 auto;
  }
}

.np-admin-danger-button:hover,
.np-admin-danger-button:focus {
  border-color: rgba(151, 47, 40, 0.44) !important;
  background: #ffecea !important;
}

.np-management-message-form {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.np-management-message-form label {
  color: #17312e;
  font-size: 0.82rem;
  font-weight: 600;
}

.np-management-message-form textarea {
  width: 100%;
  min-height: 240px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 39, 36, 0.12);
  border-radius: 14px;
  background: #fff;
  color: #17312e;
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.45;
  resize: vertical;
  outline: 0;
}

.np-management-message-form textarea:focus {
  border-color: rgba(8, 122, 120, 0.38);
  box-shadow: 0 0 0 3px rgba(8, 122, 120, 0.08);
}

.np-management-message-form .np-admin-action-button {
  justify-self: start;
}

.np-management-summary-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin: 0 0 16px;
}

.np-management-powered {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.np-management-powered img {
  display: block;
  width: 100%;
  height: 78px;
  max-height: 78px;
  object-fit: contain;
  object-position: center;
}

.np-management-money-card {
  flex: 0 0 620px;
  width: min(100%, 620px);
  min-height: 78px !important;
  gap: 6px !important;
  padding: 10px 14px !important;
  text-decoration: none;
}

.np-management-money-month {
  margin-bottom: 1px;
  color: #687572 !important;
  font-size: 0.66rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase;
}

.np-management-money-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(74px, 1fr));
  gap: 7px;
  align-items: start;
}

.np-management-money-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 2px;
  min-width: 0;
}

.np-management-money-label {
  color: #17312e !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 1.08 !important;
  text-transform: none !important;
}

.np-management-money-value {
  align-self: auto !important;
  color: #087a78 !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  line-height: 1.05 !important;
  white-space: nowrap;
}

.np-management-card .np-management-money-value {
  font-size: 0.72rem !important;
}

.np-management-money-value-pending {
  color: #b42318 !important;
}

.np-management-money-value-pending-count {
  color: #b42318 !important;
}

@media (max-width: 720px) {
  .np-management-summary-row {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 14px;
  }

  .np-management-powered {
    flex-basis: 100%;
  }

  .np-management-powered img {
    height: 62px;
    max-height: 62px;
  }

  .np-management-money-card {
    flex-basis: 100%;
    width: 100%;
  }

  .np-management-money-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.np-management-nav a,
.np-management-logout {
  font-size: 11px !important;
  font-weight: 400 !important;
  line-height: 1.15 !important;
}

.np-management-nav a span:not(.np-management-nav-icon),
.np-management-logout span:not(.np-management-nav-icon) {
  font-weight: 400 !important;
}

.np-management-summary-grid .np-management-card span,
.np-legacy-summary .np-management-card span {
  font-size: 0.8rem !important;
  font-weight: 400 !important;
  line-height: 1.15 !important;
  letter-spacing: 0.03em !important;
}

/* Navbar superior del panel de gestión */
.np-management-app.netpadel-management-area {
  display: block !important;
  grid-template-columns: none !important;
  min-height: 100vh !important;
  background: var(--np-bg, #f3f7f6) !important;
}

.np-management-navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  box-sizing: border-box;
  width: 100%;
  min-height: 118px;
  padding: 18px 28px;
  color: #f6fbfa;
  border-bottom: 1px solid rgba(183, 243, 220, 0.105);
  box-shadow:
    0 16px 34px rgba(5, 12, 11, 0.24),
    0 1px 0 rgba(255, 255, 255, 0.035) inset;
}


.np-management-navbar-title {
  color: #f6fbfa;
  font-family: "Space Grotesk", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.15rem, 1.6vw, 1.55rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.np-management-navbar .np-management-logo {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  max-width: none !important;
  min-width: 176px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.np-management-navbar .np-management-logo img {
  display: block;
  width: auto !important;
  max-width: 176px !important;
  height: auto;
  max-height: 48px;
  object-fit: contain;
}

.np-management-navbar .np-management-nav {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 7px !important;
  flex-wrap: wrap;
  min-width: 0;
  width: 100%;
  margin: 0 !important;
  overflow: visible;
  justify-self: end;
}

.np-management-navbar .np-management-nav a,
.np-management-navbar .np-management-logout {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0 !important;
  flex: 0 0 auto;
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(183, 243, 220, 0.14) !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: rgba(246, 251, 250, 0.76) !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  line-height: 1 !important;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-align: center;
  text-decoration: none;
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease,
    transform 0.16s ease;
}

.np-management-navbar .np-management-nav a span:not(.np-management-nav-icon),
.np-management-navbar .np-management-logout span:not(.np-management-nav-icon) {
  font-weight: 650 !important;
}

.np-management-navbar .np-management-nav a:hover,
.np-management-navbar .np-management-nav a:focus-visible,
.np-management-navbar .np-management-nav a.active {
  border-color: rgba(183, 243, 220, 0.34) !important;
  background: rgba(183, 243, 220, 0.13) !important;
  color: #b7f3dc !important;
  transform: translateY(-1px);
}

.np-management-navbar .np-management-nav a:focus-visible {
  outline: 2px solid rgba(183, 243, 220, 0.38);
  outline-offset: 3px;
}

.np-management-navbar .np-management-nav a.active {
  border-color: rgba(183, 243, 220, 0.48) !important;
  background: #b7f3dc !important;
  color: #0f1715 !important;
  box-shadow: 0 8px 20px rgba(183, 243, 220, 0.16) !important;
}

.np-management-navbar .np-management-nav-icon {
  display: inline-grid !important;
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  place-items: center;
  color: currentColor !important;
  font-size: 14px !important;
  line-height: 1 !important;
}

.np-management-navbar .np-management-nav-icon svg,
.np-management-navbar .np-management-logout svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.np-management-navbar .np-management-nav-item--logout:hover,
.np-management-navbar .np-management-nav-item--logout:focus-visible {
  border-color: rgba(248, 113, 113, 0.35) !important;
  background: rgba(248, 113, 113, 0.12) !important;
  color: #fecaca !important;
}

.np-management-navbar .np-management-nav-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  display: inline-grid;
  min-width: 17px;
  height: 17px;
  place-items: center;
  padding: 0 5px;
  border: 1px solid rgba(15, 23, 21, 0.28);
  border-radius: 999px;
  background: #b7f3dc;
  color: #0f1715;
  font-size: 10px;
  font-weight: 800 !important;
  line-height: 1;
  letter-spacing: 0;
}

.np-management-navbar .np-management-nav-item[data-tooltip]::before,
.np-management-navbar .np-management-nav-item[data-tooltip]::after {
  position: absolute;
  left: 50%;
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition:
    opacity 0.16s ease,
    transform 0.16s ease;
}

.np-management-navbar .np-management-nav-item[data-tooltip]::before {
  content: attr(data-tooltip);
  top: calc(100% + 10px);
  width: max-content;
  max-width: 190px;
  padding: 7px 9px;
  border-radius: 8px;
  background: #17211f;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.np-management-navbar .np-management-nav-item[data-tooltip]::after {
  content: "";
  top: calc(100% + 4px);
  border: 6px solid transparent;
  border-bottom-color: #17211f;
}

.np-management-navbar .np-management-nav-item[data-tooltip]:hover::before,
.np-management-navbar .np-management-nav-item[data-tooltip]:hover::after,
.np-management-navbar .np-management-nav-item[data-tooltip]:focus-visible::before,
.np-management-navbar .np-management-nav-item[data-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.np-management-navbar .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.np-management-mobile-toggle,
.np-management-mobile-backdrop,
.np-management-mobile-drawer {
  display: none;
}

.np-legacy-mobile-day-tabs {
  display: none;
}

.np-legacy-day-column[hidden] {
  display: none !important;
}

.np-management-mobile-backdrop[hidden],
.np-management-mobile-drawer[hidden] {
  display: none !important;
}

.np-management-mobile-toggle {
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(183, 243, 220, 0.20);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #b7f3dc;
  cursor: pointer;
}

.np-management-mobile-toggle svg,
.np-management-mobile-close svg,
.np-management-mobile-logout svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.np-management-main {
  width: 100% !important;
  max-width: none !important;
  padding: 24px !important;
}

@media (max-width: 1050px) {
  .np-management-navbar {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    min-height: 106px;
    padding: 16px 18px;
  }

  .np-management-navbar .np-management-logo {
    min-width: 136px;
    padding: 0;
  }

  .np-management-navbar .np-management-logo img {
    max-width: 136px !important;
    max-height: 40px;
  }
}

@media (max-width: 720px) {
  .np-management-navbar {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    min-height: 112px;
  }

  .np-management-navbar .np-management-logo {
    grid-column: 1 / 2;
    justify-self: start;
  }

  .np-management-navbar .np-management-nav {
    grid-column: 1 / -1;
    width: 100%;
    padding-bottom: 2px;
  }

  .np-management-main {
    padding: 16px 12px !important;
  }
}

@media (max-width: 900px) {
  .np-management-navbar {
    grid-template-columns: auto minmax(0, 1fr);
    justify-content: stretch;
    min-height: 112px;
    gap: 14px;
  }

  .np-management-navbar .np-management-nav {
    display: flex !important;
    grid-column: 1 / -1;
    justify-content: flex-end;
    flex-wrap: wrap;
    overflow: visible;
  }

  .np-management-navbar .np-management-logo {
    grid-column: auto;
    min-width: 0;
    justify-self: start;
  }

  .np-management-navbar .np-management-logo img {
    max-width: 138px !important;
    max-height: 40px;
  }

  .np-management-mobile-toggle {
    display: none !important;
    justify-self: end;
  }

  .np-management-mobile-toggle:hover,
  .np-management-mobile-toggle:focus {
    border-color: rgba(183, 243, 220, 0.42);
    background: rgba(183, 243, 220, 0.14);
    color: #ffffff;
    outline: none;
  }

  .np-management-mobile-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(4, 12, 10, 0.44);
    backdrop-filter: blur(4px);
  }

  .np-management-mobile-backdrop:not([hidden]) {
    display: block;
  }

  .np-management-mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 90;
    display: grid;
    width: min(86vw, 360px);
    max-width: 100%;
    height: 100vh;
    grid-template-rows: auto 1fr auto;
    gap: 16px;
    padding: 20px;
    background: #f8fbfa;
    border-left: 1px solid rgba(8, 122, 120, 0.12);
    box-shadow: -22px 0 55px rgba(7, 16, 15, 0.22);
    transform: translateX(100%);
    transition: transform 180ms ease;
  }

  .np-management-mobile-drawer:not([hidden]) {
    transform: translateX(0);
  }

  .np-management-mobile-close {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    justify-self: end;
    padding: 0;
    border: 1px solid rgba(8, 122, 120, 0.14);
    border-radius: 999px;
    background: #ffffff;
    color: #123c37;
    cursor: pointer;
  }

  .np-management-mobile-nav {
    display: grid;
    align-content: start;
    gap: 8px;
    min-height: 0;
    overflow-y: auto;
    padding: 2px 0;
  }

  .np-management-mobile-link,
  .np-management-mobile-logout {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid transparent;
    border-radius: 14px;
    color: #123c37;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;
  }

  .np-management-mobile-link:hover,
  .np-management-mobile-link:focus,
  .np-management-mobile-link.active {
    border-color: rgba(8, 122, 120, 0.16);
    background: rgba(183, 243, 220, 0.34);
    color: #087a78;
    outline: none;
  }

  .np-management-mobile-link .np-management-nav-icon,
  .np-management-mobile-logout .np-management-nav-icon {
    display: inline-grid;
    width: 20px !important;
    min-width: 20px !important;
    height: 20px !important;
    place-items: center;
    color: currentColor !important;
    font-size: 16px !important;
  }

  .np-management-mobile-logout {
    margin-top: 2px;
    border-top: 1px solid rgba(8, 122, 120, 0.12);
    border-radius: 0;
    color: #8f2f24;
  }

  .np-management-mobile-logout:hover,
  .np-management-mobile-logout:focus {
    background: rgba(143, 47, 36, 0.08);
    color: #7f1d1d;
    outline: none;
  }

  body.np-management-mobile-menu-open {
    overflow: hidden;
  }

  .np-legacy-mobile-day-tabs {
    display: flex;
    gap: 8px;
    width: 100%;
    margin: 0 0 12px;
    padding: 2px 0 8px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .np-legacy-mobile-day-tab {
    flex: 1 0 auto;
    min-width: 48px;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid rgba(8, 122, 120, 0.16);
    border-radius: 999px;
    background: #ffffff;
    color: #123c37;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
  }

  .np-legacy-mobile-day-tab:hover,
  .np-legacy-mobile-day-tab:focus {
    border-color: rgba(8, 122, 120, 0.34);
    background: rgba(183, 243, 220, 0.22);
    color: #087a78;
    outline: none;
  }

  .np-legacy-mobile-day-tab.is-active {
    border-color: #087a78;
    background: #087a78;
    color: #ffffff;
  }

  .np-legacy-week-scroll {
    overflow-x: visible;
  }

  .np-legacy-week-grid {
    display: block;
    min-width: 0;
  }
}

.np-management-summary-grid .np-management-card strong,
.np-legacy-summary .np-management-card strong {
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.15 !important;
}

.np-management-shell .np-management-main .np-management-summary-grid .np-management-card > strong,
.np-management-shell .np-management-main .np-legacy-summary .np-management-card > strong {
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.15 !important;
}

.np-management-shell .np-management-main .np-legacy-day-title {
  background: #e8f3ef !important;
  background-color: #e8f3ef !important;
  color: #0f766e !important;
  font-size: 0.76rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.025em !important;
  text-shadow: none !important;
}

.np-management-login-logo {
  margin-right: auto !important;
  margin-left: auto !important;
}

.np-management-login-form input[type="text"],
.np-management-login-form input[type="password"] {
  width: 100% !important;
  padding: 14px !important;
  border: 1px solid var(--np-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  font: inherit !important;
  outline: none !important;
}

.np-student-check-ok,
.np-student-check-ko {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1;
}

.np-student-check-ok {
  background: #e5f7ef;
  color: #087a78;
}

.np-student-check-ko {
  background: #fff0ef;
  color: #b42318;
}

.np-student-check-cell {
  text-align: center !important;
  vertical-align: middle;
}

.np-management-table .np-student-check-cell {
  display: table-cell;
}

.np-student-check-cell .np-student-check-ok,
.np-student-check-cell .np-student-check-ko {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.np-students-table-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.np-students-sort-link,
.np-students-filter-link {
  text-decoration: none;
}

.np-students-sort-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: #087a78;
  font-size: 0.78rem;
  line-height: 1;
}

.np-students-sort-link:hover,
.np-students-sort-link:focus,
.np-students-sort-link.is-active,
.np-students-filter-link.is-active {
  outline: 0;
  box-shadow: 0 0 0 2px rgba(8, 122, 120, 0.16);
}

.np-students-filter-link {
  width: 20px;
  height: 20px;
  font-size: 0.72rem;
}

.np-students-filter-all {
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #eef5f2;
  color: #687572;
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1;
}

.np-students-search {
  position: relative;
  display: block;
  align-items: center;
  justify-content: flex-end;
  width: min(220px, 100%);
  margin-left: auto;
  font-size: 0;
}

.np-students-search .screen-reader-text {
  display: none !important;
}

.np-students-search input {
  width: 100%;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(8, 122, 120, 0.16);
  border-radius: 999px;
  background: #fff;
  color: #14201d;
  font: inherit;
  font-size: 0.9rem;
  box-shadow: 0 8px 22px rgba(15, 39, 36, 0.05);
}

.np-students-search input:focus {
  border-color: rgba(8, 122, 120, 0.42);
  box-shadow: 0 0 0 3px rgba(8, 122, 120, 0.1);
  outline: none;
}

.np-legacy-student-name-display {
  display: block;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  line-height: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.np-legacy-turns-grid {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(230px, 1fr) minmax(430px, 1fr);
  gap: 18px;
  align-items: start;
}

.np-legacy-turns-column {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.np-legacy-turns-column h3 {
  margin: 0;
  color: #087a78;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.2;
}

.np-legacy-turns-form .np-legacy-turns-list {
  display: grid;
  gap: 7px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

.np-legacy-turns-form .np-legacy-turn-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 76px 26px !important;
  gap: 7px !important;
  align-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.np-legacy-turns-form .np-legacy-inline-input,
.np-legacy-turns-form .np-legacy-name-input {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

.np-legacy-turns-form .np-legacy-amount-wrap {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 3px !important;
  align-items: center !important;
  width: 76px !important;
  min-width: 0 !important;
}

.np-legacy-turns-form .np-legacy-amount-input {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  text-align: right !important;
}

.np-legacy-turns-form .np-legacy-cobrado-check {
  width: 24px !important;
  min-width: 24px !important;
  height: 24px !important;
  margin: 0 !important;
}

.np-legacy-vouchers-list {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.np-legacy-voucher-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 8px;
  align-items: center;
  min-width: 0;
  min-height: 54px;
  padding: 0 10px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(15, 39, 36, 0.08) !important;
  background: #fff !important;
}

.np-legacy-voucher-row:last-child {
  border-bottom: 0 !important;
}

.np-legacy-voucher-checks {
  display: grid;
  grid-template-columns: repeat(5, 42px);
  align-items: start;
  justify-content: end;
  gap: 5px;
}

.np-legacy-voucher-slot {
  display: grid;
  justify-items: center;
  gap: 2px;
  position: relative;
}

.np-legacy-voucher-checks .np-legacy-cobrado-check {
  flex: 0 0 auto;
}

.np-legacy-voucher-date {
  width: 42px;
  min-width: 42px;
  padding: 1px 2px;
  border: 0;
  border-radius: 5px;
  background: #fff;
  color: #17312e;
  font-size: 0.56rem;
  line-height: 1.1;
}

.np-legacy-voucher-calendar {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 980px) {
  .np-legacy-turns-grid {
    grid-template-columns: 1fr;
  }
}

.np-management-shell .np-management-main .np-legacy-week-grid > .np-legacy-day-column > h3.np-legacy-day-title {
  background: #e8f3ef !important;
  background-color: #e8f3ef !important;
  color: #0f766e !important;
  font-size: 0.76rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.025em !important;
  text-shadow: none !important;
}

.np-management-shell .np-management-main .np-legacy-week-grid > .np-legacy-day-column > h3.np-day-column-header {
  background: #e8f3ef !important;
  background-color: #e8f3ef !important;
  color: #007f78 !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.025em !important;
  text-shadow: none !important;
}
.np-no-class-day {
  appearance: none;
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.np-no-class-day span {
  background: #fff !important;
}

.np-no-class-day.is-selected span {
  background: rgba(220, 38, 38, 0.12) !important;
}

.np-no-class-day.is-saving {
  cursor: wait;
  opacity: 0.72;
}

.np-no-class-autosave-note {
  margin: 4px 0 0;
  color: #5f716d;
  font-size: 0.82rem;
  font-weight: 500;
}

.np-taxes-page {
  display: grid;
  gap: 18px;
}

.np-taxes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 280px));
  gap: 18px;
  align-items: start;
  justify-content: start;
}

.np-taxes-month-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.np-taxes-month-tab,
.np-taxes-save,
.np-taxes-clear {
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(8, 122, 120, 0.24);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #edf8f4);
  color: #087a78;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
}

.np-taxes-month-tab:hover,
.np-taxes-month-tab:focus,
.np-taxes-month-tab.active,
.np-taxes-save:hover,
.np-taxes-save:focus {
  border-color: rgba(8, 122, 120, 0.42);
  background: #e7f7f2;
  outline: 0;
}

.np-taxes-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.np-taxes-clear {
  border-color: rgba(151, 47, 40, 0.24);
  background: #fff6f5;
  color: #972f28;
}

.np-taxes-clear:hover,
.np-taxes-clear:focus {
  border-color: rgba(151, 47, 40, 0.42);
  background: #ffecea;
  outline: 0;
}

.np-taxes-status {
  color: #687572;
  font-size: 0.76rem;
  font-weight: 700;
}

.np-taxes-status.is-success {
  color: #087a78;
}

.np-taxes-status.is-error {
  color: #972f28;
}

.np-taxes-summary {
  display: grid;
  gap: 10px;
}

.np-taxes-summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(15, 39, 36, 0.08);
}

.np-taxes-summary-item span {
  color: #687572;
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.2;
}

.np-taxes-summary-item strong {
  color: #17312e;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.np-taxes-summary-item-highlight {
  margin-top: 2px;
  padding: 12px 10px;
  border: 1px solid rgba(8, 122, 120, 0.18);
  border-radius: 10px;
  background: #edf8f4;
}

.np-taxes-summary-item-highlight strong {
  color: #087a78;
}

.np-taxes-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(15, 39, 36, 0.1);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 39, 36, 0.06);
}

.np-taxes-card h3 {
  margin: 0;
  color: #17312e;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.2;
}

.np-taxes-card h4 {
  margin: 8px 0 -2px;
  color: #687572;
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.2;
}

.np-taxes-column-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 2px;
  padding: 10px 0;
  border-top: 1px solid rgba(15, 39, 36, 0.1);
  border-bottom: 1px solid rgba(15, 39, 36, 0.08);
}

.np-taxes-column-total span {
  color: #687572;
  font-size: 0.74rem;
  font-weight: 750;
  line-height: 1.2;
}

.np-taxes-column-total strong {
  color: #17312e;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.np-taxes-row {
  display: grid;
  grid-template-columns: 112px 102px;
  gap: 8px;
  align-items: center;
}

.np-taxes-sale-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) 22px;
  gap: 8px;
  align-items: end;
}

.np-taxes-sales-list {
  display: grid;
  gap: 9px;
}

.np-taxes-sale-row label {
  display: grid;
  gap: 3px;
  margin: 0;
}

.np-taxes-sale-row label > span:first-child {
  color: #687572;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.1;
}

.np-taxes-add-sale {
  justify-self: start;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(8, 122, 120, 0.24);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #edf8f4);
  color: #087a78;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
}

.np-taxes-add-sale:hover,
.np-taxes-add-sale:focus {
  border-color: rgba(8, 122, 120, 0.42);
  background: #e7f7f2;
  outline: 0;
}

.np-taxes-remove-sale {
  display: inline-grid;
  width: 22px;
  height: 22px;
  margin: 0 0 8px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(151, 47, 40, 0.22);
  border-radius: 999px;
  background: #fff6f5;
  color: #972f28;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.np-taxes-remove-sale:hover,
.np-taxes-remove-sale:focus {
  border-color: rgba(151, 47, 40, 0.42);
  background: #ffecea;
  outline: 0;
}

.np-taxes-concept,
.np-taxes-amount {
  width: 100%;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid rgba(15, 39, 36, 0.12);
  border-radius: 10px;
  background: #fff;
  color: #17312e;
  font: inherit;
  font-size: 0.86rem;
  line-height: 1.2;
  outline: 0;
}

.np-taxes-amount {
  text-align: right;
  -moz-appearance: textfield;
}

.np-taxes-amount-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px;
  align-items: center;
  color: #687572;
  font-size: 0.82rem;
  font-weight: 700;
}

.np-taxes-amount::-webkit-outer-spin-button,
.np-taxes-amount::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.np-taxes-concept:focus,
.np-taxes-amount:focus {
  border-color: rgba(8, 122, 120, 0.38);
  box-shadow: 0 0 0 3px rgba(8, 122, 120, 0.08);
}

@media (max-width: 760px) {
  .np-taxes-grid {
    grid-template-columns: 1fr;
  }

  .np-taxes-row {
    grid-template-columns: minmax(0, 112px) 102px;
  }

  .np-taxes-sale-row {
    grid-template-columns: repeat(2, minmax(0, 102px)) 22px;
  }
}

.netpadel-admin-messages-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.netpadel-admin-messages-filters a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(8, 122, 120, 0.16);
  border-radius: 999px;
  color: #087a78;
  text-decoration: none;
}

.netpadel-admin-messages-filters a.active {
  background: #e6f8f2;
}

.netpadel-admin-messages-table-wrap {
  overflow-x: auto;
}

.netpadel-admin-messages-table {
  width: 100%;
  border-collapse: collapse;
}

.netpadel-admin-messages-table th,
.netpadel-admin-messages-table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(8, 122, 120, 0.10);
  text-align: left;
  vertical-align: top;
}

.netpadel-admin-messages-table tr.is-unread {
  background: rgba(220, 252, 245, 0.38);
}

.netpadel-admin-messages-status {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.netpadel-admin-messages-status.unread {
  background: #dff7ef;
  color: #087a78;
}

.netpadel-admin-messages-status.read {
  background: #eef2f1;
  color: #66736f;
}

.netpadel-admin-messages-open,
.netpadel-admin-messages-close,
.netpadel-admin-messages-mark-read {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(8, 122, 120, 0.16);
  border-radius: 10px;
  background: #fff;
  color: #087a78;
  font: inherit;
  cursor: pointer;
}

.netpadel-admin-messages-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.netpadel-admin-messages-actions form {
  margin: 0;
}

.netpadel-admin-messages-delete {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(185, 28, 28, 0.18);
  border-radius: 10px;
  background: #fff7f7;
  color: #b91c1c;
  cursor: pointer;
}

.netpadel-admin-messages-delete svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.netpadel-admin-messages-delete:hover,
.netpadel-admin-messages-delete:focus {
  border-color: rgba(185, 28, 28, 0.34);
  background: #fee2e2;
  outline: none;
}

.np-management-requests-view {
  display: grid;
  gap: 16px;
}

.np-management-requests-table th,
.np-management-requests-table td {
  padding-top: 10px;
  padding-bottom: 10px;
  vertical-align: middle;
}

.np-management-request-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.np-management-request-actions button {
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(8, 122, 120, 0.18);
  border-radius: 8px;
  background: #f7fbfa;
  color: #087a78;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
}

.np-management-request-actions button.danger {
  border-color: rgba(185, 28, 28, 0.22);
  background: #fff7f7;
  color: #b91c1c;
}

.netpadel-admin-messages-dialog {
  padding: 18px;
  border: 1px solid rgba(8, 122, 120, 0.10);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 39, 36, 0.08);
}

.netpadel-admin-messages-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.netpadel-admin-messages-dialog-head p,
.netpadel-admin-messages-dialog-head h3,
.netpadel-admin-messages-dialog-head span {
  margin: 0;
}

.netpadel-admin-messages-dialog-head p,
.netpadel-admin-messages-dialog-head span {
  color: #66736f;
  font-size: 0.88rem;
}

.netpadel-admin-messages-dialog-head h3 {
  margin: 6px 0;
  color: #17211f;
}

.netpadel-admin-messages-body {
  color: #25312f;
  line-height: 1.55;
}

@media (max-width: 720px) {
  .netpadel-admin-messages-dialog-head {
    display: grid;
  }
}

/* Edición de modalidad y horario en Gestión > Alumnos */
.np-management-table .np-student-profile-name {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: inherit !important;
  font-weight: 400 !important;
  text-decoration: none !important;
}

.np-student-delete-form {
  display: flex;
  justify-content: flex-end;
  margin: 0;
}

.np-student-delete-button {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(190, 18, 60, 0.18);
  border-radius: 999px;
  background: rgba(255, 241, 242, 0.82);
  color: #be123c;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.np-student-delete-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.np-student-delete-button:hover,
.np-student-delete-button:focus {
  border-color: rgba(190, 18, 60, 0.38);
  background: #fff1f2;
  color: #9f1239;
  outline: none;
}

.np-management-schedule-trigger {
  appearance: none;
  display: inline;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.np-management-schedule-trigger:hover,
.np-management-schedule-trigger:focus {
  color: #065f5d;
  outline: none;
}

.np-management-inline-notice {
  margin: 0 0 14px;
  padding: 11px 13px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
}

.np-management-inline-notice.success {
  background: #e9f8f3;
  color: #087a78;
}

.np-management-inline-notice.error {
  background: #fff0ef;
  color: #972f28;
}

.np-management-schedule-modal[hidden] {
  display: none !important;
}

.np-management-schedule-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.np-management-schedule-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 16, 15, 0.38);
  backdrop-filter: blur(4px);
}

.np-management-schedule-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 660px);
  max-height: calc(100dvh - 48px);
  overflow: auto;
  padding: 28px 32px 30px;
  border: 1px solid rgba(8, 122, 120, 0.14);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(7, 16, 15, 0.18);
}

.np-management-schedule-dialog header {
  margin-bottom: 20px;
  padding-right: 46px;
}

.np-management-schedule-dialog header p {
  margin: 0 0 8px;
  color: #087a78;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.np-management-schedule-dialog h3 {
  margin: 0;
  color: #17211f;
  font-size: clamp(28px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.np-management-schedule-close {
  position: absolute;
  top: 22px;
  right: 22px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(8, 122, 120, 0.14);
  border-radius: 999px;
  background: #fff;
  color: #17211f;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.np-management-schedule-close:hover,
.np-management-schedule-close:focus {
  border-color: #087a78;
  color: #087a78;
  outline: none;
}

.np-management-schedule-form,
.np-management-schedule-group-fields {
  display: grid;
  gap: 14px;
}

.np-management-schedule-form label,
.np-management-schedule-slot label {
  display: grid;
  gap: 6px;
  color: #263432;
  font-size: 12px;
  font-weight: 700;
}

.np-management-schedule-form label > span,
.np-management-schedule-slot > strong,
.np-management-schedule-frequency legend {
  color: #687572;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.np-management-schedule-form select {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid rgba(8, 122, 120, 0.14);
  border-radius: 14px;
  background: #fff;
  color: #17211f;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
}

.np-management-schedule-amount-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 50px;
  border: 1px solid rgba(8, 122, 120, 0.14);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.np-management-schedule-amount-control input {
  width: 100%;
  min-height: 48px;
  padding: 0 15px;
  border: 0;
  background: transparent;
  color: #17211f;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  outline: none;
}

.np-management-schedule-amount-control > span {
  padding: 0 14px;
  color: #687572;
  font-weight: 750;
}

.np-management-schedule-amount-control:focus-within {
  border-color: #087a78;
  box-shadow: 0 0 0 3px rgba(8, 122, 120, 0.10);
}

.np-management-schedule-form select:focus {
  border-color: #087a78;
  box-shadow: 0 0 0 3px rgba(8, 122, 120, 0.10);
  outline: none;
}

.np-management-schedule-frequency {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.np-management-schedule-frequency legend {
  flex-basis: 100%;
  margin-bottom: 2px;
}

.np-management-schedule-frequency label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid rgba(8, 122, 120, 0.14);
  border-radius: 14px;
  background: #f6faf8;
  color: #17211f;
  font-size: 0.86rem;
  font-weight: 650;
  cursor: pointer;
}

.np-management-schedule-frequency input {
  width: 14px;
  height: 14px;
  accent-color: #087a78;
}

.np-management-schedule-slot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(8, 122, 120, 0.10);
  border-radius: 16px;
  background: #f6faf8;
}

.np-management-schedule-slot[hidden],
.np-management-schedule-group-fields[hidden] {
  display: none !important;
}

.np-management-schedule-slot > strong {
  grid-column: 1 / -1;
}

.np-management-schedule-error {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff0ef;
  color: #972f28;
  font-weight: 750;
}

.np-management-schedule-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 2px;
}

.np-management-schedule-save,
.np-management-schedule-cancel {
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid rgba(8, 122, 120, 0.18);
  border-radius: 14px;
  font: inherit;
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
}

.np-management-schedule-save {
  background: #087a78;
  color: #fff;
}

.np-management-schedule-cancel {
  background: #fff;
  color: #087a78;
}

.np-management-connected-status,
.np-management-payment-status {
  color: #25312f;
  font-weight: 400;
}

.np-management-payment-status.pending {
  color: #8a5900;
}

.np-management-payment-status.paid {
  color: #087a78;
}

.np-management-payment-status.unknown,
.np-management-connected-status.is-disconnected {
  color: #66736f;
}

@media (max-width: 640px) {
  .np-management-schedule-modal {
    place-items: center;
    padding: 12px;
  }

  .np-management-schedule-dialog {
    width: 100%;
    max-height: calc(100dvh - 24px);
    padding: 22px;
    border-radius: 22px;
  }

  .np-management-schedule-dialog h3 {
    font-size: 26px;
  }

  .np-management-schedule-close {
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
  }

  .np-management-schedule-slot {
    grid-template-columns: 1fr;
  }

  .np-management-schedule-frequency {
    display: grid;
    grid-template-columns: 1fr;
  }

  .np-management-schedule-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}
