.elbulin-booking{
  --eb-green:#abc431;
  --eb-green-hover:#95ad25;
  --eb-text:#1f2933;
  --eb-muted:#6b7280;
  --eb-border:#d8cdbf;
  --eb-soft:#f7f5f1;
  --eb-occupied:#66751d;
  --eb-danger:#8a2a1f;

  position:relative;
  width:350px;
  height:500px;
  max-width:100%;
  margin:0 auto;
  background:#fff;
  border:2px solid var(--eb-text);
  border-radius:10px;
  padding:15px;
  box-shadow:0 16px 35px rgba(0,0,0,.14);
  overflow:hidden;
  font-family:inherit!important;
  color:var(--eb-text)!important;
  line-height:normal!important;
  text-align:left!important;
}

.elbulin-booking,
.elbulin-booking *{
  box-sizing:border-box!important;
}

.elbulin-booking button,
.elbulin-booking select{
  font-family:inherit!important;
  appearance:none!important;
  -webkit-appearance:none!important;
}

.elbulin-booking .eb-content{
  height:100%;
  overflow:hidden;
}

.elbulin-booking .eb-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  width:100%;
  margin-bottom:12px;
}

.elbulin-booking .eb-title{
  margin:0;
  font-size:1rem;
  line-height:1.2;
  font-weight:700;
  color:var(--eb-text);
}

.elbulin-booking .eb-nav{
  display:flex;
  gap:8px;
}

.elbulin-booking .eb-nav button,
.elbulin-booking .eb-counter-controls button{
  width:34px;
  height:34px;
  min-width:34px;
  min-height:34px;
  border-radius:50%;
  border:2px solid var(--eb-green);
  background:#fff;
  color:var(--eb-text);
  cursor:pointer;
  font-size:1.35rem;
  font-weight:800;
  line-height:1;
  padding:0 0 2px;
  margin:0;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:none;
}

.elbulin-booking .eb-nav button:hover:not(:disabled),
.elbulin-booking .eb-counter-controls button:hover:not(:disabled){
  background:var(--eb-green);
  color:#fff;
}

.elbulin-booking .eb-nav button:disabled,
.elbulin-booking .eb-counter-controls button:disabled{
  opacity:.35;
  cursor:not-allowed;
  background:#fff;
  color:#9ca3af;
  border-color:var(--eb-border);
}

.elbulin-booking .eb-month-title{
  margin:0 0 12px;
  font-weight:700;
  color:var(--eb-text);
  text-transform:capitalize;
  font-size:1rem;
  line-height:1.2;
}

.elbulin-booking .eb-weekdays,
.elbulin-booking .eb-days{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:5px;
  width:100%;
}

.elbulin-booking .eb-weekdays div{
  text-align:center;
  font-size:.74rem;
  font-weight:700;
  color:var(--eb-green);
  padding-bottom:4px;
}

.elbulin-booking .eb-day{
  width:100%;
  height:36px;
  min-height:36px;
  border:1px solid transparent;
  background:#fff;
  border-radius:6px;
  cursor:pointer;
  font-size:.9rem;
  line-height:1;
  color:var(--eb-text);
  padding:0;
  margin:0;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:none;
}

.elbulin-booking .eb-day:hover:not(:disabled){
  background:rgba(171,196,49,.12);
  border-color:var(--eb-green);
}

.elbulin-booking .eb-day.empty{
  visibility:hidden;
  pointer-events:none;
}

.elbulin-booking .eb-day.occupied{
  color:#fff;
  background:var(--eb-occupied);
  border-color:var(--eb-occupied);
  font-weight:400;
  cursor:not-allowed;
  pointer-events:none;
}

.elbulin-booking .eb-day.occupied .eb-day-number{
  font-weight:400!important;
}

.elbulin-booking .eb-day.checkout-only{
  pointer-events:auto;
  cursor:pointer;
  color:var(--eb-text);
  background:#fff;
  border:1px dashed var(--eb-border);
}

.elbulin-booking .eb-day.selected{
  background:var(--eb-green);
  color:#fff;
  font-weight:800;
  border-color:var(--eb-green);
}

.elbulin-booking .eb-day.in-range{
  background:rgba(171,196,49,.22);
  color:var(--eb-text);
}

.elbulin-booking .eb-summary{
  margin-top:12px;
}

.elbulin-booking .eb-summary-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.elbulin-booking .eb-label{
  font-size:.62rem;
  color:var(--eb-muted);
}

.elbulin-booking .eb-value{
  margin-top:4px;
  font-size:.9rem;
  color:var(--eb-text);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.elbulin-booking .eb-hint,
.elbulin-booking .eb-legend{
  margin:12px 0 0;
  font-size:.8rem;
  line-height:1.35;
  color:#777;
}

.elbulin-booking .eb-guests-backdrop{
  display:none;
  position:absolute;
  inset:0;
  z-index:35;
  background:rgba(255,255,255,.74);
  border-radius:10px;
}

.elbulin-booking .eb-guests-backdrop.visible{
  display:block;
}

.elbulin-booking .eb-guests{
  display:none;
  position:absolute;
  inset:54px 15px 15px 15px;
  z-index:40;
  margin:0;
  padding:16px;
  border:2px solid var(--eb-text);
  border-radius:10px;
  background:#fff;
  box-shadow:0 16px 35px rgba(0,0,0,.14);
  overflow:auto;
}

.elbulin-booking .eb-guests.visible{
  display:block;
}

.elbulin-booking .eb-guests h3{
  margin:0 0 10px;
  font-size:.9rem;
  font-weight:700;
}

.elbulin-booking .eb-counter{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding:8px 0;
}

.elbulin-booking .eb-counter+.eb-counter{
  border-top:1px solid #e6ded4;
}

.elbulin-booking .eb-counter-text strong{
  display:block;
  font-size:.92rem;
}

.elbulin-booking .eb-counter-text span{
  display:block;
  font-size:.78rem;
  color:#777;
  margin-top:2px;
}

.elbulin-booking .eb-counter-controls{
  display:flex;
  align-items:center;
  gap:10px;
}

.elbulin-booking .eb-count{
  min-width:20px;
  text-align:center;
  font-weight:700;
}

.elbulin-booking .eb-children-ages{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid #e6ded4;
}

.elbulin-booking .eb-age-row label{
  display:block;
  margin:0 0 4px;
  font-size:.76rem;
  font-weight:600;
  color:#777;
}

.elbulin-booking .eb-age-row select{
  width:100%;
  height:38px;
  border:1px solid var(--eb-border);
  border-radius:6px;
  padding:0 10px;
  font-size:.86rem;
  background:#fff;
  color:var(--eb-text);
}

.elbulin-booking .eb-age-row select:focus{
  border-color:var(--eb-green);
  box-shadow:0 0 0 3px rgba(171,196,49,.22);
  outline:none;
}

.elbulin-booking .eb-restriction-note{
  margin:14px 0 0;
  padding:10px 12px;
  border-radius:6px;
  background:var(--eb-soft);
  color:#666;
  font-size:.74rem;
  line-height:1.4;
}

.elbulin-booking .eb-error{
  display:none;
  margin:12px 0 0;
  padding:12px 15px;
  border-radius:6px;
  background:#fff2ef;
  color:var(--eb-danger);
  font-size:.86rem;
  line-height:1.35;
  border:1px solid #f1c7bd;
}

.elbulin-booking .eb-error.visible{
  display:block;
}

.elbulin-booking .eb-reserve{
  width:100%;
  height:40px;
  margin:14px 0 0;
  border:2px solid var(--eb-green);
  border-radius:6px;
  background:var(--eb-green);
  color:#fff;
  font-size:.9rem;
  font-weight:800;
  cursor:pointer;
  padding:0 16px;
}

.elbulin-booking .eb-reserve:hover{
  background:var(--eb-green-hover);
  border-color:var(--eb-green-hover);
}

.elbulin-booking .eb-loading-overlay{
  position:absolute;
  inset:0;
  z-index:50;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.88);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .18s ease,visibility .18s ease;
  border-radius:10px;
}

.elbulin-booking .eb-loading-overlay.visible{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

.elbulin-booking .eb-loading-box{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 15px;
  background:#fff;
  border:2px solid var(--eb-text);
  border-radius:10px;
  box-shadow:0 16px 35px rgba(0,0,0,.14);
  color:var(--eb-text);
  font-size:.86rem;
  font-weight:700;
}

.elbulin-booking .eb-spinner{
  width:18px;
  height:18px;
  border:2px solid var(--eb-border);
  border-top-color:var(--eb-green);
  border-radius:50%;
  animation:ebSpin .8s linear infinite;
}

.elbulin-booking .eb-config-error{
  padding:18px;
  border:1px solid #f1c7bd;
  border-radius:8px;
  background:#fff2ef;
  color:var(--eb-danger);
  font-size:.85rem;
  line-height:1.45;
}

@keyframes ebSpin{
  to{transform:rotate(360deg)}
}

@media(max-width:560px){
  .elbulin-booking{
    width:100%;
    height:100vh;
    max-width:none;
    border-radius:0;
    border-left:0;
    border-right:0;
    box-shadow:none;
    padding:12px;
  }

  .elbulin-booking .eb-guests{
    inset:54px 12px 12px 12px;
  }

  .elbulin-booking .eb-guests-backdrop,
  .elbulin-booking .eb-loading-overlay{
    border-radius:0;
  }

  .elbulin-booking .eb-day{
    height:340px;
    min-height:33px;
    font-size:.82rem;
  }
}
