:root {
  --bs-primary: #0793D1;
  --bs-text-color: #000000;
}

body {
  font-family: "Roboto", sans-serif;
  color: var(--bs-text-color);
  font-size: 16px;
  line-height: 21px;
	background: #F8FDFF;

}


h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  font-weight: bold;
  color: var(--bs-text-color);
}

h2 {
  line-height: 40px;
}

a {
  color: var(--bs-primary);
  text-decoration: none;
}
img 
{
	max-width: 100%;
}
.btn 
{
	padding: 8px 16px 8px 16px;
	gap: 5px;
	display: inline-flex;
	font-size: 14px;
	font-weight: 400;
	line-height: 18.1px;
	text-align: left;
	box-shadow: none !important;
	border-radius: 4px;
	
}
.btn-primary  , .btn-primary:focus ,  .btn-primary:hover
{
	background-color: #0793D1;
	border-color: #0793D1;
}

.header {
  padding: 15px 0;
  box-shadow: 0px 4px 20px 0px #00000014;
	background: #fff;
}
.content-section
{
	padding: 50px 0;
}
h2 {
  font-family: Roboto;
  font-size: 28px;
  font-weight: 700;
  line-height: 36.2px;
  text-align: left;
	margin: 0;
}
.card-box {
  background: #fff;
  box-shadow: 0px 4px 12px 0px #E4EFF4;
  border-radius: 8px;
}
.card-box-header {
  padding: 25px 20px;
  border-bottom: 1px solid #E0E0E0;
  gap: 50px;
}
.card-box-content {
    padding: 10px 20px;
}
.status-box {
  display: flex;
  min-height: 60px;
  align-items: center;
  width: 100%;
	border: 1px solid #E3E3E3;
	border-radius: 6px;
  cursor: pointer;
	
	margin-bottom: 10px;
}
.status-box.active{
  border:none;
  cursor: pointer;
  background: #EFFAFF;
}
.status-box:hover 
{
	background: #EFFAFF;
	border-color: #EFFAFF;
}
.device-ID {
  display: flex;
  padding: 10px 20px;
  font-size: 18px;
  font-weight: 400;
  line-height: 23.27px;
  text-align: left;
  color: #000000;
  min-height: 50px;
  align-items: center;
  gap: 10px;
  width: 500px
}
.details-partition{
  padding-left: 10px;
  border-left: 1px solid #A0C3D3;
  width: 70%;
}
.device-ID strong
{
	font-weight: 500;
	line-height: 23.27px;
	text-align: left;
	color: #0793D1;
}
.channel-no
{
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 400;
	line-height: 18.1px;
	color: #63757C;
	display: flex;
	align-items: center;
	gap: 10px;
	text-align: left;
}
.channel-no strong
{
	font-weight: 500;
	font-size: 18px;
	color: #000000;
}
.right-section {
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  column-gap: 60px;
}
.status
{
	color: #63757C;
	font-size: 14px;
	font-weight: 400;
	line-height: 18.1px;
	text-align: left;
	display:flex;
	gap: 10px;
	align-items: center;

}
.tag-btn {
  padding: 3px 9px 3px 9px;
  gap: 10px;
  border-radius: 5px;
  display: inline-flex;
  font-size: 14px;
}
.connected
{
	background: green;
  color: #E9F2FF;
}
.process
{
	background: #FFEED6;
	color: #DF8506;
}
.time-status {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: 400;
  color: #63757C;
  line-height: 18.1px;
  text-align: center;
}
.time-status  strong 
{
	color: #000;
}
.content-page-box .device-ID {
  display: inline-flex;
  padding: 0px 20px 0px 0px;
  min-height: inherit;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
}
.content-page-box .device-ID b{
  color: black;
}
.content-page-box  .channel-no {
    display: inline-flex;
	padding: 0px 0px 0px 20px;
}
.content-section table thead th {
  background: #34657F;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 20.69px;
	white-space: nowrap;
  padding: 12px 20px;
  text-align: left;
	border-color: #34657F;
}
.content-section table tbody td
{
	vertical-align: middle;
	padding: 12px 20px;
	font-size: 16px;
	font-weight: 400;
	color: #000;
	line-height: 20.69px;
	text-align: left;

}
.table
{
	border: 1px solid #E3E3E3;
	border-top: 1px solid #34657F;
}
.temp {
  border-radius: 2px;
  background: #EFFAFF;
  padding: 6px 15px;
  min-width: 150px;
  display: inline-block;
}
.temp-bg{
  margin-right: 5px;
  border-radius: 2px;
  background: #EFFAFF;
  padding: 1px 8px;
  display: inline-block;
}
.Disconnect-modal .modal-dialog 
{
	
	max-width: 400px;
}

.Disconnect-modal .modal-content {
  border-radius: 16px;
  text-align: center;
	/* padding: 30px; */
  border-color: #fff;
}
.Disconnect-modal h3 
{
	font-size: 20px;
	font-weight: 500;
	line-height: 25.86px;
	display: inline-block;
	width: 100%;
	margin-bottom: 25px;
	text-align: center;

}
.btn-cancel 
{
	background: #EBEBEB;
	color: #9D9D9D;
	border-color: #EBEBEB;
}
.btns 
{
	display: flex;
	gap: 10px;
	justify-content: center;
}
/* .Disconnect-modal .modal-body {
  padding: 0;
} */

.reading {
  display: inline-flex;
  gap: 20px;
}
.reading label {
  font-size: 14px;
  font-weight: 400;
  line-height: 18.1px;
  text-align: left;
  width: 100%;
  display: inherit;
  color: #63757C;
}
.temp-pressure {
  display: flex;
  width: auto;
  font-size: 13px;
  color: #63757C;
  min-width: 250px;
}
.temp-inlet-pressure{
  display: flex;
  width: auto;
  font-size: 13px;
  color: #63757C;
}
@media screen and (max-width: 1023px)
{
	.container
	{
		max-width: 100%;
	}
	.right-section
	{
		gap: 10px;
	}
}
@media screen and (max-width: 767px)
{
	.card-box-header .row {
    flex-wrap: wrap;
	}
	.content-page-box .device-ID {
		padding: 0;
		border: none;
		min-height: inherit;
	}
	.content-page-box .channel-no {
		padding: 0;
	}
	.card-box-header .text-end {
		text-align: left!important;
	}
	.status-box
	{
		flex-direction: column;
		min-height: inherit;
	}
	.status-box .device-ID , .status-box .channel-no
	{
		width: 100%;
		border: none;
    min-height: inherit;	
    padding: 10px 20px 0;
		flex-direction: row;
		justify-content: center;
	}
	.right-section {
    margin-top: 20px;
    margin-bottom: 20px;
	  flex-wrap: wrap;
    justify-content: center;
    margin-left: inherit !important;
  } 
  .time-status {
      width: 100%;
      margin-bottom: 20px;
  }

}

.text-left{
  text-align: left;
}

ul{
  list-style: none;
}

.modal-dialog .modal-header button.close {
  border-radius: 50px;
  background: #fff;
  border: none;
  min-width: 30px;
  height: 30px;
  color: #000;
  font-size: 25px;
}

.form-control{
  box-shadow: none !important;
}

.check-img {
  position: relative;
  top: -2px;
}

.input-container {
  display: flex;
  align-items: center;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 9999px;
  padding: 10px 16px;
  width: 600px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.input-container input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  color: #333;
}

.input-container input::placeholder {
  color: #999;
}

.input-container button {
  background-color: #f1f1f1;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.input-container button:hover {
  background-color: #e0e0e0;
}

.input-container button svg {
  width: 18px;
  height: 18px;
  stroke: #333;
}

.device-mode-box {
  display: flex;
  gap: 20px;
  padding: 5px 20px;
  background: #f9fafc;
  border-radius: 12px;
  /* border: 1px solid #dfe3e8; */
  align-items: center;
  margin-bottom: 5px;
  justify-content: end;
}

.mode-option {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid #ccd4dd;
  cursor: pointer;
  transition: 0.25s ease;
  /* background:#2B93D1 */
}

/* .mode-option:has(input:checked) {
  background: #2B93D1;  
  border-color: #2B93D1;
} */

.label-text {
  font-size: 15px;
  font-weight: 600;
  color: black;
}

/* Label text becomes white only when selected */
/* .mode-option:has(input:checked) .label-text {
  color: white;
} */

/* .mode-option:hover {
  background: #eef5ff;
  border-color: #2B93D1;
} */

.mode-option input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.label-text {
  font-size: 15px;
  font-weight: 600;
  color: black;
}

/* highlight selected radio option */
/* */



.pagination {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  justify-content: center;
  font-family: Arial;
}

.page-btn {
  padding: 6px 12px;
  border: 1px solid #ccc;
  cursor: pointer;
  border-radius: 5px;
  user-select: none;
}

.page-btn.active {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

.page-btn:hover {
  background: #e6e6e6;
}

.page-btn.disabled {
  opacity: 0.5;
  pointer-events: none;
}


#devices-container {
  position: relative;
}

#devices-container {
  position: relative; 
  min-height: 150px; /* ensures loader area size */
}

.dots {
  padding: 6px 12px;
  color: #aaa;
  user-select: none;
}











#devices-container.loading {
  /* opacity: 0.5;          fade effect */
  /* pointer-events: none;  prevent clicking during loading */
  /* transition: opacity 0.3s ease; */
}

.loader-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  border-radius: 8px; /* Match card-box radius if needed */
}

