body { background-color: #c8ecf5; font-family: 'Roboto', sans-serif; }
.table-container { border:1px solid #dee2e6; border-radius:6px; overflow:hidden; }
.table-scroll { max-height:400px; overflow-y:auto; }
.table-scroll::-webkit-scrollbar { width:8px; }
.table-scroll::-webkit-scrollbar-thumb { background:#999; border-radius:4px; }
.table-scroll table { width:100%; border-collapse:collapse; }
.table-scroll thead th { position:sticky; top:0; background:#f8f9fa; z-index:2; text-align:center; }
.spinner-container { text-align:center; padding:20px; }
video { max-width:150px; max-height:80px; cursor:pointer; }

/* Minimized upload panel container */
#minimizedContainer {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  z-index: 1200;
}

/* Individual upload box */
.minUploadBox {
  width: 320px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  padding: 12px;
  display: flex;
  flex-direction: column;
}
.minUploadBox .title { font-weight:600; font-size:14px; margin-bottom:8px; }
.minUploadBox .progress { height:8px; margin-top:6px; }
.minUploadBox .controls { display:flex; justify-content:flex-end; gap:8px; margin-top:6px; }
.minUploadBox .spinner-container { display:flex; align-items:center; gap:6px; margin-bottom:6px; }

/* Small minimize button in modal header */
.modal-header .btn-minimize {
  background: transparent;
  border: none;
  font-size: 18px;
  line-height: 1;
  margin-right: 8px;
  cursor: pointer;
}
.modal-header .btn-minimize:focus { outline: none; }

#fileSpinner { display:none; margin-top:10px; }

/* Button spinner style */
.btn-spinner {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}
.btn-spinner .spinner-border {
  width: 1rem;
  height: 1rem;
  border-width: 2px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -0.5rem;
  margin-left: -0.5rem;
}

/* autocomplete css start */
.autocomplete-items {
  border: 1px solid #ddd;
  border-top: none;
  background: white;
  max-height: 250px;
  overflow-y: auto;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.autocomplete-item {
  padding: 8px 10px;
  cursor: pointer;
  transition: background 0.2s;
}

.autocomplete-item:hover {
  background-color: #f1f1f1;
}

/* autocomplete css end */

/* Responsive */
@media (max-width:480px){
  #minimizedContainer .minUploadBox { width: 92%; }
}

/* topic section */
.input-group {
  display: flex;
  width: 100%;
}

.input-group .form-control {
  flex: 1;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  white-space: nowrap;
}

.autocomplete {
  position: relative;
}

.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-top: none;
  z-index: 99;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  max-height: 200px;
  overflow-y: auto;
}

.autocomplete-item {
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid #d4d4d4;
}

.autocomplete-item:hover {
  background-color: #e9e9e9;
}
/* autocomplete  section */
