/* Xmarts LAB · indicadores de salas V1
   Mismo sistema de reservas/ocupación; solo presentación.
   El elemento se posiciona desde room.top + 5 para quedar junto a la pared. */
html body #office .meeting-room-badge{
  position:absolute!important;
  z-index:18!important;
  display:flex!important;
  flex-direction:column!important;
  flex-wrap:nowrap!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  width:max-content;
  min-width:0!important;
  height:auto!important;
  max-width:190px;
  box-sizing:border-box!important;
  margin:0!important;
  padding:5px 8px!important;
  gap:0!important;
  overflow:hidden;
  border:1px solid rgba(154,165,168,.22)!important;
  border-radius:13px!important;
  background:rgba(19,24,27,.95)!important;
  background-image:none!important;
  color:#f3f5f5!important;
  font-family:inherit!important;
  font-size:0.6875rem!important;
  font-weight:600!important;
  line-height:1.22!important;
  text-align:left!important;
  box-shadow:0 5px 14px rgba(0,0,0,.20)!important;
  backdrop-filter:none!important;
  user-select:none;
  white-space:normal!important;
  cursor:pointer;
  pointer-events:auto;
}
html body #office .meeting-room-badge:is(.free,.busy,.closed){
  border-color:rgba(154,165,168,.22)!important;
  background:rgba(19,24,27,.95)!important;
  color:#f3f5f5!important;
}
html body #office .meeting-room-badge.badge-only{
  min-height:28px!important;
  border-radius:999px!important;
  padding:4px 8px!important;
}
html body #office .meeting-room-badge.with-meeting{
  width:178px;
  max-height:95px;
  border-radius:13px!important;
  padding:8px 9px 7px!important;
}
html body #office .meeting-room-badge:hover{
  transform:none!important;
  background:rgba(28,35,38,.98)!important;
  border-color:rgba(169,186,191,.42)!important;
  box-shadow:0 5px 14px rgba(0,0,0,.25)!important;
}
html body #office .meeting-room-badge:focus-visible{
  outline:2px solid #a8bcc3!important;
  outline-offset:2px;
}
html body #office .meeting-room-badge .room-badge-top{
  width:100%;
  min-width:0;
  display:flex!important;
  align-items:center;
  justify-content:space-between;
  gap:9px;
}
html body #office .meeting-room-badge .room-badge-state{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-width:0;
  font-size:0.6875rem;
  line-height:16px;
  white-space:nowrap;
  color:#f0f2f1;
}
html body #office .meeting-room-badge .room-badge-dot{
  display:inline-block;
  width:8px;
  height:8px;
  flex:0 0 8px;
  background:#2dc966;
  border-radius:50%;
}
html body #office .meeting-room-badge.busy .room-badge-dot{background:#f7a228}
html body #office .meeting-room-badge.closed .room-badge-dot{background:#9da7ad}
html body #office .meeting-room-badge .room-count{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  flex:0 0 auto!important;
  min-width:33px!important;
  width:auto!important;
  height:19px!important;
  box-sizing:border-box!important;
  padding:2px 6px!important;
  margin:0!important;
  border:0!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.085)!important;
  color:#abb6b9!important;
  font-size:0.625rem!important;
  font-weight:600!important;
  line-height:15px!important;
  font-variant-numeric:tabular-nums;
}
html body #office .meeting-room-badge .room-badge-icon{
  display:inline-block;
  width:12px;
  height:12px;
  flex:0 0 12px;
  vertical-align:middle;
  fill:none;
}
html body #office .meeting-room-badge .room-badge-details{
  width:100%;
  box-sizing:border-box;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:3px;
  margin-top:6px;
  padding-top:5px;
  border-top:1px solid rgba(180,194,199,.13);
}
html body #office .meeting-room-badge .room-badge-time{
  min-width:0;
  display:flex;
  align-items:center;
  gap:6px;
  font-size:0.6875rem;
  font-weight:650;
  line-height:14px;
  color:#eef4f1;
  font-variant-numeric:tabular-nums;
}
html body #office .meeting-room-badge .room-badge-time svg{
  width:12px;
  height:12px;
  color:#a2c95a;
}
html body #office .meeting-room-badge .room-badge-title{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  line-clamp:2;
  max-width:100%;
  max-height:28px;
  overflow:hidden!important;
  overflow-wrap:anywhere;
  text-overflow:ellipsis;
  color:#a9b2b5!important;
  font-size:0.65625rem;
  font-weight:500!important;
  line-height:14px;
  white-space:normal!important;
}
@media(prefers-reduced-motion:reduce){
  html body #office .meeting-room-badge{transition:none!important}
}
