.btn {
  text-decoration: none;
  display: inline-block;
  font-weight: 400;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  background-color: transparent;
  border: 1px solid transparent;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.375rem;
  transition: background-color 0.15s ease-in-out,
              border-color 0.15s ease-in-out,
              box-shadow 0.15s ease-in-out;
}
#turn-list-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
  }
#turn-table th {
	text-align: center;
	background: #3a5ec7;
	color: #fff;
	font-size: 22px;
}
  #turn-list-table th, #turn-list-table td {
    border: 1px solid #ccc;
    padding: 8px;
  }
  
  .locked input, .locked select, .locked button {
    pointer-events: none;
    background-color: #f5f5f5;
  }
.appt-time {
	width: 120px;
}
  
  .actions button {
    margin-right: 1rem;
	  margin-top: 0px;
	  width: 130px;
  }
.drop-tech {
	background: #f5e13b;
	color: #333;
	
}
.tech-name{
	width: 100%;
}
.disabled {
	opacity: 0.2;
}
.turn-saved-list {
	display: none;
}
#open-list-modal {
	display: flex;
    flex-direction: column;
}
#saved-list {
	list-style: none;
    display: block;
    gap: 4px;
}
#saved-list li {
	float: left;
	margin-right: 8px;
}
#saved-list li button {
	cursor: pointer;
}
.actions button:hover {
	padding: .3em 1em !important;
}
.add-appointment{
	background: #53c767;
	display: inline-block;
    width: 32px;
	height: 24px;
}
.set-now{
	border: 1px solid;
    padding: 0 4px;
	background: #0d6efd;
	color: #fff;
}
.add-row{
	border: 1px solid;
    padding: 0 4px;
	background: #0d6efd;
	color: #fff;
	width: 32px;
	height: 24px;
	display: inline-block;
    line-height: 20px;
}
.remove-row{
	border: 1px solid;
    padding: 0 4px;
	background: #ff0000;
	color: #fff;
	width: 32px;
	height: 24px;
	display: inline-block;
    line-height: 20px;
}
.drop-tech
{
	border: 0px;
    height: 24px;
	width: 32px;
}
.tr-green {
	background: #53c767 !important;
}
.tr-yellow {
	background: #f5e13b !important;
}
.tr-purple {
	background: #a70ba7 !important;
}
.table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  color: #212529;
  font-family: system-ui, sans-serif;
  font-size: 1rem;
}

.table th,
.table td {
  padding: 0.75rem;
  vertical-align: top;
  border: 1px solid #dee2e6;
}

.table thead {
  background-color: #f8f9fa;
  font-weight: bold;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.05);
}
.table-striped tbody tr:nth-of-type(even) {
	background-color: rgba(0, 0, 0, 0.1);
}
.table-bordered {
  border: 1px solid #dee2e6;
}
.table td input, .table td select {
	border: 0px;
	min-height: 26px;
    font-size: 18px;
}
.table-hover tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.075);
}
.table .service {
	width: 100%;
}
.text-center{
	text-align: center;
}
.entry-content tr td {
	padding: 4px 8px !important;
}
.purple-btn {
	    background: #a70ba7;
    display: inline-block;
    width: 32px;
    height: 24px;
}
.legend-container {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    background-color: white; /* Background to differentiate from the table */
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.legend-items {
	display: flex;
	gap: 10px;
}
.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.legend-btn {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    border: none;
    border-radius: 50%;
}
.green {
    background-color: #53c767;
}

.yellow {
    background-color: #f5e13b;
}

.purple {
    background-color: #a70ba7;
}

.legend-container span {
    font-size: 14px;
    color: #333;
}
.turn-table-container {
	text-align: center;
}
select.tech-name option[disabled] {
  color: gray;
  background-color: #f0f0f0;
  font-style: italic;
}
#saved_table thead th {
	padding: 8px;
}
#saved_table tbody button {
	width: 60px;
	cursor: pointer;
}
.hide {
	display: none;
}
.error-wrap{
	position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    text-align: center;
}
.error-wrap p {
	position: sticky;
    top: 50%;
    width: 100%;
}
.error-wrap p a {
	color: #fff;
}
.wrap .tablenav-pages a{
	display: inline-block;
    vertical-align: baseline;
    min-width: 30px;
    min-height: 30px;
    margin: 0;
    padding: 0 4px;
    font-size: 16px;
    line-height: 1.625;
    text-align: center;
	color: #2271b1;
    border-color: #2271b1;
    background: #f6f7f7;
	cursor: pointer;
    border-width: 1px;
    border-style: solid;
    -webkit-appearance: none;
    border-radius: 3px;
    white-space: nowrap;
    box-sizing: border-box;
}
@media (max-width: 968px) {
	/* 
	#turn-table {
	  display: grid;
	  grid-template-columns: repeat(2, 1fr); 
	  width: 100%; 
	  border-collapse: collapse; 

	#turn-table thead,
	#turn-table tbody,
	#turn-table tr {
	  display: contents; 
	}

	#turn-table th,
	#turn-table td {
	  border: 1px solid #ccc;
	  padding: 10px;
	  text-align: center;
	}

	
	#turn-table th:nth-child(1) {
	  grid-column: 1;
		width: 100%;
	}
	#turn-table th:nth-child(2) {
	  grid-column: 2;
width: 100%;
	}
	#turn-table th:nth-child(3) {
	  grid-column: 1 / span 2; 
width: 100%;
	}
	#turn-table th:nth-child(4) {
	  grid-column: 1;
width: 100%;
	}
	#turn-table th:nth-child(5) {
	  grid-column: 2;
width: 100%;
	}

	
	#turn-table td:nth-child(1) {
	  grid-column: 1;
	}
	#turn-table td:nth-child(2) {
	  grid-column: 2;
	}
	#turn-table td:nth-child(3) {
	  grid-column: 1 / span 2; 
	}
	#turn-table td:nth-child(4) {
	  grid-column: 1;
		border-bottom: 3px solid #3a5ec7;
	}
	#turn-table td:nth-child(5) {
	  grid-column: 2;
		border-bottom: 3px solid #3a5ec7;
	}*/
	.legend-container{
		flex-direction: column;
	}
	.actions button{
		width: 80px;
    	padding: 4px;
		font-size: 1rem;
	}
	#turn-table th {
		padding: 8px;
		font-size: 1rem;
	}
	
	#turn-table th:first-child {
		width: 40%;
		min-width: 120px;
	}
	.table td input, .table td select {
		font-size: 0.8rem;
	}
	.appt-time {
		width: 80px;
		color:#4e4e4e;
	}
	
}

/* @media (max-width: 480px) {
	#turn-table tbody tr td:nth-child(1)::before {
		content: attr(data-th) "Name: ";
		text-align: left;
        font-size: 12px;
        width: 100px;
	}
	#turn-table tbody tr td:nth-child(2)::before {
		content: attr(data-th) "Appointment: ";
		text-align: left;
        font-size: 12px;
        width: 100px;
	}
	#turn-table tbody tr td:nth-child(3)::before {
		content: attr(data-th) "Service: ";
		text-align: left;
        font-size: 12px;
        width: 100px;
	}
	#turn-table tbody tr td:nth-child(4)::before {
		content: attr(data-th) "Time: ";
		text-align: left;
        font-size: 12px;
        width: 100px;
	}
	#turn-table tbody tr td:nth-child(5)::before {
		content: attr(data-th) "Action: ";
		text-align: left;
        font-size: 12px;
        width: 100px;
	}
} */

@media (max-width: 560px) {
/* 	body {
		min-width: 560px
	} */
	.turn-table-container {
		margin-top: 30px;
	}
}
table.bt thead,table.bt tbody th{display:none}table.bt tfoot th,table.bt tfoot td,table.bt tbody td{border:0;display:block;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;vertical-align:top;float:left\9;width:100%\9}table.bt tfoot th::before,table.bt tfoot td::before,table.bt tbody td::before{content:attr(data-th) ": ";display:inline-block;-webkit-flex-shrink:0;-ms-flex-shrink:0;flex-shrink:0;font-weight:bold;width:6.5em}table.bt tfoot th.bt-hide,table.bt tfoot td.bt-hide,table.bt tbody td.bt-hide{display:none}table.bt tfoot th .bt-content,table.bt tfoot td .bt-content,table.bt tbody td .bt-content{vertical-align:top}.bt-wrapper.active{max-height:310px;overflow:auto;-webkit-overflow-scrolling:touch}table.bt.bt--no-header tfoot td::before,table.bt.bt--no-header tbody td::before{display:none}
