
/* ================= 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;
}
.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;
  font-family: 'Poppins', sans-serif;
}

/* ================= 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;
  line-height:40px;
  margin:3px auto;
  border-radius:50%;
  cursor:pointer;
}

.days div:hover{
  background:#3BE79B;
  color:#032E49;
}

.days .active{
  background:#032E49;
  color:#fff;
}

/* ================= TIME ================= */
.time-panel{
  display:none;
}

.time-panel h4{
  margin-bottom:15px;
  font-family: 'Poppins', sans-serif;
}

.time-slot{
  border:1px solid #cfe1ff;
  padding:12px;
  border-radius:8px;
  margin-bottom:10px;
  text-align:center;
  cursor:pointer;
  color:#444444;
  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;
}

/* ================= 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:8px;
  background:#3BE79B;
  color:#032E49;
  font-size:15px;
  cursor:pointer;
}
.schedule-btn:hover{
  background:#91F2C7;
}



.time-panel.disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* booking card fixed height */
.booking-wrapper{
  background:#fff;
  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: 5px 20px;
  border-radius: 5px;
  font-weight: 600;
}

.time-slot.pending .slot-badge {
  background: #f1c40f;
  color: #000;
}

.time-slot.approved .slot-badge {
  background: #3BE79B;
  color: #032E49;
}


/* ================= RESPONSIVE ================= */


@media(max-width:768px){
  .booking-layout{
    grid-template-columns:1fr;
  }
  .calendar{
    border-right:none;
    padding-right:0;
    border-bottom:1px solid #eee;
    padding-bottom:20px;
  }
}


/* Blog comment section */
.comments .children {
    margin-left: 80px;
}

.comments .children .comment {
    background: #f9f9f9;
    margin-top: 20px;
    border-radius: 5px;
}

.comments .children .comment-image img {
    width: 60px;
    height: 60px;
}

.comments .children .comment-main-area {
    padding-left: 80px;
}


@media (max-width: 768px) {
    .comments .children {
        margin-left: 40px;
    }
}









/* ==============================
   404 Error Page
================================= */

.error-404-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f9fafb, #eef2f7);
}

.error-404-section .content {
    text-align: center;
    max-width: 700px;
    margin: auto;
}

.error-message h3 {
    font-size: 42px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
}

.error-message p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 30px;
}

.error-message .theme-btn {
    display: inline-block;
    padding: 14px 35px;
    background-color: #C59658;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.error-message .theme-btn:hover {
    background-color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

/* ==============================
   Responsive
================================= */

@media (max-width: 768px) {
    .error-message h3 {
        font-size: 32px;
    }

    .error-message p {
        font-size: 15px;
    }
}

/* ==============================
   Video Popup Modal - Fresh CSS
================================= */

.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.video-modal-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 36px;
    width: 44px;
    height: 44px;
    line-height: 44px;
    cursor: pointer;
    z-index: 100000;
    transition: opacity 0.3s ease;
    padding: 0;
    font-weight: 300;
}

.video-modal-close:hover {
    opacity: 0.7;
}

.video-modal-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-modal-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive */
@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
    }
    
    .video-modal-close {
        top: -35px;
        font-size: 28px;
        width: 36px;
        height: 36px;
        line-height: 36px;
    }
}