.cft-container {
    margin: 2rem auto;
    max-width: 1000px;
}
.cft-container button{
	background-color: #EB8038;	
}
#cft-addnew-btn {
    margin-bottom: 1rem;
}
#cft-form-wrapper {
    margin-bottom: 2rem;
    padding: 1rem;
    border: 1px solid #ccc;
    background: #fafafa;
}
#cft-form label {
    display: block;
    margin-top: 0.5rem;
}
#cft-form input[type="text"],
#cft-form input[type="file"] {
    width: 100%;
    margin-bottom: 0.5rem;
}
#cft-save-btn,
#cft-cancel-btn {
    margin-right: 1rem;
}
.lightbox {
  cursor: pointer;     /* indicates clickable */
  transition: 0.2s;
}
.lightbox-overlay {
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex; 
  justify-content: center; 
  align-items: center;
  z-index: 9999;
}
.lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  cursor: pointer;
}
.filter-wrapper {
  position: relative;
  display: inline-block;
}
.filter-wrapper input {
  padding-right: 20px; /* space for the clear button */
  box-sizing: border-box;
}
.clear-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #999;
  font-weight: bold;
  font-size: 14px;
  user-select: none;
  display: none; /* hide by default, show on hover/focus */
}
.filter-wrapper:hover .clear-btn,
.filter-wrapper:focus-within .clear-btn {
  display: inline;
}
.ui-autocomplete{
	width: fit-content !important;
	background-color: #1a1a1aBB;
	color: #FFF;
	padding: 8px;
	max-height: 200px;
	overflow-y: scroll;
}
.ui-autocomplete li{
	border-bottom: 1px solid #fff;
	padding: 4px 0px;
}

@media (max-width: 968px){
	#cft-table_wrapper table{
		transform: scale(0.6);
    transform-origin: top left;
	}
	.ast-container{
		padding-left: 6px;
		padding-right: 6px;
	}
	.table.dataTable tbody td{
		padding: 4px;
	}
}
#cft-table tr.cft-expired {
  background-color: #ffe5e5;  /* light red */
}

