.cie-lab-booking--placeholder {
  opacity: 0.75;
}

.cie-lab-booking__errors {
  border: 1px solid #fecaca;
  background: #fff1f2;
  padding: 12px;
  border-radius: 6px;
  margin: 12px 0;
}

.cie-lab-booking__success {
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  padding: 16px;
  border-radius: 10px;
}

.cie-lab-booking__success-title {
  font-weight: 700;
  color: #14532d;
  margin-bottom: 6px;
}

.cie-lab-booking__success-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.cie-btn {
  display: inline-block;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.2);
  background: #fff;
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}

.cie-btn--primary {
  background: #0ea5e9;
  border-color: #0284c7;
  color: #fff;
}

.cie-table {
  width: 100%;
  border-collapse: separate; /* Cambia de colapsado a separado */
  border-spacing: 12px; 
  text-align:left;
}

.cie-table--my-bookings td {
  padding-top: 12px;
  padding-bottom: 12px;
}

.cie-table--my-bookings td {
  padding-top: 12px;
  padding-bottom: 12px;
}

.cie-table th,
.cie-table td {
  padding: 10px 10px;
  border: 1px solid #eef0f2 !important;
  border-radius:10px;
}
.cie-table tr {
    background-color: #fafafa !important;
}

.cie-table tr:hover, .cie-table tr:hover>td, .cie-table tr:hover>th  {
    background-color: #fafafa !important;
}

.cie-table tbody>tr:nth-child(odd)>td, .cie-table tbody>tr:nth-child(odd)>th {
    background-color: #fafafa !important;
}

.cie-table__actions {
  white-space: nowrap;
}

.cie-table__actions form {
  display: inline-block;
  margin: 0 0 0 6px;
}

.cie-table thead th {
  text-align: left;
  font-weight: 700;
  color: #0f172a;
  background: #f8fafc;
  border-bottom: 1px solid #cbd5e1;
}

.cie-status-tag {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid transparent;
}

.cie-status-tag--pending {
  background: #fffbeb;
  border-color: #f59e0b;
  color: #92400e;
}
.cie-status-tag--approved {
  background: #f0fdf4;
  border-color: #22c55e;
  color: #14532d;
}
.cie-status-tag--rejected {
  background: #fff1f2;
  border-color: #ef4444;
  color: #7f1d1d;
}
.cie-status-tag--changes {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #1e3a8a;
}
.cie-status-tag--cancelled {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #334155;
}

.cie-booking-list-item {
  position: relative;
  padding-right: 190px;
}

.cie-booking-list-item__status {
  position: absolute;
  top: 0;
  right: 0;
}

.cie-booking-list-item__status-meta {
  margin-top: 6px;
  display: grid;
  gap: 4px;
}

.cie-booking-list-item__status-meta small {
  color: #64748b;
  font-size: 12px;
}

.cie-native-tabs {
  margin-top: 10px;
}

.cie-inline-tabs__bar {
  display: flex;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.cie-inline-tabs__tab {
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 800;
  font-size: 1rem;
  user-select: none;
  color: gray !important;
  background: white !important;
  border-radius: 0 !important;
  border: none !important;
}

.cie-inline-tabs__tab.is-active {
  border-bottom: 4px solid black !important;
  color: black !important;
}

.cie-inline-tabs__tab:hover {
  background: #eeeeee !important;
}

.cie-inline-tabs__select {
  margin-left: auto;
  display: none;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.2);
  background: #fff;
}

.cie-inline-tabs__panel {
  display: none;
}

.cie-inline-tabs__panel.is-active {
  display: block;
}

@media (max-width: 640px) {
  .cie-inline-tabs__tab {
    display: none;
  }
  .cie-inline-tabs__select {
    display: block;
  }
}

.cie-native-tabs__radio {
  position: absolute;
  left: -9999px;
}

.cie-native-tabs__bar {
  display: flex;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 8px;
}

.cie-native-tabs__tab {
  border: 1px solid rgba(15, 23, 42, 0.2);
  background: #fff;
  color: #0f172a;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 800;
  font-size: 13px;
  user-select: none;
}

.cie-native-tabs__panel {
  padding-top: 10px;
}

/* CSS-only selection state */
.cie-native-tabs__panel--current,
.cie-native-tabs__panel--history {
  display: none;
}

/* When current checked */
.cie-native-tabs__radio:first-of-type:checked ~ .cie-native-tabs__bar label[for$="-current"] {
  background: #0ea5e9;
  border-color: #0284c7;
  color: #fff;
}
.cie-native-tabs__radio:first-of-type:checked ~ .cie-native-tabs__panel--current {
  display: block;
}

/* When history checked */
.cie-native-tabs__radio:nth-of-type(2):checked ~ .cie-native-tabs__bar label[for$="-history"] {
  background: #0ea5e9;
  border-color: #0284c7;
  color: #fff;
}
.cie-native-tabs__radio:nth-of-type(2):checked ~ .cie-native-tabs__panel--history {
  display: block;
}

.cie-native-accordion {
  display: none;
  margin-top: 10px;
}

.cie-native-accordion details {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  margin-bottom: 10px;
}

.cie-native-accordion summary {
  cursor: pointer;
  font-weight: 800;
  padding: 10px 12px;
  list-style: none;
}

.cie-native-accordion summary::-webkit-details-marker {
  display: none;
}

.cie-native-accordion__panel {
  padding: 0 12px 12px 12px;
}

@media (max-width: 640px) {
  .cie-native-tabs {
    display: none;
  }
  .cie-native-accordion {
    display: block;
  }
}

.cie-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  padding: 14px 14px 12px;
  max-width: 420px;
}

.cie-card__title {
  color: #334155;
  font-weight: 700;
}

.cie-card__value {
  font-size: 34px;
  line-height: 1.1;
  font-weight: 800;
  margin-top: 8px;
  color: #0f172a;
}

.cie-card__actions {
  margin-top: 12px;
}
.cie-lab-booking h3 {
  display:none;
}

.cie-lab-booking__hint {
  margin: 0 0 8px 0;
  color: #334155;
}

.cie-edit-reservation-info {
  border-left: 4px solid #ffbf00;
  background: #fff4d4;
  padding: 10px 12px;
  margin: 10px 0 14px;
  display: grid;
  gap: 6px;
}

.cie-lab-booking__flow {
  display: grid;
  gap: 12px;
}

.cie-lab-booking__steps-indicator {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 2px;
}

.cie-lab-booking__steps-indicator span {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  border: 1px solid #dbe3ef;
  background: #f8fafc;
  border-radius: 999px;
  padding: 4px 9px;
}

.cie-step-card legend {
  font-weight: 800;
    font-size: 12px;
    color: #0f172a;
    padding: 8px 0px;
}

.cie-step-card input[type='text'],
.cie-step-card input[type='email'],
.cie-step-card input.cie-date-range {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 9px 10px;
  background: #fff;
}

.cie-option {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  padding: 8px 10px;
  margin: 6px 0;
}

.cie-option small {
  color: #64748b;
}

.cie-lab-booking__submit {
  margin-top: 32px;
}

.cie-lab-booking__notice {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #0f172a;
}

.cie-lab-booking__notice.is-error {
  border-color: #fecaca;
  background: #fff1f2;
  color: #7f1d1d;
}

.cie-lab-booking__notice.is-success {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #14532d;
}
.cie-lab-booking__notice .cie-booking-detail {
  margin-top:16px;
}


.cie-lab-booking__notice.is-info {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1e3a8a;
}

.cie-is-disabled {
  opacity: 0.55;
}

.cie-is-disabled input {
  cursor: not-allowed;
}

.cie-lab-booking__calendar td,
.cie-lab-booking__calendar th {
  width: 32px;
  height: 28px;
}
.cie-lab-booking__calendar thead th {
    border:none !important;
}

.cie-calendar-day {
  cursor: pointer;
  position: relative;
}

.cie-lab-booking__calendar {
  width: 100%;
  border-collapse: separate;
  border-spacing: 4px;
}

.cie-lab-booking__calendar caption {
  font-size: 20px;
  font-weight: 900;
  padding: 8px 0 10px;
  color: #0f172a;
}

.cie-lab-booking__calendar th {
  font-size: 12px;
  color: #334155;
  font-weight: 800;
}

.cie-lab-booking__calendar td {
  border-radius: 8px;
  transition: transform 120ms ease, filter 120ms ease;
}

.cie-lab-booking__calendar td.cie-calendar-day:hover {
  transform: translateY(-1px);
  filter: brightness(0.98);
}

.cie-cal-tooltip {
  z-index: 99999;
  min-width: 220px;
  max-width: 320px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
  font-size: 13px;
}

.cie-cal-tooltip__date {
  margin-bottom: 6px;
}

.cie-cal-tooltip__line {
  color: #334155;
}

.cie-modal {
  position: fixed;
  inset: 0;
  z-index: 99998;
}

.cie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.cie-modal__panel {
  position: relative;
  margin: 8vh auto;
  width: min(720px, calc(100% - 32px));
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.35);
  padding: 18px 16px;
}

.cie-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.cie-cal-list {
  margin: 8px 0 0 18px;
}

.cie-cal-muted {
  color: #475569;
  font-size: 13px;
}

.cie-resource-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid transparent;
}

.cie-resource-badge--space, .cie-resource-badge--equipment  {
    display: inline-block;
    border-radius: 999px;
    padding: 3px 9px;
    font-size: 12px;
    border: 1px solid rgba(15, 23, 42, 0.2);
    background: #f8fafc;
    color: #0f172a;
    font-weight: 700;
}

.cie-resource-badge--space  .badge-circle{
  background: #f59e0b;
  width:8px;
  height:8px;
  margin-right:8px;
  display:inline-block;
  border-radius: 100%;
}
.cie-resource-badge--equipment  .badge-circle{
  background: #3b82f6;
  width:8px;
  height:8px;
  margin-right:8px;
  display:inline-block;
  border-radius: 100%;
}

.cie-cal-booking-list,
.cie-cal-block-list {
  display: grid;
  gap: 10px;
}

.cie-cal-booking-card,
.cie-cal-block-card {
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  padding: 10px;
  background: #f8fafc;
}

.cie-cal-booking-card__resource {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.cie-cal-booking-card__meta {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

.cie-cal-booking-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.cie-cal-booking-card__extra {
  margin-top: 6px;
  color: #334155;
}

.cie-cal-booking-card__actions {
  margin-top: 8px;
}

.cie-cal-block-card__resources {
  margin-top: 4px;
  color: #334155;
}

.cie-lab-booking__flow label {
  width:100% !important;
}
.cie-lab-booking__flow label input {
  margin-top:8px;
}
.cie-lab-booking__flow label.cie-option input {
  margin-top:0px;
}
fieldset.cie-step-card.simple-card {
    padding: 0px;
    border: none;
    margin-top: 32px;
}
fieldset.cie-step-card.simple-card legend {
  font-size: 12px;
  padding:0px;
  margin-bottom:16px;
}
.cie-inline-fields select {
  margin-top:8px;
}
.cie-booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 1fr);
  align-items: start;
}

.cie-booking-layout__calendar h4 {
  margin: 0 0 8px;
}
.cie-booking-layout__calendar button{
background: white !important;
border-color:lightgray !important;
color:black !important;
}

@media (max-width: 980px) {
  .cie-booking-layout {
    grid-template-columns: 1fr;
  }
}

.cie-inline-fields {
      display: flex;
    gap: 10px;
    align-items: flex-end;
    margin-bottom: 16px;
    flex-direction: row;
}

.cie-lab-booking__flow[data-cie-current-phase="resources"] [data-cie-phase="planning"],
.cie-lab-booking__flow[data-cie-current-phase="resources"] [data-cie-phase="details"] {
  display: none !important;
}

.cie-lab-booking__flow[data-cie-current-phase="planning"] [data-cie-phase="resources"] {
  display: none !important;
}

.cie-lab-booking__flow[data-cie-current-phase="details"] [data-cie-phase="resources"],
.cie-lab-booking__flow[data-cie-current-phase="details"] [data-cie-phase="planning"] {
  display: none !important;
}

.cie-installation-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.cie-installation-card {
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  padding: 10px;
  background: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cie-installation-card input[type='radio'] {
  margin: 0 0 4px 0;
  display:none;
}

.cie-installation-card.is-active {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.15);
}

.cie-installation-card__title {
  font-weight: 800;
  color: #0f172a;
}

.cie-installation-card__desc {
  font-size: 12px;
  color: #475569;
}

.cie-inline-fields > label {
  min-width: 180px;
}

.cie-weekdays-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cie-slot-availability {
  margin-top: 10px;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  padding: 10px;
  background: #f8fafc;
}

.cie-form-availability {
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  padding: 10px;
  background: #f8fafc;
}

.cie-form-availability__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cie-form-availability__legend {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.cie-form-availability__legend span {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  border: 1px solid transparent;
}

.cie-form-availability__legend .is-available {
  background: #ecfdf5;
  border-color: #22c55e;
  color: #166534;
}

.cie-form-availability__legend .is-busy {
  background: #fff7ed;
  border-color: #fb923c;
  color: #9a3412;
}

.cie-form-availability__legend .is-blocked {
  background: #fff1f2;
  border-color: #ef4444;
  color: #9f1239;
}

.cie-form-availability__week-header,
.cie-form-availability__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.cie-form-availability__week-header {
  font-size: 12px;
  color: #475569;
  margin-bottom: 4px;
}

.cie-form-availability__day {
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  min-height: 34px;
  background: #fff;
  cursor: pointer;
}

.cie-form-availability__day.is-available {
  background: #ecfdf5;
  border-color: #22c55e;
}

.cie-form-availability__day.is-busy {
  background: #fff7ed;
  border-color: #fb923c;
}

.cie-form-availability__day.is-blocked {
  background: #fff1f2;
  border-color: #ef4444;
}

.cie-form-availability__day.is-muted {
  opacity: 0.45;
}

.cie-slot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  display:none;
}

label.cie-slot-chip {
  display: inline-flex;
  border-radius: 10px;
  padding: 16px;
  font-size: 12px;
  font-weight: 700;
  width:auto !important;
  border: 1px solid transparent;
}

.cie-slot-chip.is-available {
  background: #ecfdf5;
  color: #166534;
  border-color: #22c55e;
}

.cie-slot-chip.is-unavailable {
  background: #f8fafc;
    color: #64748b;
    border-color: #dbe3ee;
}

.cie-slot-chip.is-expired {
  background: #f8fafc;
  color: #64748b;
  border-color: #cbd5e1;
}

.cie-slot-chip.is-selected {
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.2);
}

.cie-slot-selector {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cie-slot-selector .cie-slot-chip input {
  margin: 0 6px 0 0;
}

.cie-scheduler {
  border-left: 1px solid #dbe3ef;
  background: #fff;
  padding: 16px;
  min-height:calc(100vh - 85px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.cie-booking-layout__form {
  padding: 32px;
}

.cie-booking-layout__form, .cie-booking-layout__calendar {
  height: calc(100vh - 85px);
  overflow-y: scroll;
}
hr {
  opacity: 0.2 !important;
  width: calc(100% + 32px);
    margin-left: -16px !important;
    margin-top: 24px !important;
    margin-bottom: 24px !important;
}
.cie-scheduler__nav button {
    padding: 8px;
    font-size: 12px;
    font-weight: bolder;
}

select {
    border: 1px solid #dae3ef !important;
    border-radius: 10px;
  font-weight: 500;
}

.cie-scheduler__toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.cie-scheduler__nav,
.cie-scheduler__views {
  display: flex;
  gap: 6px;
}

.cie-scheduler__filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.cie-scheduler__pending-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #334155;
}

.cie-scheduler__pending-toggle input {
  margin: 0;
}

.cie-scheduler__filters select {
  min-height: 32px;
  border-radius: 8px;
  border: 1px solid #dbe3ef;
  padding: 4px 8px;
}

.cie-scheduler__nav button,
.cie-scheduler__views button,
.cie-scheduler__time-day,
.cie-scheduler__day {
  border: 1px solid #dbe3ef;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
}


.cie-scheduler__views button.is-active {
  background: #0ea5e9;
  border-color: #0284c7;
  color: #fff;
}

.cie-scheduler__title {
  font-weight: 800;
  color: #0f172a;
}

.cie-scheduler__week-header {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  font-size: 12px;
  color: #475569;
  margin-bottom: 6px;
}

.cie-scheduler__month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.cie-scheduler__day {
  min-height: 86px;
  text-align: left;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cie-scheduler__day.is-today {
  border-color: #0ea5e9;
  box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.4);
}

.cie-scheduler__day.is-muted {
  opacity: 0.55;
}

.cie-scheduler__day-number {
  font-size: 12px;
  font-weight: 700;
}

.cie-scheduler__day-events {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cie-scheduler__event-chip {
  display: inline-block;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid #dbe3ef;
  background: #f8fafc;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/*
.cie-scheduler__event-chip.is-approved {
  background: #f0fdf4;
  border-color: #22c55e;
  color: #14532d;
}

.cie-scheduler__event-chip.is-pending {
  background: #fffbeb;
  border-color: #f59e0b;
  color: #92400e;
}

.cie-scheduler__event-chip.is-changes {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #1e3a8a;
}
*/

.cie-scheduler__event-chip.is-past {
  opacity: 0.6;
}

.cie-scheduler__event-chip.is-pending-faded {
  opacity: 0.6;
}

.cie-scheduler__event-chip.is-rejected,
.cie-scheduler__event-chip.is-cancelled,
.cie-scheduler__event-chip.is-block {
  background: #fff1f2;
  border-color: #ef4444;
  color: #7f1d1d;
}

.cie-scheduler__event-chip.is-booking.is-resource-combined {
  background: #ecfdf5;
  border-left:2px solid #16a34a;
  color: #14532d;
}

.cie-scheduler__event-chip.is-booking.is-resource-equipment {
  background: #eff6ff;
  border-left: 2px solid #2563eb;
  color: #1e3a8a;
}

.cie-scheduler__event-chip.is-booking.is-resource-space {
  background: #fff7ed;
  border-left: 2px solid #f97316;
  color: #9a3412;
}

.cie-scheduler__event-more {
  font-size: 11px;
  color: #475569;
}

.cie-scheduler__event-more-link {
  display: inline-block;
  border: 1px solid #cbd5e1;
  background: #e2e8f0;
  color: #334155;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.cie-scheduler__all-day-more {
  margin-top: 2px;
}

.cie-scheduler__time-grid {
  display: grid;
  gap: 2px;
  height: calc(100vh - 85px - 38px - 42px);
  min-height: 500px;
}

.cie-scheduler__time-header,
.cie-scheduler__all-day-row,
.cie-scheduler__time-row {
  display: grid;
  gap: 4px;
  grid-template-columns: 76px repeat(7, minmax(0, 1fr));
}

.cie-scheduler__time-label {
  font-size: 11px;
  color: #475569;
  display: flex;
  align-items: center;
}

.cie-scheduler__time-day {
  padding: 6px !important;
  text-align: center !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.cie-scheduler__time-cell {
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    min-height: 36px;
    padding: 4px;
    display: flex;
    gap: 4px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    align-content: flex-start;
    overflow: hidden;
}

.cie-scheduler__all-day-row .cie-scheduler__time-cell {
  min-height: 64px;
}

.cie-scheduler__all-day-row .cie-scheduler__event-chip {
  max-width: 100%;
}

.cie-scheduler__time-cell.is-today {
  border-color: #7dd3fc;
  background: #f0f9ff;
}

.cie-scheduler__time-cell.is-current-time {
  position: relative;
}

.cie-scheduler__time-cell.is-current-time::after {
  content: '';
  position: absolute;
  left: 2px;
  right: 2px;
  top: 50%;
  border-top: 2px solid #ef4444;
  opacity: 0.85;
  pointer-events: none;
}

.cie-day-timeline {
  margin-top: 8px;
  margin-bottom: 14px;
}

.cie-day-timeline__table {
  display: grid;
  gap: 4px;
}

.cie-day-timeline__row {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 8px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  background: #fff;
  padding: 6px 8px;
}

.cie-day-timeline__row.is-free {
  border-color: #22c55e;
  background: #ecfdf5;
}

.cie-day-timeline__row.is-busy {
  border-color: #f59e0b;
  background: #fffbeb;
}

.cie-day-timeline__row.is-blocked {
  border-color: #ef4444;
  background: #fff1f2;
}

.cie-day-timeline__hour {
  font-weight: 700;
  color: #334155;
}

.cie-day-timeline__state {
  color: #0f172a;
}

.cie-inline-link {
  text-decoration: underline;
  cursor: pointer;
}

.day-header {
  text-align: center;
}

.day-header.is-today .weekday,
.day-header.is-today .day-number {
  color: #0369a1;
}

.weekday {
  font-size: 0.7em; /* small */
  font-weight: 600;
}

.day-number {
  font-size: 1.4em;
  font-weight: bold;
}

.resumen-reserva {
  font-size: 12px;
  color:black;
  font-weight:bold;
  margin-bottom:32px;
  margin-top:0;
  border-top:none;
  padding-top:0;
}

.cie-resource-search-wrap {
  margin-top: 10px;
  font-size: 12px;
    font-weight: 800;
    padding: 0px;
    margin-bottom:32px;
}

.cie-resource-search-wrap input[data-cie-resource-search="1"] {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}

.cie-resource-table-wrap {
  border-top: 1px solid lightgray;
  border-bottom: 1px solid lightgray;
    border-radius: 0px;
    max-height: 80vh;
    overflow: auto;
    background: #fff;
}

.cie-resource-table {
  width: 100%;
  border-collapse: separate;
}
.cie-resource-table thead {
  display:none;
}

.cie-resource-table th,
.cie-resource-table td {
  padding: 9px 10px;
  text-align: left;
  vertical-align: middle;
  border:none;
}

.cie-resource-table th {
  position: sticky;
  top: 0;
  background: #f8fafc;
  z-index: 1;
  font-size: 12px;
  font-weight: 800;
  color: #334155;
}

.cie-resource-table tr:hover td {
  background: inherit;
}
.cie-lab-booking__flow label input[type="checkbox"]{
  display:none;
}

.cie-resource-group-row td {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

button.cie-selected-tag {
    background-color: #f8fafc !important;
    color: black !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 40px;
    font-size: 12px;
    font-weight: regular;
    display: flex;
    gap: 10px;
}
button.cie-selected-tag:hover {
    background: #eceef2 !important;
    color: black !important;
}
.cie-resource-group-toggle {
  width: 100%;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 2px 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: #0f172a;
}

button.cie-resource-group-toggle {
    width: 100%;
    text-align: left;
    background: transparent !important;
    border: none;
    color: black !important;
    padding: 0px 6px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 800;
}

.cie-resource-group-toggle__icon::before {
  content: '▾';
  display: inline-block;
}

.cie-resource-group-toggle[aria-expanded="false"] .cie-resource-group-toggle__icon::before {
  content: '▸';
}

.cie-resource-toggle {
  float: right;
  display: inline-flex;
  justify-content: center;
  gap: 8px;
  max-width: 90px !important;
  align-items: center;
  font-weight: 700;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
  color: #0f172a;
  background: #fff;
}

.cie-resource-toggle input {
  margin: 0 !important;
}

.cie-resource-toggle input:checked + span::before {
  content: '✓ ';
  color: #0369a1;
  font-weight: 900;
}

.cie-resource-toggle--locked {
  border-color: #3b82f6;
  background: #eff6ff;
}

.cie-selected-resources-step1 {
  margin-top: 48px;
}

.cie-selected-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.cie-selected-tag {
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1e3a8a;
  border-radius: 999px;
  padding: 4px 10px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.2;
}

.cie-selected-tag span:last-child {
  font-size: 15px;
  line-height: 1;
}

.cie-selected-tags__empty {
  color: #64748b;
  font-size: 12px;
}

.cie-resource-step__actions .cie-btn.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cie-step-card.is-loading {
  position: relative;
  pointer-events: none;
}

.cie-step-card.is-loading::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.72);
  z-index: 3;
}

.cie-step-card.is-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  margin-left: -16px;
  border-radius: 999px;
  border: 3px solid #bfdbfe;
  border-top-color: #0ea5e9;
  animation: cieSpin 0.75s linear infinite;
  z-index: 4;
}

@keyframes cieSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cie-resource-step__actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}

.cie-booking-detail {
  display: grid;
  gap: 8px;
}

.cie-booking-detail__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
  color: #0f172a;
  flex-direction: row-reverse;
}

.cie-booking-detail__title-text {
  flex: 1 1 auto;
  min-width: 0;
}

.cie-booking-type-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 12px;
  border: 1px solid rgba(15, 23, 42, 0.2);
  background: #f8fafc;
  color: #0f172a;
  font-weight: 700;
  white-space: nowrap;
}

.cie-booking-type-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-right: 8px;
  background: #64748b;
}

.cie-booking-type-badge--space::before {
  background: #f59e0b;
}

.cie-booking-type-badge--equipment::before {
  background: #3b82f6;
}

.cie-booking-type-badge--combined::before {
  background: #16a34a;
}

.cie-booking-detail__block {
  display: grid;
  gap: 4px;
}

.cie-booking-detail__block-title {
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cie-booking-detail__block-title--clock::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  background-image: url("data:image/svg+xml,%3Csvg%20version='1.1'%20id='Calendar--Streamline-Carbon'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0'%20y='0'%20viewBox='0%200%2016%2016'%20xml:space='preserve'%20enable-background='new%200%200%2032%2032'%20height='16'%20width='16'%3E%3Ctitle%3Ecalendar%3C%2Ftitle%3E%3Cpath%20d='M13%202h-2V1h-1v1h-4V1h-1v1H3c-0.55%200%20-1%200.45%20-1%201v10c0%200.55%200.45%201%201%201h10c0.55%200%201%20-0.45%201%20-1V3c0%20-0.55%20-0.45%20-1%20-1%20-1zm0%2011H3V6h10v7zm0%20-8H3V3h2v1h1V3h4v1h1V3h2v2z'%20fill='%23000000'%20stroke-width='0.5'%3E%3C%2Fpath%3E%3Cpath%20id='_Transparent_Rectangle_'%20d='M0%200h16v16H0Z'%20fill='none'%20stroke-width='0.5'%3E%3C%2Fpath%3E%3C%2Fsvg%3E");
}

.cie-booking-detail__block-title--list::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  background-image: url("data:image/svg+xml,%3Csvg%20id='Align-Box-Top-Left--Streamline-Carbon'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%20height='16'%20width='16'%3E%3Cpath%20d='M13%2015H3a1.00115%201.00115%200%200%201%20-1%20-1V2a1.00115%201.00115%200%200%201%201%20-1h10a1.00115%201.00115%200%200%201%201%201v12a1.00115%201.00115%200%200%201%20-1%201ZM3%202v12h10V2Z'%20fill='%23000000'%20stroke-width='0.5'%3E%3C%2Fpath%3E%3Cpath%20d='M4.5%203.5h5.5v1H4.5Z'%20fill='%23000000'%20stroke-width='0.5'%3E%3C%2Fpath%3E%3Cpath%20d='M4.5%206h3.5v1H4.5Z'%20fill='%23000000'%20stroke-width='0.5'%3E%3C%2Fpath%3E%3Cpath%20id='_Transparent_Rectangle_'%20d='M0%200h16v16H0Z'%20fill='none'%20stroke-width='0.5'%3E%3C%2Fpath%3E%3C%2Fsvg%3E");
}

.cie-booking-detail__line {
  font-size: 12px;
  line-height: 1.4;
  color: #334155;
}

.cie-booking-detail__line--total {
  font-weight: 700;
  color: #1e3a8a;
}

.cie-booking-detail__line--preview {
  color: #0ea5e9;
}

.cie-booking-modal-header {
  position: relative;
  padding-right: 190px;
  margin-bottom: 10px;
  margin-right:56px;
}

.cie-booking-modal-header h4 {
  margin: 0;
}

.cie-booking-modal-header .cie-status-tag {
  position: absolute;
  top: 0;
  right: 0;
}

.resumen-reserva[data-cie-resumen-step2] .cie-btn {
  font-size: 12px;
  padding: 6px 10px;
}

.cie-scheduler__event-chip.is-preview {
  background: #e0f2fe;
  border-color: #0ea5e9;
  color: #0c4a6e;
  border-style: dashed;
}
.first-card {
  border: 1px solid #dbe3ef;
    border-radius: 12px;
    border-radius: 16px;
    padding: 16px;
}

.first-card .cie-step-card {
  border: none;
    border-radius: 12px;
    background: transparent;
    padding: 0px;
}
.cie-booking-detail__title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.2;
    color: #0f172a;
    flex-direction: column-reverse;
}

.cie-booking-detail__block {
    display: flex;
    gap: 8px;
}

.cie-booking-detail__block-title {
    font-size: 12px;
    font-weight: normal;
}
.cie-booking-detail__line {
    font-weight:normal !important;
}
.cie-slot-availability {
    margin-top: 10px;
    border: none;
    border-radius: 0px;
    padding: 0px;
    font-size: 14px;
    background: transparent;
}
.cie-slot-selector {
    margin-top: 8px;
    margin-bottom: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.cie-slot-chip.is-available {
    background: #ffffff;
    color: #162d65;
    border-color: #b2d9ff;
}
.cie-slot-chip.is-selected {
    box-shadow: 0 0 0 2px rgb(0 138 201 / 20%);
    background: #b1d9ff;
}

button.cie-btn[data-cie-edit-resources], button.cie-btn[data-cie-back-planning]{
    background: white;
    color: black;
    border: 1px solid lightgray;
    font-size:12px;
}
button.cie-btn[data-cie-edit-resources]:hover, button.cie-btn[data-cie-back-planning]:hover  {
    background:lightgray;
    color:black;
}

table.cie-resource-table tbody>tr:nth-child(odd)>td, table.cie-resource-table tbody>tr:nth-child(odd)>th {
    background-color:white;
}

.cie-resource-table th, .cie-resource-table td {
    padding: 9px 10px;
    text-align: left;
    vertical-align: middle;
    border: none;
    border-bottom: 1px solid #f0f0f0;
}
tr:hover {
    background-color: white !important;
}

table {
    margin-block-end: 0px !important;
  }

fieldset.cie-step-card[data-cie-resource-section="equipment"] {
    margin-top: 32px;
}