.inner-bg {
    background-image: url("../img/bacground/inner-bg.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


.inner-bg-cta{
    background-image: url("../img/images/cta-bg1.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}


/* ================= SECTION ================= */
.schedule-section{
  padding:50px 15px;
}

.schedule-container{
  max-width:1000px;
  margin:auto;
}

/* ================= HEADER ================= */
.schedule-header{
  text-align:center;
  margin-bottom:30px;
}
.schedule-header h1{
  font-size:32px;
  font-family: 'Poppins', sans-serif;
}
.schedule-header p{
  color:#666;
  margin-top:8px;
}

/* ================= BOOKING CARD ================= */
.booking-wrapper{
  background:#fff;
  border-radius:14px;
  box-shadow:0 10px 40px rgba(0,0,0,.08);
  padding:30px;
}

.booking-header h2{
  margin-bottom:6px;
  font-family: 'Poppins', sans-serif;
}
.booking-header p{
  color:#666;
}

/* ================= LAYOUT ================= */
.booking-layout{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
  margin-top:30px;
}
/* ================= CALENDAR ================= */
.calendar{
  border-right:1px solid #eee;
  padding-right:25px;
}

.calendar-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:35px;
}

.calendar-header button{
  border:none;
  background:none;
  font-size:20px;
  cursor:pointer;
}

.weekdays,
.days{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  text-align:center;
}

.weekdays div{
  font-size:13px;
  color:#aaa;
  margin-bottom:8px;
}

.days div{
  width:40px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:4px auto;
  border-radius:50%;
  cursor:pointer;
}


.days div:hover:not(.blocked):not(.disabled){
  background:#3BE79B;
}

.days .active{
  background:#032E49;
  color:#fff;
  
}

/* Blocked/Disabled dates - non-clickable appearance */
.days .blocked,
.days .disabled {
  color: #c5c5c5 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  background: transparent !important;
  opacity: 0.6;
}

.days .blocked:hover,
.days .disabled:hover {
  background: transparent !important;
}

/* ================= TIME ================= */
.time-panel{
  display:none;
}

.time-panel h4{
  margin-bottom:15px;
}

.time-slot{
  border:1px solid #cfe1ff;
  padding:12px;
  border-radius:8px;
  margin-bottom:10px;
  text-align:center;
  cursor:pointer;
  color:#032E49;
  font-weight:600;
}

.time-slot.active,
.time-slot:hover{
  background:#3BE79B;;
  color:#032E49;
}

.next-btn{
  width:100%;
  padding:12px;
  margin-top:15px;
  border:none;
  border-radius:8px;
  background:#3BE79B;
  color:#032E49;
  font-size:15px;
  cursor:pointer;
  opacity:.5;
}
.next-btn.active{
  opacity:1;
  color:#032E49;
}

.next-btn.active:hover {
  background: #55f1b8;
  color: #032E49;
}

/* ================= FORM ================= */
.schedule-form{
  display:none;
  background:#fff;
  border-radius:14px;
  box-shadow:0 10px 40px rgba(0,0,0,.08);
  padding:30px;
  margin-top:40px;
}

.schedule-form h3{
  margin-bottom:20px;
}

.form-group{
  margin-bottom:18px;
}
.form-group label{
  display:block;
  margin-bottom:6px;
  font-weight:500;
}
.form-group input,
.form-group textarea{
  width:100%;
  padding:12px;
  border-radius:8px;
  border:1px solid #ddd;
}

.schedule-btn{
  width:30%;
  padding:14px;
  border:none;
  border-radius:30px;
  background:#3BE79B;
  color:#032E49;
  font-size:15px;
  cursor:pointer;
}

.schedule-btn:hover{
  background: #86F0C1;
}

.time-panel.disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* booking card fixed height */
.booking-wrapper{
  background:#ffffff;
  border-radius:14px;
  box-shadow:0 10px 40px rgba(0,0,0,.08);
  padding:30px;
  height:100%;              /* fixed */
  overflow:hidden;           /* page scroll off */
}

/* calendar & time equal height */
.booking-layout{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
  height:100%;
}

/* time panel full height */
.time-panel{
  display:block;
  height:100%;
}

/* ONLY time list scroll */
#timeSlots{
  max-height:340px;          /* visible area */
  overflow-y:auto;
  padding-right:6px;
}

/* smooth scrollbar */
#timeSlots::-webkit-scrollbar{
  width:6px;
}
#timeSlots::-webkit-scrollbar-thumb{
  background: #3BE79B;
  border-radius:10px;
}

.time-slot.disabled {
  background: #f3f3f3;
  color: #aaa;
  cursor: not-allowed;
}



.time-slot {
  position: relative;
}

/* PENDING */
.time-slot.pending {
  background: #fff6d6;
  border-color: #f1c40f;
  color: #8a6d00;
  cursor: not-allowed;
}

/* APPROVED */
.time-slot.approved {
  background: #e5e5e5;
  border-color: #999;
  color: #555;
  cursor: not-allowed;
}

/* Badge style */
.slot-badge {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 600;
}

.time-slot.pending .slot-badge {
  background: #f1c40f;
  color: #000;
}

.time-slot.approved .slot-badge {
  background: #0a5836;
  color: #fff;
}

.slot-badge i {
  margin-right: 6px;
  font-size: 11px;
}

/* ================= RESPONSIVE ================= */

/* TABLET */
@media (max-width:991px){

  .booking-layout{
    grid-template-columns:1fr;
  }

  .calendar{
    border-right:none;
    padding-right:0;
    border-bottom:1px solid #eee;
    padding-bottom:25px;
  }

  .days div{
    width:36px;
    height:36px;
    font-size:14px;
  }

  #timeSlots{
    max-height:260px;
  }

  .schedule-btn{
    width:100%;
  }

}

/* MOBILE */
@media (max-width:767px){

  .booking-wrapper{
    padding:20px;
  }

  .schedule-header h1{
    font-size:26px;
  }

  .calendar-header{
    margin-bottom:20px;
  }

  .days div{
    width:34px;
    height:34px;
    font-size:13px;
  }

}

/* SMALL MOBILE */
@media (max-width:480px){

  .days div{
    width:30px;
    height:30px;
    font-size:12px;
  }

  .weekdays div{
    font-size:11px;
  }

  .schedule-header h1{
    font-size:22px;
  }

}

/* error page styles */
/* ===============================
  LAW 404 ERROR PAGE
================================ */

.law-error-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f7f7;
  padding: 60px 20px;
}

.law-error-container {
  background: #ffffff;
  max-width: 700px;
  width: 100%;
  padding: 70px 50px;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

.law-error-code {
  font-size: 110px;
  font-weight: 800;
  color: #0c3c2f;
  margin-bottom: 60px;
}

.law-error-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #111;
}

.law-error-desc {
  font-size: 17px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 40px;
}

.law-error-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.law-btn-primary {
  padding: 14px 32px;
  background: #0c3c2f;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
}

.law-btn-primary:hover {
  background: #092c22;
}

.law-btn-outline {
  padding: 14px 32px;
  border: 2px solid #0c3c2f;
  color: #0c3c2f;
  text-decoration: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
}

.law-btn-outline:hover {
  background: #0c3c2f;
  color: #fff;
}


.search-results {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    z-index: 9999;
    list-style: none;
    padding: 0;
    margin-top: 5px;
}

.search-results li a {
    display: block;
    padding: 10px;
    color: #000;
    text-decoration: none;
}

.search-results li a:hover {
    background: #f5f5f5;
}












.comment-section-area {
    background: transparent; /* ❌ no big bg */
}

/* ALL comments same card */
.comment-card {
    background: #D3FAE9;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 25px;
}

/* Header */
.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comment-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.comment-user img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-user h5 {
    margin: 0;
    font-weight: 600;
}

.comment-user span {
    font-size: 14px;
    color: #777;
}

.comment-text {
    margin-top: 15px;
    line-height: 1.6;
}

.reply-btn {
    font-size: 14px;
    font-weight: 500;
}

/* Reply card only difference */
.reply-card {
    margin-left: 170px;      /* 👈 indent only */
    background: #D3FAE9;    /* 👈 slightly different if you want */
}






