@import url('https://fonts.googleapis.com/css?family=Raleway:400,700');

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;	
	font-family: Raleway, sans-serif;
}

::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-thumb {
    background: #007bff; 
}
::-webkit-scrollbar-thumb:hover {
    background: #007bff; 
}

body {
	background: linear-gradient(90deg, #C7C5F4, #776BCC);		
}

/* .login-container {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
} */

.screen {
    background: linear-gradient(90deg, #5D54A4, #7C78B8);
    position: relative;
    height: 100%;
    width: -webkit-fill-available;
    box-shadow: 0px 0px 24px #5C5696;
}	
.screen__content {
	z-index: 1;
	position: relative;	
	height: 100%;
}

.screen__background {		
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 0;
	-webkit-clip-path: inset(0 0 0 0);
	clip-path: inset(0 0 0 0);	
}

.screen__background__shape {
	transform: rotate(45deg);
	position: absolute;
}

.screen__background__shape1 {
	height: 520px;
	width: 520px;
	background: #FFF;	
	top: -50px;
	right: 120px;	
	border-radius: 0 72px 0 0;
}

.screen__background__shape2 {
    height: 220px;
    width: 220px;
    background: #6C63AC;
    top: -103px;
    right: 51px;
    border-radius: 32px;
}

.screen__background__shape3 {
    height: 540px;
    width: 190px;
    background: linear-gradient(270deg, #5D54A4, #6A679E);
    top: -24px;
    right: 165px;
    border-radius: 32px;
}

.screen__background__shape4 {
    height: 400px;
    width: 183px;
    background: #7E7BB9;
    top: 265px;
    right: 205px;
    border-radius: 60px;
}

.login {
    width: 320px;
    padding: 30px;
    padding-top: 30px;
    padding-bottom: 200px;
}

.login__field {
    padding: 20px 0px;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.login__icon {
    position: relative;
    /* top: 30px; */
    color: #7875B5;
}
.login input[type="text"], select {
	border: none;
	border-bottom: 2px solid #D1D1D4;
}

.login__input {
	border: none;
	border-bottom: 2px solid #D1D1D4;
	background: none;
	padding: 10px;
	padding-left: 24px;
	font-weight: 700;
	width: 75%;
	transition: .2s;
}

.login__input:active,
.login__input:focus,
.login__input:hover {
	outline: none;
	border-bottom-color: #6A679E;
}

.login__submit {
	background: #fff;
	font-size: 14px;
	margin-top: 30px;
	padding: 16px 20px;
	border-radius: 26px;
	border: 1px solid #D4D3E8;
	text-transform: uppercase;
	font-weight: 700;
	display: flex;
	align-items: center;
	width: 100%;
	color: #4C489D;
	box-shadow: 0px 2px 2px #5C5696;
	cursor: pointer;
	transition: .2s;
}

.login__submit:active,
.login__submit:focus,
.login__submit:hover {
	border-color: #6A679E;
	outline: none;
}

.button__icon {
	font-size: 24px;
	margin-left: auto;
	color: #7875B5;
}

.social-login {	
	position: absolute;
	height: 140px;
	width: 160px;
	text-align: center;
	bottom: 0px;
	right: 0px;
	color: #fff;
}

.social-icons {
	display: flex;
	align-items: center;
	justify-content: center;
}

.social-login__icon {
	padding: 20px 10px;
	color: #fff;
	text-decoration: none;	
	text-shadow: 0px 0px 8px #7875B5;
}

.social-login__icon:hover {
	transform: scale(1.5);	
}
.logo-area img {
	width: 170px;
	padding-top: 120px;
	padding-left: 20px;
}

/* patient list page */

.header-logo {
    text-align: center;
    background-color: #fff;
    padding: 10px 0px;
}
.header-logo img {
	width: 150px;
}
.buttons {
    display: flex;
    justify-content: space-between;
}

.header {
    display: flex;
    align-items: center;
    position: relative;
    padding: 20px 4%;
    background: #333;
    color: #fff;
    border-bottom: #0779e4 3px solid;
    flex-direction: column;
    align-content: space-between;
    position: relative;
	padding-bottom: 0px;
}

.burger-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    left: 20px;
}


.desktop-nav {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 250px; 
    height: 100%;
    background: #333;
    z-index: 1000;
    flex-direction: column;
    padding-top: 70px;
	border-right: #0779e4 3px solid;
}

.desktop-nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.desktop-nav ul li {
    border-bottom: 1px solid #0779e4;
    position: relative;
}

.desktop-nav ul li a {
    color: #fff;
    padding: 10px 20px;
    display: block;
    text-decoration: none;
}

.desktop-nav ul li a:hover,
.desktop-nav ul li a.active {
    background: #555;
}

.desktop-nav ul li a.active {
    background: #0779e4; 
    color: #fff; 
}

.desktop-nav .submenu {
    display: none;
    list-style-type: none;
    padding: 0;
    margin: 0;
    background: #444; 
    position: relative;
    top: 0;
}

.desktop-nav ul li:hover .submenu {
    display: block;
	border: 2px solid #0779e4;
}

.nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 70%;
    height: 100%;
    background: #333;
    z-index: 1000;
    padding-top: 60px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.nav-menu.open {
    transform: translateX(0);
}

.nav-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.nav-menu ul li {
    border-bottom: 1px solid #0779e4;
    position: relative;
}

.nav-menu ul li a {
    color: #fff;
    padding: 10px 20px;
    display: block;
    text-decoration: none;
}

.nav-menu ul li a:hover {
    background: #555;
}

.nav-menu .submenu {
    display: none;
    list-style-type: none;
    padding: 0;
    margin: 0;
    background: #444; 
    position: absolute;
    left: 0;
    width: 100%;
	position: relative;
}

.nav-menu ul li.active .submenu {
    display: block;
}

.close-btn {
    font-size: 30px;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    color: #fff;
}

.content {
    margin-left: 250px; 
    padding: 20px;
}
.head-top {
    display: flex;
}

@media (max-width: 768px) {
    .burger-menu {
        display: block;
    }

    .desktop-nav {
        display: none;
    }
    
    .nav-menu {
        display: block;
    }

    .content {
        margin-left: 0;
    }
}




.back-button {
	position: absolute; 
	left: 10px; 
	cursor: pointer;
	text-decoration: none;
	display: flex;
	align-items: center;
}
.back-button svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: white; 
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.header h1 {
	font-size: 24px;
	font-weight: 500;
}
.filters {
	background: #fff;
	padding: 15px;
	border-radius: 5px;
	margin-top: 20px;
}
.filters div {
	margin-bottom: 10px;
}
.patient-list {
	background: #fff;
	padding: 15px;
	border-radius: 5px;
	margin-top: 20px;
	margin-bottom: 40px;
}
.patient-item {
	border-bottom: 1px solid #ccc;
	padding: 10px 0;
	position: relative;	
}
.patient-item:last-child {
	border-bottom: none;
}
.filter-label {
	margin-right: 10px;
}
input[type="text"], select {
	width: 100%;
	padding: 10px;
	margin-top: 5px;
	border: 1px solid #ccc;
	border-radius: 5px;
}
.filters a,
.patient-list a,
.popup a {
	display: inline-block;
	padding: 5px 10px;
	font-size: 16px;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	outline: none;
	color: #fff !important;
	background-color: #8278d1;
	border: none;
	border-radius: 5px;
	margin-top: 10px;
}
.popup {
	display: none;
	position: fixed;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.4);
}
.popup-content {
	background-color: #fefefe;
	margin: 15% auto;
	padding: 20px;
	border: 1px solid #888;
	width: 80%;
	max-width: 400px;
	border-radius: 5px;
}
.popup h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
	margin-top: -4px;
}
.close:hover,
.close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}
.search-container {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 20px;
}
.popup-area {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
	margin-bottom: 15px;
}

.search-box {
	position: relative;
	width: 100%;
}

.search-box input {
	width: 100%;
	padding: 10px 40px 10px 20px;
	border: 1px solid #ccc;
	border-radius: 20px;
	font-size: 16px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search-box input:focus {
	outline: none;
	border-color: #007bff;
}

.search-box .icon {
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	font-size: 20px;
	color: #888;
	margin-top: 5px;
}

.search-box .placeholder-text {
	position: absolute;
	top: 50%;
	left: 20px;
	transform: translateY(-50%);
	font-size: 16px;
	color: #888;
	pointer-events: none;
	transition: 0.2s;
	background-color: #fff;
}

.search-box input:focus + .placeholder-text,
.search-box input:not(:placeholder-shown) + .placeholder-text {
	transform: translateY(-150%);
	font-size: 12px;
	color: #007bff;
}
.list-bottom {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

/* Patient observations */

.tab {
	padding: 10px 20px;
	cursor: pointer;
	border-bottom: none;
	width: 50%;
	text-align: center;
}
.tab.active {
	background: #fff;
	border-bottom: 1px solid #fff;
	color: #333;
}
.tab-content {
	background: #fff;
	padding: 20px;
	border: 1px solid #999;
	margin-top: 20px;
}
.tab-content.hidden {
	display: none;
}
.form-group {
	margin-bottom: 15px;
}
.form-btn {
	display: flex;
	justify-content: space-between;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 600;
}
.form-group input[type="date"], .form-group input[type="text"] {
	width: 100%;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 5px;
}
.form-group a {
	display: inline-block;
	padding: 10px 20px;
	font-size: 16px;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	outline: none;
	color: #fff !important;
	background-color: #0779e4;
	border: none;
	border-radius: 5px;
	margin-top: 10px;
	width: 50%;
}
.device-list {
	list-style: none;
	padding: 0;
}
.device-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px;
	border-bottom: 1px solid #ccc;
}
.device-item:last-child {
	border-bottom: none;
}
.toggle-switch {
	position: relative;
	display: inline-block;
	width: 40px;
	height: 20px;
}
.toggle-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}
.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: .4s;
	border-radius: 34px;
}
.slider:before {
	position: absolute;
	content: "";
	height: 14px;
	width: 14px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: .4s;
	border-radius: 50%;
}
input:checked + .slider {
	background-color: #0779e4;
}
input:checked + .slider:before {
	transform: translateX(20px);
}
.tabs {
	display: flex;
	justify-content: center;
	margin-top: 20px;
	width: 100%;
}
.header-top {
	display: flex;
}
/* .cus-dis {
	display: flex;
	flex-direction: column;
	padding-bottom: 0px;
} */
.ml-5 {
	margin-left: 5px !important;
}
.mr-5 {
	margin-right: 5px !important;
}
.device-list-area {
	margin-top: 30px;
}
.device-list-area h5 {
	color: #0779e4;
	font-weight: 600;
	font-size: 20px;
}
.tab-content label {
	color: #0779e4;
	font-weight: 600;
	font-size: 18px;
}
.device-list-area h6 {
	padding: 10px;
	font-weight: 500;
	margin-top: 20px;
}
.popup {
	display: none;
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 90%;
	background: #fff;
	padding: 20px;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
	z-index: 1000;
	height: auto;
}
.popup-overlay {
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	z-index: 999;
}
.popup .form-group {
	margin-bottom: 10px;
}
.popup .form-group input[type="text"] {
	width: calc(100% - 22px);
}
.popup .form-group input[type="time"] {
	width: calc(100% - 22px);
}
.popup .form-group input[type="date"] {
	width: calc(100% - 22px);
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 5px;
}
.popup .form-group textarea {
	width: calc(100% - 22px);
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 5px;
}
.popup .form-btn {
	display: flex;
	justify-content: space-between;
}

.content {
	width: 90%;
}
.main-container {
	padding: 0% 8%;
	/* margin-left: 10%; */
}
/* .cus-dis {
    margin-left: 10%;
} */

/* responsive */



@media (max-width: 767px) {
    .content {
        max-width: 100%;
		width: 100%;
    }
	.main-container {
		padding: 0% 4%;
		margin-left: 0%;
	}
	.cus-dis {
		margin-left: 0%;
	}
	.sidebar {
		display: none;
	}
	.home-contenti {
		display: none;
	}
	.bx-menu:before {
		content: "\eac1";display: none;
	}
	.sidebar.close ~ .home-section {
		left: unset !important;
		width: unset !important;
	}
	
}



/* sidebar */

.sidebar {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 260px;
	background: #000428; 
	background: -webkit-linear-gradient(to right, #004e92, #000428); 
	background: linear-gradient(to right, #004e92, #000428);
	z-index: 100;
	transition: all 0.5s ease;
  }
  .sidebar.close {
	width: 78px;
  }
  .sidebar .logo-details {
	height: 60px;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
  }
  .sidebar .logo-details i {
	font-size: 30px;
	color: #fff;
	height: 50px;
	min-width: 78px;
	text-align: center;
	line-height: 50px;
  }
  .sidebar .logo-details .logo_name {
	font-size: 22px;
	color: #fff;
	font-weight: 600;
	transition: 0.3s ease;
	transition-delay: 0.1s;
  }
  .sidebar.close .logo-details .logo_name {
	transition-delay: 0s;
	opacity: 0;
	pointer-events: none;
  }
  .sidebar .nav-links {
	height: 100%;
	padding: 0 0 150px 0;
	overflow: auto;
  }
  .sidebar.close .nav-links {
	overflow: visible;
  }
  .sidebar .nav-links::-webkit-scrollbar {
	display: none;
  }
  .sidebar .nav-links li {
	position: relative;
	list-style: none;
	transition: all 0.4s ease;
  }
  .sidebar .nav-links li:hover {
	background: #1d1b31;
  }
  .sidebar .nav-links li .icon-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
  }
  .sidebar.close .nav-links li .icon-link {
	display: block;
  }
  .sidebar .nav-links li i {
	height: 50px;
	min-width: 78px;
	text-align: center;
	line-height: 50px;
	color: #fff;
	font-size: 20px;
	cursor: pointer;
	transition: all 0.3s ease;
  }
  .sidebar .nav-links li.showMenu i.arrow {
	transform: rotate(-180deg);
  }
  .sidebar.close .nav-links i.arrow {
	display: none;
  }
  .sidebar .nav-links li a {
	display: flex;
	align-items: center;
	text-decoration: none;
  }
  .sidebar .nav-links li a .link_name {
	font-size: 18px;
	font-weight: 400;
	color: #fff;
	transition: all 0.4s ease;
  }
  .sidebar.close .nav-links li a .link_name {
	opacity: 0;
	pointer-events: none;
  }
  .sidebar .nav-links li .sub-menu {
	padding: 6px 6px 14px 80px;
	margin-top: -10px;
	background: #1d1b31;
	display: none;
  }
  .sidebar .nav-links li.showMenu .sub-menu {
	display: block;
  }
  .sidebar .nav-links li .sub-menu a {
	color: #fff;
	font-size: 15px;
	padding: 5px 0;
	white-space: nowrap;
	opacity: 0.6;
	transition: all 0.3s ease;
  }
  .sidebar .nav-links li .sub-menu a:hover {
	opacity: 1;
  }
  .sidebar.close .nav-links li .sub-menu {
	position: absolute;
	left: 100%;
	top: -10px;
	margin-top: 0;
	padding: 10px 20px;
	border-radius: 0 6px 6px 0;
	opacity: 0;
	display: block;
	pointer-events: none;
	transition: 0s;
  }
  .sidebar.close .nav-links li:hover .sub-menu {
	top: 0;
	opacity: 1;
	pointer-events: auto;
	transition: all 0.4s ease;
  }
  .sidebar .nav-links li .sub-menu .link_name {
	display: none;
  }
  .sidebar.close .nav-links li .sub-menu .link_name {
	font-size: 18px;
	opacity: 1;
	display: block;
  }
  .sidebar .nav-links li .sub-menu.blank {
	opacity: 1;
	pointer-events: auto;
	padding: 3px 20px 6px 16px;
	opacity: 0;
	pointer-events: none;
  }
  .sidebar .nav-links li:hover .sub-menu.blank {
	top: 50%;
	transform: translateY(-50%);
  }
  .sidebar .profile-details {
	position: fixed;
	bottom: 0;
	width: 260px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #1d1b31;
	padding: 12px 0;
	transition: all 0.5s ease;
  }
  .sidebar.close .profile-details {
	background: none;
  }
  .sidebar.close .profile-details {
	width: 78px;
  }
  .sidebar .profile-details .profile-content {
	display: flex;
	align-items: center;
  }
  .sidebar .profile-details img {
	height: 52px;
	width: 52px;
	object-fit: cover;
	border-radius: 16px;
	margin: 0 14px 0 12px;
	background: #1d1b31;
	transition: all 0.5s ease;
  }
  .sidebar.close .profile-details img {
	padding: 10px;
  }
  .sidebar .profile-details .profile_name,
  .sidebar .profile-details .job {
	color: #fff;
	font-size: 18px;
	font-weight: 500;
	white-space: nowrap;
  }
  .sidebar.close .profile-details i,
  .sidebar.close .profile-details .profile_name,
  .sidebar.close .profile-details .job {
	display: none;
  }
  .sidebar .profile-details .job {
	font-size: 12px;
  }
  .home-section {
	position: relative;
	left: 260px;
	width: calc(100% - 260px);
	transition: all 0.5s ease;
  }
  .sidebar.close ~ .home-section {
	left: 78px;
	width: calc(100% - 78px);
  }
  .home-section .home-content {
    height: 60px;
    display: flex;
    align-items: center;
    position: absolute;
    left: 2%;
    top: 0;
}
.bx-menu:before {
    content: "\eac1";
    color: #fff;
}
  .home-section .home-content .bx-menu,
  .home-section .home-content .text {
	color: #11101d;
	font-size: 35px;
  }
  .home-section .home-content .bx-menu {
	margin: 0 15px;
	cursor: pointer;
  }
  .home-section .home-content .text {
	font-size: 26px;
	font-weight: 600;
  }
  @media (max-width: 420px) {
	.sidebar.close .nav-links li .sub-menu {
	  display: none;
	}

	
  /* added by siraj 30-1-2025 toggle button device issue */
	.device-item {
	
		justify-content: space-around;
		
	}
  }


  /* added by siraj 30-1-2025 toggle button device design issue */
  @media (max-width: 700px) {
	.device-item {
	
		justify-content: space-around;
		
	}
  }

  /* daily observation  */

  
  .option-buttons {
	display: inline-flex;
	gap: 1em;
	justify-content: space-between;
}
.option-button {
	display: inline-block;
	padding: 10px 40px;
	border: 1px solid #ccc;
	border-radius: 5px;
	cursor: pointer;
	text-align: center;
	user-select: none;
	background-color: #fff;
}
.option-button input[type="radio"] {
	display: none;
}

.option-button input[type="checkbox"] {
	display: none;
}
.option-button.active {
	background-color: #007bff;
	color: white;
	border-color: #007bff;
}
/* .form-group-row {
    display: flex;
    justify-content: space-between;
} */
label.option-button {
    font-weight: 500;
    font-size: 16px;
    color: #333;
}
input[type="number"] {
	width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
}

.obs-btn {
	padding: 10px 30px;
	background-color: #007bff;
	color: #fff !important;
}
.obs-btn:hover {
	border: 1px solid #007bff;
	color: #007bff !important;
	background-color: transparent;
}
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    background-color: white;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    border-radius: 8px;
}

#popup-overlay2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

@media (max-width:499px) {
	.obs-btn {
		width: 100%;
		text-align: center;
	}
	label.option-button {
		font-weight: 500;
		font-size: 14px;
		color: #333;
	}
	.option-button {
		padding: 10px 30px;
	}
}
.comment-icon {
    margin-left: 10px;
    cursor: pointer;
    font-size: 16px;
    vertical-align: middle;
}
.comment-icon.active {
    color: #007bff;
}
.comment-area {
    display: none;
    margin-top: 10px;
}
.comment-area textarea {
    width: 100%;
    height: 60px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    resize: none;
	font-size: 14px;
	width: 100% !important;
}
.pop-2-area label {
	display: flex;
    justify-content: space-between;
}

