.salud-dashboard,
.salud-dashboard-gate {
  box-sizing: border-box;
  color: #211F40;
  font-family: Montserrat, sans-serif;
}

.salud-dashboard *,
.salud-dashboard-gate * {
  box-sizing: border-box;
}

.salud-dashboard {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  gap: 28px;
  width: min(100%, 1240px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 32px 24px 72px;
  align-items: start;
}

.salud-dashboard > :not(.salud-dashboard-tabs) {
  grid-column: 2;
}

.salud-dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 144px;
  margin: 0;
  padding: 28px 32px;
  background: #FFFFFF;
  border: 1px solid #D6E0EA;
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(45, 156, 219, .09);
}

.salud-dashboard-header h1 {
  margin: 6px 0 9px;
  color: #211F40;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.08;
}

.salud-dashboard-header p,
.salud-dashboard-section-head p {
  max-width: 660px;
  margin: 0;
  color: #667085;
  font-size: 15px;
  line-height: 1.65;
}

.salud-dashboard-kicker {
  color: #2D9CDB;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.salud-dashboard-header-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.salud-dashboard-primary,
.salud-dashboard-secondary,
.salud-dashboard-link-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 50px;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}

.salud-dashboard-primary {
  color: #211F40;
  background: #2BB673;
  border: 1px solid #2BB673;
  box-shadow: 0 8px 20px rgba(43, 182, 115, .18);
}

.salud-dashboard-primary:hover {
  color: #211F40;
  background: #2BB673;
  box-shadow: 0 11px 24px rgba(43, 182, 115, .24);
  transform: translateY(-2px);
}

.salud-dashboard-secondary {
  color: #211F40;
  background: #FFFFFF;
  border: 1px solid #2D9CDB;
}

.salud-dashboard-secondary:hover {
  color: #211F40;
  background: #F7FBFE;
  transform: translateY(-1px);
}

.salud-dashboard-primary:active,
.salud-dashboard-secondary:active,
.salud-dashboard-link-danger:active {
  transform: translateY(1px);
}

.salud-dashboard-primary:focus-visible,
.salud-dashboard-secondary:focus-visible,
.salud-dashboard-link-danger:focus-visible,
.salud-dashboard-tabs a:focus-visible,
.salud-dashboard-day input:focus-visible {
  outline: 3px solid rgba(45, 156, 219, .3);
  outline-offset: 3px;
}

.salud-dashboard-tabs {
  position: sticky;
  top: 24px;
  grid-column: 1;
  grid-row: 1 / span 12;
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
  margin: 0;
  padding: 14px;
  background: #FFFFFF;
  border: 1px solid #D6E0EA;
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(45, 156, 219, .07);
}

.salud-dashboard-tabs::before {
  content: "Mi espacio";
  display: block;
  padding: 10px 12px 13px;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.salud-dashboard-tabs a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 11px 15px 11px 42px;
  color: #667085;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.salud-dashboard-tabs a::before {
  position: absolute;
  left: 16px;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 4px;
  content: "";
  opacity: .82;
}

.salud-dashboard-tabs a:nth-child(3)::before {
  border-radius: 50%;
}

.salud-dashboard-tabs a:nth-child(4)::before {
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px #FFFFFF;
}

.salud-dashboard-tabs a:nth-child(5)::before {
  border-radius: 50% 50% 5px 5px;
}

.salud-dashboard-tabs a:hover {
  color: #211F40;
  background: #F7FBFE;
  border-color: #D6E0EA;
}

.salud-dashboard-tabs a.is-active {
  color: #211F40;
  background: #2D9CDB;
  border-color: #2D9CDB;
  box-shadow: 0 8px 20px rgba(45, 156, 219, .18);
}

.salud-dashboard-tabs a.is-active::before {
  box-shadow: inset 0 0 0 3px #2D9CDB;
}

.salud-dashboard-notice {
  margin: 0;
  padding: 14px 17px;
  color: #211F40;
  border-radius: 12px;
  font-weight: 700;
}

.salud-dashboard-notice.is-success {
  background: #F7FBFE;
  border: 1px solid #2BB673;
}

.salud-dashboard-notice.is-error {
  background: #FFFFFF;
  border: 1px solid #2D9CDB;
}

.salud-dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.salud-dashboard-metrics article {
  position: relative;
  min-height: 144px;
  overflow: hidden;
  padding: 25px 24px 22px;
  background: #FFFFFF;
  border: 1px solid #D6E0EA;
  border-radius: 20px;
}

.salud-dashboard-metrics article::after {
  position: absolute;
  right: -22px;
  bottom: -38px;
  width: 94px;
  height: 94px;
  background: #F7FBFE;
  border: 1px solid #D6E0EA;
  border-radius: 50%;
  content: "";
}

.salud-dashboard-metrics strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 14px;
  color: #2D9CDB;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}

.salud-dashboard-metrics span {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 150px;
  color: #667085;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.salud-dashboard-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 8px 0 0;
  padding-top: 4px;
}

.salud-dashboard-section-head h2 {
  margin: 0 0 7px;
  color: #211F40;
  font-size: clamp(23px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.15;
}

.salud-dashboard-section-head > a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 15px;
  color: #211F40;
  background: #FFFFFF;
  border: 1px solid #2D9CDB;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.salud-dashboard-section-head > a:hover {
  color: #211F40;
  background: #F7FBFE;
}

.salud-dashboard-bookings {
  display: grid;
  gap: 12px;
}

.salud-dashboard-booking {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 22px;
  background: #FFFFFF;
  border: 1px solid #D6E0EA;
  border-radius: 20px;
  transition: border-color .15s ease, transform .15s ease;
}

.salud-dashboard-booking:hover {
  border-color: #2D9CDB;
  transform: translateY(-1px);
}

.salud-dashboard-booking-date {
  display: grid;
  gap: 5px;
  padding-right: 20px;
  border-right: 1px solid #D6E0EA;
}

.salud-dashboard-booking-date strong {
  color: #211F40;
  font-size: 14px;
  line-height: 1.35;
}

.salud-dashboard-booking-date span {
  color: #667085;
  font-size: 14px;
}

.salud-dashboard-booking-main h3 {
  margin: 8px 0 11px;
  color: #211F40;
  font-size: 19px;
  line-height: 1.2;
}

.salud-dashboard-booking-main dl {
  display: flex;
  gap: 28px;
  margin: 0;
}

.salud-dashboard-booking-main dl div {
  display: grid;
  gap: 3px;
}

.salud-dashboard-booking-main dt {
  color: #667085;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.salud-dashboard-booking-main dd {
  margin: 0;
  color: #211F40;
  font-size: 14px;
}

.salud-status {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 5px 11px;
  color: #211F40;
  background: #F7FBFE;
  border: 1px solid #D6E0EA;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
}

.salud-status.is-approved {
  border-color: #2BB673;
}

.salud-status.is-pending {
  border-color: #2D9CDB;
}

.salud-status.is-canceled,
.salud-status.is-rejected {
  background: #EAEEF5;
}

.salud-dashboard-booking-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.salud-dashboard-booking-actions form {
  margin: 0;
}

.salud-dashboard-booking-actions .salud-dashboard-primary,
.salud-dashboard-booking-actions .salud-dashboard-link-danger {
  min-height: 40px;
  padding: 8px 15px;
  font-size: 13px;
}

.salud-dashboard-link-danger {
  color: #211F40;
  background: #FFFFFF;
  border: 1px solid #D6E0EA;
  box-shadow: none;
}

.salud-dashboard-link-danger:hover {
  color: #211F40;
  background: #EAEEF5;
  border-color: #2D9CDB;
}

.salud-dashboard-empty,
.salud-dashboard-gate {
  position: relative;
  overflow: hidden;
  padding: 42px 30px;
  text-align: center;
  background: #FFFFFF;
  border: 1px solid #D6E0EA;
  border-radius: 20px;
}

.salud-dashboard-empty::before {
  display: block;
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  background: #F7FBFE;
  border: 1px solid #2D9CDB;
  border-radius: 50%;
  box-shadow: inset 0 0 0 12px #FFFFFF;
  content: "";
}

.salud-dashboard-empty h3,
.salud-dashboard-gate h2 {
  margin: 0 0 9px;
  color: #211F40;
  font-size: 21px;
  line-height: 1.2;
}

.salud-dashboard-empty p,
.salud-dashboard-gate p {
  max-width: 560px;
  margin: 0 auto 22px;
  color: #667085;
  line-height: 1.65;
}

.salud-dashboard-gate {
  max-width: 680px;
  margin: 64px auto;
}

.salud-dashboard-schedule {
  padding: 10px 24px 25px;
  background: #FFFFFF;
  border: 1px solid #D6E0EA;
  border-radius: 20px;
}

.salud-dashboard-day {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) 180px 180px;
  gap: 20px;
  align-items: end;
  padding: 17px 0;
  border-bottom: 1px solid #D6E0EA;
}

.salud-dashboard-day:last-of-type {
  border-bottom: 0;
}

.salud-dashboard-day:has(.salud-dashboard-day-toggle input:checked) {
  background: #F7FBFE;
}

.salud-dashboard-day label {
  display: grid;
  gap: 7px;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

.salud-dashboard-day-toggle {
  grid-template-columns: auto 1fr !important;
  align-items: center;
  color: #211F40 !important;
  font-size: 15px !important;
}

.salud-dashboard-day input[type="checkbox"] {
  width: 19px;
  height: 19px;
  accent-color: #2BB673;
}

.salud-dashboard-day input[type="time"] {
  width: 100%;
  min-height: 46px;
  padding: 9px 12px;
  color: #211F40;
  background: #FFFFFF;
  border: 1px solid #D6E0EA;
  border-radius: 12px;
  font-family: Montserrat, sans-serif;
}

.salud-dashboard-day input[type="time"]:focus {
  border-color: #2D9CDB;
  outline: 3px solid rgba(45, 156, 219, .18);
}

.salud-dashboard-schedule > .salud-dashboard-primary {
  margin-top: 22px;
}

.salud-dashboard-profile {
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid #D6E0EA;
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(45, 156, 219, .07);
}

.salud-dashboard-profile-identity {
  display: grid;
  grid-template-columns: 164px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  background: #F7FBFE;
  border-bottom: 1px solid #D6E0EA;
}

.salud-dashboard-profile-identity img {
  width: 164px;
  height: 164px;
  object-fit: cover;
  border: 4px solid #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(45, 156, 219, .14);
}

.salud-dashboard-profile-identity h2 {
  margin: 12px 0 8px;
  color: #211F40;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.08;
}

.salud-dashboard-profile-identity p {
  margin: 0;
  color: #667085;
  font-size: 16px;
  line-height: 1.6;
}

.salud-dashboard-profile-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 10px 28px;
}

.salud-dashboard-profile-facts div {
  padding: 18px 0;
  border-bottom: 1px solid #D6E0EA;
}

.salud-dashboard-profile-facts div:nth-child(odd) {
  padding-right: 24px;
}

.salud-dashboard-profile-facts div:nth-child(even) {
  padding-left: 24px;
}

.salud-dashboard-profile-facts dt {
  margin-bottom: 5px;
  color: #667085;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.salud-dashboard-profile-facts dd {
  margin: 0;
  color: #211F40;
  font-weight: 600;
  line-height: 1.5;
}

.salud-dashboard-profile-section {
  margin: 0 28px;
  padding: 24px 0;
  border-top: 1px solid #D6E0EA;
}

.salud-dashboard-profile-section h3 {
  margin: 0 0 9px;
  color: #211F40;
  font-size: 19px;
  line-height: 1.15;
}

.salud-dashboard-profile-section p {
  max-width: 72ch;
  margin: 0;
  color: #667085;
  line-height: 1.7;
}

@media (max-width: 940px) {
  .salud-dashboard {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 24px;
  }

  .salud-dashboard > :not(.salud-dashboard-tabs),
  .salud-dashboard-tabs {
    grid-column: 1;
  }

  .salud-dashboard-tabs {
    position: static;
    grid-row: auto;
    flex-direction: row;
    gap: 7px;
    overflow-x: auto;
    padding: 7px;
    border-radius: 50px;
    scrollbar-width: thin;
  }

  .salud-dashboard-tabs::before {
    display: none;
  }

  .salud-dashboard-tabs a {
    flex: 1 0 auto;
    justify-content: center;
    min-width: 132px;
    padding: 10px 16px;
    border-radius: 50px;
  }

  .salud-dashboard-tabs a::before {
    position: static;
    flex: 0 0 14px;
    margin-right: 9px;
  }

  .salud-dashboard-header {
    grid-row: 1;
  }

  .salud-dashboard-tabs {
    grid-row: 2;
  }

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

  .salud-dashboard-booking {
    grid-template-columns: 140px minmax(0, 1fr);
  }

  .salud-dashboard-booking-actions {
    grid-column: 2;
  }
}

@media (max-width: 700px) {
  .salud-dashboard {
    gap: 17px;
    padding: 18px 14px 52px;
  }

  .salud-dashboard-header {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
    padding: 24px 22px;
  }

  .salud-dashboard-header-actions,
  .salud-dashboard-header-actions a {
    width: 100%;
  }

  .salud-dashboard-metrics {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .salud-dashboard-metrics article {
    min-height: 108px;
    padding: 21px;
  }

  .salud-dashboard-metrics strong {
    font-size: 34px;
    margin-bottom: 9px;
  }

  .salud-dashboard-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .salud-dashboard-booking {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 18px;
  }

  .salud-dashboard-booking-date {
    padding: 0 0 14px;
    border-right: 0;
    border-bottom: 1px solid #D6E0EA;
  }

  .salud-dashboard-booking-main dl {
    flex-direction: column;
    gap: 10px;
  }

  .salud-dashboard-booking-actions {
    grid-column: 1;
    justify-content: flex-start;
  }

  .salud-dashboard-day {
    grid-template-columns: 1fr 1fr;
  }

  .salud-dashboard-day-toggle {
    grid-column: 1 / -1;
  }

  .salud-dashboard-profile-identity {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .salud-dashboard-profile-identity img {
    width: 132px;
    height: 132px;
  }

  .salud-dashboard-profile-facts {
    grid-template-columns: 1fr;
    padding: 8px 22px;
  }

  .salud-dashboard-profile-facts div:nth-child(odd),
  .salud-dashboard-profile-facts div:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
  }

  .salud-dashboard-profile-section {
    margin: 0 22px;
  }
}

@media (max-width: 560px) {
  .salud-dashboard {
    width: 100%;
    max-width: 100%;
    padding-right: 12px;
    padding-left: 12px;
  }

  .salud-dashboard > * {
    min-width: 0;
  }

  .salud-dashboard-header {
    gap: 18px;
    padding: 22px 18px;
  }

  .salud-dashboard-header h1 {
    overflow-wrap: anywhere;
    font-size: clamp(28px, 8vw, 34px);
  }

  .salud-dashboard-header p {
    font-size: 14px;
    line-height: 1.55;
  }

  .salud-dashboard-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    padding: 8px;
    border-radius: 20px;
  }

  .salud-dashboard-tabs a {
    width: 100%;
    min-width: 0;
    padding: 10px 8px;
    white-space: normal;
  }

  .salud-dashboard-tabs a::before {
    display: none;
  }

  .salud-dashboard-metrics article {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-height: 88px;
    padding: 18px;
  }

  .salud-dashboard-metrics strong {
    margin: 0;
    font-size: 32px;
  }

  .salud-dashboard-metrics span {
    max-width: none;
  }

  .salud-dashboard-section-head > a {
    width: 100%;
    justify-content: center;
  }

  .salud-dashboard-booking,
  .salud-dashboard-booking-main,
  .salud-dashboard-booking-actions,
  .salud-dashboard-profile {
    min-width: 0;
  }

  .salud-dashboard-booking-main h3,
  .salud-dashboard-booking-main dd,
  .salud-dashboard-profile-identity h2,
  .salud-dashboard-profile-facts dd {
    overflow-wrap: anywhere;
  }

  .salud-dashboard-booking-main dl {
    display: grid;
    grid-template-columns: 1fr;
  }

  .salud-dashboard-booking-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .salud-dashboard-booking-actions form,
  .salud-dashboard-booking-actions button {
    width: 100%;
  }

  .salud-dashboard-day input[type="time"] {
    min-width: 0;
  }

  .salud-dashboard-profile-identity {
    padding: 20px 18px;
  }

  .salud-dashboard-profile-identity img {
    width: 112px;
    height: 112px;
  }

  .salud-dashboard-profile-identity h2 {
    font-size: 27px;
  }

  .salud-dashboard-profile-facts {
    padding-right: 18px;
    padding-left: 18px;
  }

  .salud-dashboard-profile-section {
    margin-right: 18px;
    margin-left: 18px;
  }
}

@media (max-width: 460px) {
  .salud-dashboard-tabs a {
    min-width: 0;
    padding: 9px 7px;
    font-size: 12px;
  }

  .salud-dashboard-day {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .salud-dashboard-day-toggle {
    grid-column: auto;
  }

  .salud-dashboard-schedule {
    padding: 8px 14px 20px;
  }

  .salud-dashboard-schedule > .salud-dashboard-primary,
  .salud-dashboard-booking-actions,
  .salud-dashboard-booking-actions form,
  .salud-dashboard-booking-actions button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .salud-dashboard-primary,
  .salud-dashboard-secondary,
  .salud-dashboard-link-danger,
  .salud-dashboard-booking {
    transition: none;
  }
}