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

.resv-v2-dialog{
  width:min(1180px,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;
}

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

.resv-v2-shell{
  padding:25px;
}

.resv-v2-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
  margin-bottom:20px;
}

.resv-v2-head h2{
  margin:0 0 7px;
}

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

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

.resv-v2-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  align-items:start;
}

.resv-v2-card{
  min-width:0;
  padding:20px;
  border:1px solid rgba(42,55,46,.13);
  border-radius:12px;
  background:#fffdfa;
}

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

.resv-v2-section-head h3{
  margin:0;
  font:500 1.25rem/1.2 Georgia,serif;
}

.resv-v2-section-head .btn{
  margin:0;
}

.resv-v2-list{
  max-height:235px;
  overflow:auto;
  margin:14px 0 18px;
  border:1px solid rgba(42,55,46,.11);
  border-radius:8px;
}

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

.resv-v2-list-row:last-child{
  border-bottom:0;
}

.resv-v2-list-row:hover{
  background:#f2f4eb;
}

.resv-v2-list-row.inactive{
  opacity:.55;
}

.resv-v2-list-row strong,
.resv-v2-list-row small{
  display:block;
}

.resv-v2-list-row strong{
  font-size:11px;
}

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

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

.resv-v2-three{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
}

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

.resv-v2-help{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:19px;
  height:19px;
  padding:0;
  border:1px solid #bac5b5;
  border-radius:50%;
  background:#f2f5ec;
  color:#39503b;
  font-size:10px;
  font-weight:700;
  line-height:1;
  cursor:help;
}

.resv-v2-help:hover::after,
.resv-v2-help:focus-visible::after{
  content:attr(data-tip);
  position:absolute;
  z-index:100;
  left:50%;
  bottom:calc(100% + 9px);
  width:260px;
  transform:translateX(-50%);
  padding:9px 11px;
  border-radius:7px;
  background:#183120;
  color:#fff;
  box-shadow:0 8px 25px #0003;
  font-size:10px;
  font-weight:400;
  line-height:1.5;
  text-align:left;
  pointer-events:none;
}

.resv-v2-effect{
  margin:12px 0 4px;
  padding:11px 12px;
  border-radius:7px;
  background:#edf2e7;
  color:#5d6c58;
  font-size:10px;
  line-height:1.55;
}

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

.resv-v2-advanced{
  margin-top:16px;
  padding-top:12px;
  border-top:1px solid rgba(42,55,46,.12);
}

.resv-v2-advanced summary{
  color:#61715e;
  font-size:10px;
  cursor:pointer;
}

.resv-v2-actions{
  display:flex;
  gap:9px;
  margin-top:18px;
}

.resv-v2-actions .btn{
  margin:0;
}

.resv-v2-help-panel{
  position:relative;
  margin-top:18px;
  padding:17px 45px 17px 18px;
  border:1px solid #d5c99e;
  border-radius:10px;
  background:#f8f2dd;
  color:#4e513f;
}

.resv-v2-help-panel>button{
  position:absolute;
  top:8px;
  right:10px;
  border:0;
  background:transparent;
  font-size:22px;
}

.resv-v2-help-panel strong{
  display:block;
  margin-bottom:6px;
  font:500 17px Georgia,serif;
}

.resv-v2-help-panel p{
  margin:4px 0;
  font-size:10px;
  line-height:1.65;
}

.resv-v2-help-panel div{
  margin:10px 0;
  padding:9px 11px;
  border-radius:6px;
  background:#fffaf0;
}

.resv-v2-help-panel div span{
  display:block;
  margin-bottom:3px;
  color:#9a7b37;
  font-size:8px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

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

@media(max-width:850px){
  .resv-v2-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:580px){
  .resv-v2-shell{
    padding:17px;
  }

  .resv-v2-two,
  .resv-v2-three{
    grid-template-columns:1fr;
  }

  .resv-v2-section-head{
    flex-direction:column;
  }

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

/* GIO-RESERVAS-V2-TABLE-EDITOR-20260918 */

.resv-v2-dialog{
  position:relative;
}

.resv-v2-table-row-side{
  display:flex;
  align-items:center;
  gap:12px;
  flex:0 0 auto;
}

.resv-v2-table-edit-label{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  padding:5px 9px;
  border:1px solid rgba(49,91,61,.22);
  border-radius:6px;
  background:#f4f7f1;
  color:#315b3d;
  font-size:9px !important;
  font-weight:700;
}

.resv-v2-list-row:hover .resv-v2-table-edit-label{
  background:#e6eee2;
}

.resv-v2-table-editor-overlay{
  position:absolute;
  inset:0;
  z-index:100;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  border-radius:14px;
  background:rgba(17,20,15,.68);
}

.resv-v2-table-editor-overlay[hidden]{
  display:none;
}

.resv-v2-table-editor-card{
  width:min(620px,94%);
  max-height:88vh;
  overflow:auto;
  padding:22px;
  border-radius:14px;
  background:#f8f8f4;
  box-shadow:0 24px 70px rgba(0,0,0,.28);
}

.resv-v2-table-editor-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  margin-bottom:18px;
}

.resv-v2-table-editor-head h3{
  margin:3px 0 5px;
  font:500 1.45rem/1.2 Georgia,serif;
}

.resv-v2-table-editor-head p{
  margin:0;
  color:#74816f;
  font-size:10px;
}

.resv-v2-table-editor-card #resv-v2-table-form{
  margin:0;
}

@media(max-width:620px){

  .resv-v2-table-editor-overlay{
    padding:10px;
  }

  .resv-v2-table-editor-card{
    width:100%;
    padding:16px;
  }

  .resv-v2-table-row-side{
    gap:7px;
  }

  .resv-v2-table-edit-label{
    padding:4px 7px;
  }
}
