/* GIO-RESERVAS-V2-EXCEPTIONS-UI-20260916 */

.exceptions-v2-dialog{
  width:min(1120px,calc(100% - 28px));
  max-height:94dvh;
  padding:0;
  border:1px solid rgba(42,55,46,.18);
  border-radius:14px;
  background:#f6f3eb;
  color:#203024;
  box-shadow:0 30px 100px #0005;
}

.exceptions-v2-dialog::backdrop{
  background:#0e1d13aa;
  backdrop-filter:blur(3px);
}

.exceptions-shell{
  padding:0 25px 25px;
}

.exceptions-head{
  position:sticky;
  top:0;
  z-index:5;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
  margin:0 -25px 18px;
  padding:23px 25px 17px;
  border-bottom:1px solid rgba(42,55,46,.11);
  background:#f6f3eb;
}

.exceptions-head h2{
  margin:0 0 6px;
}

.exceptions-head p:not(.kicker){
  max-width:720px;
  margin:0;
  color:#747b70;
  font-size:11px;
}

.exceptions-close{
  border:0;
  background:transparent;
  color:#304331;
  font-size:31px;
  line-height:1;
  padding:2px 8px;
}

.exceptions-layout{
  display:grid;
  grid-template-columns:minmax(270px,.72fr) minmax(500px,1.4fr);
  gap:18px;
  align-items:start;
}

.exceptions-list-card,
.exceptions-editor{
  padding:20px;
  border:1px solid rgba(42,55,46,.13);
  border-radius:12px;
  background:#fffdfa;
}

.exceptions-list-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  padding-bottom:14px;
  border-bottom:1px solid rgba(42,55,46,.12);
}

.exceptions-list-head h3,
.exceptions-editor-title h3{
  margin:0;
  font:500 1.25rem/1.2 Georgia,serif;
}

.exceptions-list-head .btn{
  margin:0;
}

.exceptions-list{
  margin-top:14px;
  border:1px solid rgba(42,55,46,.11);
  border-radius:8px;
  overflow:hidden;
}

.exception-row{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding:13px;
  border:0;
  border-bottom:1px solid rgba(42,55,46,.09);
  background:#fff;
  color:#203024;
  text-align:left;
}

.exception-row:last-child{
  border-bottom:0;
}

.exception-row:hover{
  background:#f2f4eb;
}

.exception-row.inactive{
  opacity:.55;
}

.exception-row strong,
.exception-row small{
  display:block;
}

.exception-row strong{
  font-size:11px;
}

.exception-row small,
.exception-row>span:last-child{
  margin-top:3px;
  color:#7c8578;
  font-size:9px;
}

.exceptions-editor-title{
  padding-bottom:12px;
  border-bottom:1px solid rgba(42,55,46,.12);
}

.exceptions-two{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.exception-label{
  display:flex;
  align-items:center;
  gap:6px;
}

.exceptions-base-summary,
.exceptions-inherited-rooms{
  display:grid;
  gap:4px;
  margin:12px 0;
  padding:11px 12px;
  border-radius:7px;
  background:#f2f3ed;
  color:#687064;
  font-size:9px;
  line-height:1.5;
}

.exceptions-base-summary strong,
.exceptions-inherited-rooms strong{
  color:#3e4f3f;
  font-size:10px;
}

.exceptions-fieldset{
  margin:14px 0 0;
  padding:12px;
  border:1px solid #d8ded2;
  border-radius:8px;
}

.exceptions-fieldset legend{
  padding:0 6px;
  color:#4a5847;
  font-size:10px;
}

.exceptions-room-options{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px;
}

.exception-room-check{
  display:flex;
  align-items:flex-start;
  gap:9px;
  margin:0;
  padding:10px;
  border:1px solid #dce2d6;
  border-radius:7px;
  background:#fafbf7;
}

.exception-room-check.inactive{
  opacity:.55;
}

.exception-room-check input{
  margin-top:2px;
}

.exception-room-check strong,
.exception-room-check small{
  display:block;
}

.exception-room-check strong{
  font-size:10px;
}

.exception-room-check small{
  margin-top:3px;
  color:#7f877b;
  font-size:8px;
}

.exceptions-effect{
  display:grid;
  gap:3px;
  margin:13px 0 4px;
  padding:11px 12px;
  border-radius:7px;
  background:#edf2e7;
  color:#5d6c58;
  font-size:10px;
  line-height:1.55;
}

.exceptions-effect.warning{
  background:#f6eadc;
  color:#8a572d;
}

.exceptions-effect strong{
  color:#405643;
}

.exceptions-actions{
  display:flex;
  gap:9px;
  margin-top:20px;
}

.exceptions-actions .btn{
  margin:0;
}

.exceptions-foot{
  margin:17px 0 0;
  color:#858c80;
  font-size:9px;
  text-align:center;
}

@media(max-width:900px){
  .exceptions-layout{
    grid-template-columns:1fr;
  }
}

@media(max-width:620px){
  .exceptions-shell{
    padding:0 16px 18px;
  }

  .exceptions-head{
    margin:0 -16px 15px;
    padding:18px 16px 14px;
  }

  .exceptions-two{
    grid-template-columns:1fr;
  }

  .exceptions-room-options{
    grid-template-columns:1fr;
  }

  .exceptions-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
}
