/**
 * @file
 * Tarjeta de Servicio horizontal — Figma 1032:10043.
 *
 * Layout horizontal: imagen (358px) + texto (flex 1).
 * Tabs pills para filtrar, una card visible a la vez.
 *
 * Figma specs:
 *   - Card: horizontal, gap 20, bg white, stroke #d5dfeb, radius 18
 *   - Imagen: 358×370, pad 15, radius 18
 *   - Texto: flex 1, pad 20/20/15/15, vertical, gap 15
 *   - Título: Manrope Bold 700 22px #344054
 *   - Descripción: Montserrat 400 16px #344054
 *   - Tags: pills #0e4fbe, text white, radius 50, Montserrat Bold 700 14px
 *   - Tabs: pills, radius 50, Montserrat Medium 500 14px
 *     - Activo: bg #0e4fbe, text white
 *     - Inactivo: bg white, stroke #d5dfeb, text #344054
 */

/* ==========================================================================
   Tabs container
   ========================================================================== */
.service-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-bottom: 20px;
}

.service-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid #d5dfeb;
  border-radius: 8px;
  background: #fff;
  color: #344054;
  font-family: var(--cp-font-body);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.service-tab:hover {
  border-color: #00b9ea;
  color: #00b9ea;
}

.service-tab:focus-visible {
  outline: 3px solid #00b9ea;
  outline-offset: 2px;
}

.service-tab--active {
  background: #0e4fbe;
  border-color: #0e4fbe;
  color: #fff;
}

.service-tab--active:hover {
  background: #0c43a0;
  border-color: #0c43a0;
  color: #fff;
}

/* ==========================================================================
   Cards container
   ========================================================================== */
.service-cards-container {
  width: 100%;
}

/* ==========================================================================
   Card horizontal — imagen rectangular con margen proporcional (Figma 1032:10043)
   Desktop: pad 15, gap 15; imagen 400×260 rectangular con margen izq/sup
   proporcional, ya no flush absoluto. Card radius 16 vía overflow:hidden.
   ========================================================================== */
.service-card {
  display: flex;
  gap: 15px;
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 15px;
  border: 1px solid #d5dfeb;
  border-radius: 16px;
  background: #fff;
  box-sizing: border-box;
  overflow: hidden;
  align-items: stretch;
}

/* ==========================================================================
   Imagen — rectangular 400×260 con margen izq/sup proporcional
   400px ancho, 260px alto, border-radius 12 para acompañar el card radius
   16 con el margen de 15px. Misma forma para las 5 cards, escalable.
   PUNTO CONGELADO Ruta Celeste (desktop+mobile) 2026-08-28: no modificar
   sin alerta previa + documentar como ajuste a su punto.
   ========================================================================== */
.service-card__media {
  position: relative;
  flex: 0 0 400px;
  width: 400px;
  min-width: 400px;
  max-width: 400px;
  height: auto;
  min-height: 260px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  line-height: 0;
  border-radius: 12px;
  overflow: hidden;
  align-self: stretch;
}

.service-card__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center;
}

/* ==========================================================================
   Texto — flex 1, contiene todo sin desbordar
   ========================================================================== */
.service-card__text {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 12px;
  padding: 10px 0;
  min-width: 0;
  justify-content: center;
}

.service-card__description {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 8px;
}

.service-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.service-card__title {
  margin: 0;
  color: #344054;
  font-family: var(--cp-font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.3;
}

.service-card__icons {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.service-card__icon:focus-visible {
  outline: 3px solid #00b9ea;
  outline-offset: 2px;
  border-radius: 50%;
}

.service-card__icon img {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.service-card__body {
  color: #344054;
  font-family: var(--cp-font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.service-card__body p {
  margin: 0;
}

.service-card__body a {
  color: #0e4fbe;
  text-decoration: underline;
}

.service-card__body a:hover {
  color: #00b9ea;
}

/* ==========================================================================
   Tags — pills #0e4fbe, radius 50
   ========================================================================== */
.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.service-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 50px;
  background: #e8f0fe;
  color: #0e4fbe;
  border: 1px solid #0e4fbe;
  font-family: var(--cp-font-body);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

/* ==========================================================================
   Archivo descargable — Figma Archivo (1018:8822).
   Container: 695×69, white, radius 15, pad 10, gap 20, horizontal.
   PDF icon: 47×47, #D93542 bg, radius 10, pad 10.
   Info: vertical, gap 4. Title Montserrat 700 12px #344054.
   Desc: Montserrat 500 14px #667085.
   Button: 44×44, #0e4fbe bg, radius 50.
   ========================================================================== */
.service-card__file {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px;
  border: 1px solid #d5dfeb;
  border-radius: 15px;
  background: #fff;
}

.service-card__file-info {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.service-card__file-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 47px;
  height: 47px;
  padding: 10px;
  border-radius: 10px;
  background: #d93542;
  color: #fff;
  font-family: var(--cp-font-body);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.service-card__file-details {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.service-card__file-title {
  color: #344054;
  font-family: var(--cp-font-body);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.service-card__file-desc {
  color: #667085;
  font-family: var(--cp-font-body);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-card__file-btn {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #0e4fbe;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s;
}

.service-card__file-btn:hover {
  background: #0c43a0;
}

.service-card__file-btn:focus-visible {
  outline: 3px solid #00b9ea;
  outline-offset: 2px;
}

/* ==========================================================================
   Subcategorías internas — Figma Apoyo diagnóstico (1018:8822).
   Tabs: Montserrat Bold 700 14px, activo #0e4fbf, inactivo #344054.
   Procedure tags: #0e4fbe bg, radius 5, grid 2 cols.
   ========================================================================== */
.service-card__inner {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.service-card__inner-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 0;
  border-bottom: 1px solid #d5dfeb;
}

.service-card__inner-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #344054;
  font-family: var(--cp-font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
  flex-shrink: 1;
  min-width: 0;
}

.service-card__inner-tab:hover {
  color: #0e4fbe;
}

.service-card__inner-tab:focus-visible {
  outline: 2px solid #0e4fbe;
  outline-offset: 2px;
}

.service-card__inner-tab--active {
  color: #0e4fbe;
  border-bottom-color: #0e4fbe;
}

.service-card__empty-notice {
  grid-column: 1 / -1;
  padding: 24px 0;
  text-align: center;
  color: #667085;
  font-family: var(--cp-font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.service-card__procedures-label {
  grid-column: 1 / -1;
  margin: 0;
  color: #667085;
  font-family: var(--cp-font-body);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
}

.service-card__procedures {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.service-card__procedures.is-hidden {
  display: none;
}

.service-card__procedure-tag {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 20px;
  border: 1px solid rgba(14, 79, 190, 0.35);
  border-left: 3px solid #0e4fbe;
  border-radius: 5px;
  background: rgba(14, 79, 190, 0.05);
  color: #0e4fbe;
  font-family: var(--cp-font-body);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
}

.service-card__procedure-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-left: 6px;
  color: #0e4fbe;
  vertical-align: middle;
}

.service-card__procedure-icon svg {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   Menu style for Medicina Nuclear / Laboratorio tabs.
   ========================================================================== */
.service-card__procedures--menu {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #f5f5f5;
  border-radius: 10px;
  padding: 5px;
}

.service-card__procedure-tag--menu {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  gap: 5px;
  border: none;
  border-left: none;
  border-radius: 8px;
  background: transparent;
  color: #404040;
  font-family: var(--cp-font-body);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1;
  cursor: default;
}

/* ==========================================================================
   Botón ojo en procedure tag.
   ========================================================================== */
.service-card__eye-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
  line-height: 1;
  vertical-align: middle;
}

.service-card__eye-btn:focus-visible {
  outline: 3px solid #00b9ea;
  outline-offset: 2px;
  border-radius: 4px;
}

.service-card__eye-btn svg {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   Modal de archivos descargables — Figma 1038:10512 "Modal anexas".
   ========================================================================== */
.service-files-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-files-modal[hidden] {
  display: none;
}

.service-files-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.service-files-modal__dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 678px;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 40px);
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(47, 47, 96, 0.25);
  overflow: hidden;
}

.service-files-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  height: 56px;
  padding: 0 16px;
  border-bottom: 1px solid #dfe0e2;
  background: #fff;
}

.service-files-modal__title {
  margin: 0;
  color: #344054;
  font-family: var(--cp-font-body);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
}

.service-files-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: none;
  color: #b4b4b4;
  cursor: pointer;
}

.service-files-modal__close:hover {
  color: #667085;
}

.service-files-modal__close:focus-visible {
  outline: 3px solid #00b9ea;
  outline-offset: 2px;
  border-radius: 4px;
}

.service-files-modal__close svg {
  width: 24px;
  height: 24px;
}

.service-files-modal__content {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-files-modal__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex: 0 0 auto;
  height: 69px;
  padding: 0 12px;
  border: 1px solid #d5dfeb;
  border-radius: 15px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.service-files-modal__item:hover {
  background: #f5f8fa;
  border-color: #0e4fbe;
}

.service-files-modal__item:focus-visible {
  outline: 3px solid #00b9ea;
  outline-offset: 2px;
}

.service-files-modal__item-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
}

.service-files-modal__item-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 47px;
  height: 47px;
  border-radius: 10px;
  background: #d93542;
  color: #fff;
  font-family: var(--cp-font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
}

.service-files-modal__item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
}

.service-files-modal__item-label {
  color: #344054;
  font-family: var(--cp-font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.service-files-modal__item-name {
  color: #667085;
  font-family: var(--cp-font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-files-modal__item-btn {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0e4fbe;
  color: #fff;
}

.service-files-modal__item-btn svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
}

.service-files-modal__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  height: 76px;
  padding: 0 16px;
  border-top: 1px solid #dfe0e2;
}

.service-files-modal__btn-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border: none;
  border-radius: 10px;
  background: #0e4fbe;
  color: #fff;
  font-family: var(--cp-font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.service-files-modal__btn-close:hover {
  background: #0a3d8f;
}

.service-files-modal__btn-close:focus-visible {
  outline: 3px solid #00b9ea;
  outline-offset: 2px;
}

/* ==========================================================================
   Responsive — Tableta (≤900px): card vertical, imagen flush top rectangular
   ========================================================================== */
@media (max-width: 900px) {
  .service-card {
    flex-direction: column;
    min-height: auto;
    gap: 0;
    padding: 0;
    overflow: hidden;
  }

  .service-card__media {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 280px;
    min-height: 280px;
    padding: 0;
    border-radius: 0;
    overflow: hidden;
  }

  .service-card__image {
    min-height: 280px;
    border-radius: 0;
  }

  .service-card__text {
    padding: 20px;
  }

  .service-tabs {
    gap: 10px;
  }

  .service-tab {
    padding: 8px 10px;
    font-size: 0.8125rem;
  }

  .service-card__procedures {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Responsive — Móvil (≤700px) — imagen flush top rectangular
   ========================================================================== */
@media (max-width: 700px) {
  .service-card {
    flex-direction: column;
    gap: 0;
    padding: 0;
    overflow: hidden;
  }

  .service-card__media {
    flex: none;
    min-width: 0;
    width: 100%;
    max-width: none;
    height: 240px;
    min-height: 240px;
    padding: 0;
    box-sizing: border-box;
    border-radius: 0;
    overflow: hidden;
  }

  .service-card__image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 240px;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
  }

  .service-card__text {
    padding: 16px;
    gap: 15px;
    min-width: 0;
  }

  .service-card__title {
    font-size: 1.375rem;
    line-height: 1.366;
  }

  .service-card__body {
    font-size: 1rem;
    line-height: 1.22;
  }

  .service-tabs {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    padding-bottom: 4px;
  }

  .service-tabs::-webkit-scrollbar {
    display: none;
  }

  .service-tab {
    flex-shrink: 0;
    padding: 8px 10px;
    font-size: 0.8125rem;
  }

  .service-card__inner-tabs {
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .service-card__inner-tabs::-webkit-scrollbar {
    display: none;
  }

  .service-card__inner-tab {
    padding: 10px 12px;
    font-size: 0.875rem;
  }

  .service-card__tags {
    flex-direction: column;
    gap: 15px;
  }

  .service-card__tag {
    width: 100%;
    justify-content: center;
    padding: 10px 20px;
    font-size: 0.875rem;
    background: #e8f0fe;
    color: #0e4fbe;
    border: 1px solid #0e4fbe;
  }

  .service-card__procedures {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .service-modal__dialog {
    width: min(90vw, 29rem);
    max-height: 80vh;
  }

  .service-files-modal__dialog {
    width: min(95vw, 42.375rem);
    max-height: 80vh;
  }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .service-tab {
    transition: none;
  }
}

/* ==========================================================================
   Modal responsive — Móvil (≤700px)
   ========================================================================== */
@media (max-width: 700px) {
  .service-files-modal__dialog {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    border-radius: 12px;
  }

  .service-files-modal__header {
    height: 48px;
    padding: 0 12px;
  }

  .service-files-modal__title {
  font-size: 0.8125rem;
  }

  .service-files-modal__content {
    padding: 10px;
    gap: 8px;
  }

  .service-files-modal__item {
    height: 60px;
    padding: 0 10px;
    border-radius: 12px;
  }

  .service-files-modal__item-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 0.75rem;
  }

  .service-files-modal__item-name {
    font-size: 0.75rem;
  }

  .service-files-modal__item-btn {
    width: 38px;
    height: 38px;
  }

  .service-files-modal__item-btn svg {
    width: 20px;
    height: 20px;
  }

  .service-files-modal__footer {
    height: 64px;
  }
}

/* ==========================================================================
   Modales Horarios / Procedimientos — Figma 1141-12873, 1156-13592
   465×500, white, radius 15, shadow blur 20
   ========================================================================== */
.service-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.service-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.service-modal__dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 465px;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 40px);
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(47, 47, 96, 0.25);
  overflow: hidden;
}

.service-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  min-height: 56px;
  padding: 16px;
  border-bottom: 1px solid #dfe0e2;
  background: #fff;
}

.service-modal__title {
  margin: 0;
  color: #344054;
  font-family: var(--cp-font-body);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}

.service-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: none;
  color: #b3b3b3;
  cursor: pointer;
  flex-shrink: 0;
}

.service-modal__close:hover {
  color: #667085;
}

.service-modal__close:focus-visible {
  outline: 3px solid #00b9ea;
  outline-offset: 2px;
  border-radius: 4px;
}

.service-modal__body {
  flex: 1 1 auto;
  overflow: hidden;
}

.service-modal__scroll {
  height: 100%;
  max-height: 368px;
  overflow-y: auto;
  padding: 16px;
}

.service-modal__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  min-height: 76px;
  padding: 16px;
  border-top: 1px solid #dfe0e2;
}

.service-modal__btn-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border: none;
  border-radius: 10px;
  background: #0e4fbe;
  color: #fff;
  font-family: var(--cp-font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.service-modal__btn-close:hover {
  background: #0a3d8f;
}

.service-modal__btn-close:focus-visible {
  outline: 3px solid #00b9ea;
  outline-offset: 2px;
}

/* Section title inside schedule modal */
.service-modal__section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #344054;
  margin: 0 0 16px;
}

/* Schedule cards (Horarios modal) */
.service-modal__schedule-card {
  border: 1px solid #cbd3dc;
  border-radius: 15px;
  overflow: hidden;
}

.service-modal__schedule-card + .service-modal__schedule-card {
  margin-top: 20px;
}

.service-modal__schedule-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background: rgba(14, 79, 190, 0.1);
  border: 1px solid #0e4fbe;
}

.service-modal__schedule-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.service-modal__schedule-icon svg {
  width: 24px;
  height: 24px;
}

.service-modal__schedule-name {
  color: #0e4fbe;
  font-family: var(--cp-font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.service-modal__schedule-body {
  padding: 15px;
}

.service-modal__schedule-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
}

.service-modal__schedule-clock {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.service-modal__schedule-day {
  color: #344054;
  font-family: var(--cp-font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.service-modal__schedule-time {
  color: #344054;
  font-family: var(--cp-font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3;
}

/* Procedures list (Procedimientos modal) */
.service-modal__procedures-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.service-modal__procedure-item {
  padding: 10px 15px;
  border: 1px solid rgba(14, 79, 190, 0.05);
  border-radius: 5px;
  background: rgba(14, 79, 190, 0.05);
  color: #0e4fbe;
  font-family: var(--cp-font-body);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
}
