.dg-booking{
  margin:0 0 36px;
}

#booking-area{
  scroll-margin-top:110px;
}

.dg-booking__hero{
  background:linear-gradient(135deg,#103b80,#1e4f9b);
  color:#fff;
  border-radius:32px;
  padding:28px 30px;
  box-shadow:0 18px 50px rgba(16,59,128,.08);
  margin-bottom:22px;
}

.dg-booking__hero h2{
  margin:0 0 8px;
  font-size:42px;
  line-height:1.12;
}

.dg-booking__hero p{
  margin:0;
  color:rgba(255,255,255,.88);
  line-height:1.8;
  font-size:16px;
  max-width:900px;
}

.dg-booking__grid{
  display:grid;
  grid-template-columns:1.55fr 1fr;
  gap:20px;
  align-items:start;
}

.dg-booking__card{
  background:#fff;
  border:1px solid #dbe3ef;
  border-radius:22px;
  box-shadow:0 18px 50px rgba(16,59,128,.08);
  overflow:hidden;
}

.dg-booking__head{
  padding:18px 20px;
  border-bottom:1px solid #dbe3ef;
  background:#f8fbff;
}

.dg-booking__head h3{
  margin:0 0 6px;
  color:#103b80;
  font-size:24px;
}

.dg-booking__head p{
  margin:0;
  color:#667085;
  font-size:14px;
  line-height:1.8;
}

.dg-booking__body{
  padding:20px;
}

.dg-booking__monthbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:18px;
}

.dg-booking__month{
  font-size:30px;
  font-weight:800;
  color:#142033;
}

.dg-booking__monthnav{
  display:flex;
  gap:10px;
}

.dg-booking__navbtn{
  text-decoration:none;
  border:1px solid #dbe3ef;
  background:#fff;
  border-radius:14px;
  min-width:50px;
  min-height:50px;
  font-size:20px;
  color:#103b80;
  font-weight:700;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.dg-booking__week,
.dg-booking__calendar{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:12px;
}

.dg-booking__week div{
  text-align:center;
  font-size:14px;
  color:#667085;
  padding:6px 0;
  font-weight:700;
}

.dg-day{
  min-height:122px;
  border:1px solid #dbe3ef;
  border-radius:20px;
  background:#fff;
  padding:12px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  text-decoration:none;
  transition:.2s ease;
}

.dg-day strong{
  font-size:28px;
  line-height:1;
  color:#142033;
}

.dg-day small{
  font-size:13px;
  color:#667085;
  line-height:1.5;
}

.dg-day span{
  align-self:flex-start;
  font-size:12px;
  line-height:1;
  padding:6px 10px;
  border-radius:999px;
  background:#eef4ff;
  color:#103b80;
  font-weight:700;
}

.dg-day.is-empty{
  border-style:dashed;
  background:#fafcff;
  pointer-events:none;
}

.dg-day.is-open:hover{
  transform:translateY(-1px);
}

.dg-day.is-open.is-selected{
  border-color:#103b80;
  background:#eaf1ff;
  box-shadow:0 0 0 2px rgba(16,59,128,.10) inset;
}

.dg-day.is-closed,
.dg-day.is-full{
  background:#f8fafc;
}

.dg-day.is-closed strong,
.dg-day.is-closed small,
.dg-day.is-full strong,
.dg-day.is-full small{
  color:#98a2b3;
}

.dg-day.is-closed span,
.dg-day.is-full span{
  background:#eef2f6;
  color:#98a2b3;
}

.dg-booking__legend{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:16px;
}

.dg-booking__legend span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#667085;
  font-size:13px;
}

.dg-booking__legend i{
  width:10px;
  height:10px;
  border-radius:999px;
  display:inline-block;
}

.dg-booking__legend i.is-open{background:#1d4ed8}
.dg-booking__legend i.is-closed{background:#b42318}
.dg-booking__legend i.is-full{background:#98a2b3}

.dg-booking__meta{
  margin-bottom:16px;
}

.dg-booking__meta label{
  display:block;
  margin:0 0 10px;
  color:#344054;
  font-size:14px;
  font-weight:800;
}

.dg-booking__value{
  width:100%;
  min-height:58px;
  border:1px solid #dbe3ef;
  border-radius:16px;
  background:#f8fbff;
  padding:0 16px;
  display:flex;
  align-items:center;
  font-size:18px;
  font-weight:700;
  color:#103b80;
  box-sizing:border-box;
}

.dg-booking__slots{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.dg-slot{
  min-height:72px;
  border:1px solid #dbe3ef;
  border-radius:18px;
  background:#fff;
  padding:12px 14px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:4px;
  cursor:pointer;
}

.dg-slot input{
  display:none;
}

.dg-slot__time{
  font-size:17px;
  font-weight:800;
  color:#142033;
}

.dg-slot small{
  color:#667085;
  font-size:12px;
}

.dg-slot.is-open.is-selected{
  border-color:#103b80;
  background:#eaf1ff;
  box-shadow:0 0 0 2px rgba(16,59,128,.10) inset;
}

.dg-slot.is-full{
  background:#f8fafc;
  cursor:not-allowed;
}

.dg-slot.is-full .dg-slot__time,
.dg-slot.is-full small{
  color:#98a2b3;
}

.dg-slot.is-closed{
  background:#fff3f2;
  border-color:#fecdca;
  cursor:not-allowed;
}

.dg-slot.is-closed .dg-slot__time{
  color:#b42318;
}

.dg-empty{
  padding:14px 16px;
  border:1px dashed #dbe3ef;
  border-radius:16px;
  color:#667085;
  background:#fafcff;
}

.dg-booking__tip{
  margin-top:14px;
  padding:14px 16px;
  border-radius:16px;
  background:#f8fbff;
  border:1px solid #dbe3ef;
  color:#667085;
  line-height:1.8;
  font-size:14px;
}

@media (max-width:1100px){
  .dg-booking__grid{
    grid-template-columns:1fr;
  }
}

@media (max-width:760px){
  .dg-booking{
    margin:0 0 26px;
  }

  #booking-area{
    scroll-margin-top:90px;
  }

  .dg-booking__hero{
    padding:22px 18px;
    border-radius:24px;
  }

  .dg-booking__hero h2{
    font-size:30px;
  }

  .dg-booking__month{
    font-size:24px;
  }

  .dg-booking__slots{
    grid-template-columns:1fr;
  }

  .dg-booking__week,
  .dg-booking__calendar{
    gap:8px;
  }

  .dg-day{
    min-height:94px;
    padding:10px;
    border-radius:16px;
  }

  .dg-day strong{
    font-size:22px;
  }
}
#booking-area{
  scroll-margin-top:110px;
}