/*Blank CSS*/

.theater-seats {
   /* display: grid;*/
    grid-template-columns: repeat(8, 120px); /* 10 kolom, sesuaikan jumlah kolom */
    gap: 8px; /* Jarak antar kotak kursi */
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    justify-content: center !important;
}

.homes-content .ameneniti-2 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
/* Kotak kursi */
.seat {
    width: 120px;
    height: 40px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.seat:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);;
}

/* Kursi tersedia */
.seat.available {
    background-color: #34eb98;
    color: white;
}


/* Kursi terisi */
.seat.booked {
    background-color: #f44336;
    color: white;  
}

/* Kursi terpilih */
.seat.waiting {
    background-color: #ff9800;
    color: white;
}

.seat.past {
    background-color: #9e9e9e;
    color: white;
}

.booking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); /* otomatis isi kolom */
    gap: 10px; /* jarak antar item */
    margin-top: 20px;
}

.booking-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 600;
    user-select: none;
}
.border-style {
  border: 2px solid red !important;
  border-radius: 6px;
}
.custom-checkbox.disabled-label .checkmark {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background-color: white;
  border: 2px solid red;
  text-align: center;
  line-height: 24px;  
  cursor: not-allowed;
}

.custom-checkbox.disabled-label .checkmark::before {
  content: "x";
  color: red;
  font-weight: bold;
  font-size: 20px;
}

.custom-checkbox.waiting-label .checkmark {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background-color: white;
  border: 2px solid red;
  text-align: center;
  line-height: 24px;  
  cursor: not-allowed;
}

.custom-checkbox.waiting-label .checkmark::before {
  content: "0";
  color: red;
  font-weight: bold;
  font-size: 20px;
}

/* Sembunyikan checkbox asli */
.custom-checkbox input {
    display: none;
}

/* Kotak custom */
.custom-checkbox .checkmark {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background-color: #ddd;
    display: inline-block;
    position: relative;
    transition: 0.3s;
    display: flex !important;               /* flexbox aktif */
    align-items: center !important;         /* vertikal tengah */
    justify-content: center !important;     /* horizontal tengah */
}

/* Tanda centang */
.custom-checkbox .checkmark::after {
    content: "+"; /* fa-check-square */   
    position: absolute;
    
    bottom : 4.25px;
    left: 5.1px;
    font-size: 25px;
    color: white;
    opacity: 0;
    transition: 0.3s;
}

/* Warna aktif saat dicentang */
.custom-checkbox input:checked ~ .checkmark {
    background-color: #ff1b6b; /* warna pink/merah kayak contohmu */
}

/* Munculin centang saat dicentang */
.custom-checkbox input:checked ~ .checkmark::after {
    opacity: 1;
}

.time-label {
    font-size: 14px;
    color: #333;
}



.widget-boxed-body .form-control, 
.widget-boxed-body .form-time-event, 
.widget-boxed-body select, 
.widget-boxed-body textarea {
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}

.widget-boxed-body .form-control:focus, 
.widget-boxed-body .form-time-event:focus, 
.widget-boxed-body select:focus, 
.widget-boxed-body textarea:focus {
    border-color: #007bff !important;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5) !important;
    outline: none !important;
}

#suggestions {
    max-height: 150px;
    overflow-y: auto;
    position: absolute;
    z-index: 9999;
    background-color: #fff;
    border: 1px solid #ccc;
    width: 100%; /* Agar lebarnya mengikuti lebar input */
    border-radius: 4px;
    top: 100%; /* Pastikan dropdown muncul tepat di bawah input */
    left: 0;
}

.list-group-item {
    cursor: pointer;
}

.list-group-item:hover {
    background-color: #f8f9fa; /* Warna latar saat hover */
}

