		/**
	* sanoplan mobile page css
	* called from mobile.html
*/

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
	box-sizing: border-box;
}

.row {
    margin-left:4px; 
    margin-right:4px;
}
/* Create three equal columns that floats next to each other */
.column {
	float: left;
	/*width: 25%;*/
	width: 33.33%;
	padding: 2px;
	height: 120px;
}

/* Clear floats after the columns */
.row:after {
	content: "";
	display: table;
	clear: both;
}

.button-th {
	padding: 5px;
}

#start-button {
	background-color: rgb(180 255 180) !important;
	/*box-shadow: 0px 3px 4px 1px rgba(173, 173, 173, 0.5);*/
	background-image: -o-linear-gradient(bottom, #fff 0%, #cbdcf4 100%);
	background-image: -moz-linear-gradient(bottom, #fff 0%, #cbdcf4 100%);
	background-image: -webkit-linear-gradient(bottom, #fff 0%, #cbdcf4 100%);
	background-image: -ms-linear-gradient(bottom, #fff 0%, #cbdcf4 100%);
	background-image: linear-gradient(to bottom, #fff 0%, #cbdcf4 100%);
	border: solid 1px #bfbfbf;
	border: 1px solid #000;
}

#stop-button {
	background-color: rgb(255 235 145) !important;
	/*box-shadow: 0px 3px 4px 1px rgba(173, 173, 173, 0.5);*/
	background-image: -o-linear-gradient(bottom, #fff 0%, #e6f5b9 100%);
	background-image: -moz-linear-gradient(bottom, #fff 0%, #e6f5b9 100%);
	background-image: -webkit-linear-gradient(bottom, #fff 0%, #e6f5b9 100%);
	background-image: -ms-linear-gradient(bottom, #fff 0%, #e6f5b9 100%);
	background-image: linear-gradient(to bottom, #fff 0%, #e6f5b9 100%);
	border: solid 1px #bfbfbf;
	border: 1px solid #000;
}

.errorInput {
	background: #FFEB91 !important;
}

.load-app {
	position: fixed;
	background-color: #6e72ff;
	border: none;
	border-radius: 10px;
	bottom: 0px;
	right: 4px;
	color: #fff;
}

.line-break {
	margin-bottom: 2%;
}

.header-design {
	background: #ddd !important;
	/*box-shadow:6px 0 7px 2px rgba(0,0,0,.7);*/
	min-height: 1px;
	margin: 0 !important;
	-webkit-box-shadow: 0 10px 10px -10px rgba(0, 0, 0, .7);
	-moz-box-shadow: 0 10px 10px -10px rgba(0, 0, 0, .7);
	box-shadow: 0 10px 10px -10px rgba(0, 0, 0, .7);
	overflow: scroll;
}



.btn {
	font-size: 12px !important;
}

input {
	text-align: center;
	width: 100%;
	height: 28px;
}

#userNameFill {
	font-weight: 600;
}

.header-area {
	background: #ddd;
	padding: 6px 10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.brand-logo {
	width: 20px;
	height: 20px;
}

#username-mobile {
	margin-right: 8px;
}

.close-mobile {
	border: none;
	padding: 2px 8px;
	border-radius: 4px;
	font-weight: bold;
}

.brand-name {
	font-weight: 400;
}

.error-orange-input {
	background-color: rgb(255, 128, 0);
}
.sync-error{
	background-color: red;
}

.btn-active-red {
	background-image: -o-linear-gradient(bottom, #ffe6e6 0%, #ff6666 100%) !important;
	background-image: -moz-linear-gradient(bottom, #ffe6e6 0%, #ff6666 100%) !important;
	background-image: -webkit-linear-gradient(bottom, #ffe6e6 0%, #ff6666 100%) !important;
	background-image: -ms-linear-gradient(bottom, #ffe6e6 0%, #ff6666 100%) !important;
	background-image: linear-gradient(to bottom, #ffe6e6 0%, #ff6666 100%) !important;
}

.btn-active-green {
	background-image: -o-linear-gradient(bottom, #e6ffe6 0%, #00cc00 100%) !important;
	background-image: -moz-linear-gradient(bottom, #e6ffe6 0%, #00cc00 100%) !important;
	background-image: -webkit-linear-gradient(bottom, #e6ffe6 0%, #00cc00 100%) !important;
	background-image: -ms-linear-gradient(bottom, #e6ffe6 0%, #00cc00 100%) !important;
	background-image: linear-gradient(to bottom, #e6ffe6 0%, #00cc00 100%) !important;
}
#display-sync-error-message{
	position:fixed;
	bottom:0%;
	background-color:rgb(0,0,255);
	color:#fff;
	font-size:22px;
	width: 100%;
}
.widthFull{width:100%} 
.center{
	text-align:center; 
}
.reset-nargin{
	margin-block-start: 0.1em!important;
    margin-block-end: 0.6em!important;
}
.no-display{display: none}
.width33{width: 33%;}
.valign-middle{vertical-align: middle}
.width-90{
	width: 90%;
}
.width-25{
	width: 15%;
	width: auto !important;
	white-space: normal;   /* allow wrapping */
}
.width-80{
	width: 100%;
}

.date-field::before {
  content: attr(data-placeholder);
  color: #999;
  pointer-events: none;
}

/* When user picks a date, hide placeholder */
.date-field:valid::before {
  content: "";
}
.btn-width{
	width: 92%;
}


  .card {
    background: white;
    border-radius: 10px;
    padding: 0.3rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    overflow-x: auto;
  }

 .table>thead>tr>th, .table>tbody>tr>th, .table>tfoot>tr>th, .table>thead>tr>td, .table>tbody>tr>td, .table>tfoot>tr>td{
	padding: 4px!important;
 }
  /* --- Date Request Rows --- */
  .date-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
  }

  .date-row input[type="date"] {
    width: 87%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
  }
  /* --- Responsive Fixes --- */
  @media (max-width: 700px) {
    /*.date-row {
      grid-template-columns: 1fr;
    }*/

  }

  body{
	padding-bottom: 50px;
  }

  .time-table{
	width: 98%!important;
  }
  .apply-settings{
	display: none;
  }
  #mobile-loader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.35);
	display: none;          /* Hidden by default */
	justify-content: center;
	align-items: center;
	flex-direction: column;
	z-index: 9999;
  }

	#mobile-loader .spinner {
		width: 45px;
		height: 45px;
		border: 4px solid #fff;
		border-top-color: transparent;
		border-radius: 50%;
		animation: spin 0.8s linear infinite;
	}

	#mobile-loader span {
		color: #fff;
		margin-top: 10px;
		font-size: 14px;
	}

	@keyframes spin {
		from { transform: rotate(0deg); }
		to { transform: rotate(360deg); }
	}
	.spearator{
		margin-top: 5px;
	}
	.text-center{
		text-align: center;
	}
	#sync-data-button{
		margin-left: 4px;
		margin-right: 4px;
		padding: 2px 8px;
	}
	.align-middle{
		vertical-align: middle!important;
		text-align: center;
	}
	.main-data-table{
		width: 100%;
	}

	/* Base Table Styles */
.table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
	border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
}

/* Condensed / Small Variant (.table-condensed or .table-sm) */
.table-condensed th,
.table-condensed td {
    padding: 0.3rem;
}

/* Bordered Variant (.table-bordered) */
.table-bordered {
    border: 1px solid #dee2e6;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid #dee2e6;
}

.table-bordered thead th,
.table-bordered thead td {
    border-bottom-width: 2px;
}

/* Striped Variant (.table-striped) */
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Hover Variant (.table-hover) */
.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.075);
}