* {
	margin: 0;
	padding: 0;
	box-sizing: border-box
}

body,
html {
	height: 100%;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column
}

form.row>  .col{    padding-right: 5px!important;}
textarea.form-control {
    width: 98% !important;
}
a.blue_icon{
	color: #007bff!important;
}
.text-blue{
	color: #007bff!important;
}





.coming-soon {
	pointer-events: none;
    opacity: 0.5; 
    position: relative;
    user-select: none; 
}

.coming-soon span,
.coming-soon svg {
    pointer-events: none;
}
.w-25 {
    width: 25% !important;
}
.w-47{
    width: 47% !important;
}
.w-42{
	width: 42% !important;
}
.w-43{
	width: 43% !important;
}
.mr-1{margin-right: 6px!important}
/*Alert and Confirm*/
.custom-alert {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.custom-alert-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 80%;
    max-width: 300px;
}
.custom-alert-content p{
	margin-bottom:5px;
}

.custom-alert button {
    margin-top: 10px;
    padding: 8px 25px;
    border: none;
    background: #007bff;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.custom-confirm {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.custom-confirm-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 80%;
    max-width: 300px;
}

.custom-confirm button {
    margin: 10px;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#confirmYes {
    background: #007bff;
    color: white;
    width: 90px;
}

#confirmNo {
    background: #d9d9d9;
    color: black;
    width: 90px;
}











/* .coming-soon:hover::after {
    content: "Coming Soon!";
    position: absolute;
    background-color: black;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    display: block;
} */
body {
	font-family: Arial, sans-serif;
	background-color: #f5f5f5;
	display: flex;
	flex-direction: column;
	height: 100%
}

header.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #fff;
	padding: 8px 20px 8px 24px;
	border-bottom: 1px solid #f6f6f6
}

.header-left .icon {
	height: 40px
}

.header-right {
	display: flex;
	align-items: center
}

.header-right>div:not(:last-child) {
	padding-right: 12px
}

.add-button {
	display: block;
	background-color: #007bff;
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 20px;
	color: #fff;
	font-size: 28px
}
.add-button.user{
	font-size: 16px!important
}


/*Search Form Start*/
/* Initially hide the select until it is enhanced */
header.header .select2-hidden {
    opacity: 0; /* Make it invisible */
    position: absolute; /* Ensure it doesn't affect layout */
    pointer-events: none; /* Prevent interaction */
}
/* Prevent the flash of unstyled dropdown */
header.header .select2-container {
    opacity: 1; /* Hide Select2 container initially */
    transition: opacity 1.3s ease; /* Smooth fade-in effect */
}
/* Hide the default Select2 dropdown arrow (caret) */
header.header .select2-container .select2-selection__arrow {
    display: none;
}
/* Add a custom search icon inside the Select2 container */
header.header .select2-container .select2-selection {
    position: relative;
    border-radius: 20px!important;
    background-color: #ebebeb;
    width: 40px;
    height: 40px;
    border: none;
    z-index: 1035;
}

header.header .select2-container .select2-selection:before {
    content: "🔎︎"; /* Search icon */
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-size: 16px;
    pointer-events: none; /* Prevent interaction with the icon */
}



.header_tp .select2-dropdown--below{
	width: 260px!important
}
.header_tp .select2-dropdown {
	left: -225px !important;
    top: -44px;
    background: transparent;
}
.header_tp .select2-selection--single .select2-selection__rendered{
    display: none; 
}
.header_tp .select2-search--dropdown .select2-search__field {
    padding: 4px;
    box-sizing: border-box;
    border: none;
    width: 260px;
    height: 40px;
    border: none;
    border-radius: 20px;
    background-color: #ebebeb;
    padding: 0 30px 0 10px;
    cursor: pointer;
    transition: width .3s ease-in-out, text-indent .3s ease-in-out, padding .3s ease-in-out;
}
.header_tp  .select2-search--dropdown .select2-search__field{
	border:none!important
}
.header_tp .select2-search--dropdown .select2-search__field:focus-visible {
	outline:none!important
}

.header_tp .select2-dropdown {
    background-color: #fff;
    border: none!important;
}
.header_tp .select2-results__option{
	overflow: auto
}
.header_tp .select2-results__options{
	display: block;
	background: #fff;
    border: 1px solid #aaa;
    margin: -3px;
    width: 90%;
    position: relative;
    margin: -3px 0px 0px 18px;
    border-radius: 6px;
}
.header_tp .select2-results__option .select2-results__option {
    overflow: hidden;
    padding: 5px;
}

.header_tp .select2-results__option--highlighted[aria-selected] {
    background-color: #007bff0d!important;
    color: inherit;
    overflow: hidden;
}
.header_tp .search-container {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: fit-content
}

.search-bar {
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 20px;
	background-color: #ebebeb;
	padding: 0 30px 0 10px;
	text-indent: -9999px;
	cursor: pointer;
	transition: width .3s ease-in-out, text-indent .3s ease-in-out, padding .3s ease-in-out
}

.search-bar:focus {
	outline: 0;
	cursor: text
}

.search-button {
	position: absolute;
	right: 23px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 16px;
	color: #000;
	pointer-events: none
}

.search-button:before {
	color:#525f7f;
    content: "🔎︎"; /* Search icon */
    position: absolute;
	top: 50%;
    right: -1px;
    transform: translateY(-50%);
    font-size: 16px;
    pointer-events: none; /* Prevent interaction with the icon */
}

/*Search Form End*/

.dropdown-wrap {
	position: relative
}
.dropdown-wrap>button {
	cursor: pointer
}
.profile-button {
	display: flex;
	align-items: center;
	cursor: pointer;
	background: 0 0;
	border: none
}
.profile-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	margin-right: 5px
}

.dropdown-menu {
	display: none;
	position: absolute;
	top: 50px;
	right: 0px !important;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 5px;
	width: 210px;
	z-index: 1000;
    overflow: hidden;
	
}
.dropdown-menu a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px;
	text-decoration: none;
	color: #000;
	position: relative;
	font-size: 14px;
}
.dropdown-menu a svg{
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.dropdown-menu a.btn-hidden{display:none}


.dropdown-menu a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 10%;
	width: 80%;
	height: 1px;
	background: #eee;
	transition: all .3s ease
}
.dropdown-menu div.company_info{
    background: #f0f0f080;
    color: #000 !important;
    font-size: 12px;
    border-bottom: 1px solid #e1e1e1;
}
.dropdown-menu span strong{font-size: 14px}

.dropdown-menu span {
    display: block;
    padding: 6px 10px;
}

.dropdown-menu a.visit-is-done{cursor: auto}



.dropdown-menu a:last-child::after {
	display: none
}

.dropdown-menu a:hover {
	background-color: #f0f0f0
}

.main {
	background: #fff;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
	overflow-y: auto
}

.block {
	background: #fff
}
.block-1 .icon-row,
.block-2 .icon-row{
	display: flex;
	justify-content: space-between;
}
.block-1 .icon-row{
	margin: 18px 12px
}
.block-2 .icon-row{
	margin: 15px 12px
}

.block-1.box{
	border: 1px solid #e1e1e1;
    border-radius: 12px;
    margin: 20px 10px;
    padding: 12px;
}
.button-wrap {
    display: inline-block;
    position: relative;
	margin: 0px 2px;
}
.button-white {
	font-size: 14px;
	background: #fff;
	color: #000;
	padding: 6px 12px;
	border-radius: 15px;
	border: 1px solid #000;
	cursor: pointer
}

.button-white:hover {
	background: #ebebeb;
    color: #000;
}

.button-white.selected,
.button-white.active {
	background: #333;
	color: #fff
}

.button-white.selected:hover {
	background: #4b4b4b
}
.button-white  .timereg-note{
    position: absolute;
    bottom: 2px;
    right: -4px;
	background-color: #f1eeee;
    color: #333;
    font-size: 11px;
    width: fit-content;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 300;
    padding: 0px 4px;
    transform: translate(0%, 100%);	
}





.map-container .google-map {
	width: 100%;
	height: 300px
}
.map-day-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	margin-top: 12px;
	padding: 0 8px;
	flex-wrap: nowrap;
	overflow: hidden;
	width: 100%;
}
.map-day-nav__button {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 10px;
	border-radius: 999px;
	background-color: #f5f7fa;
	color: #2f2f2f;
	text-decoration: none;
	border: 1px solid #dde1eb;
	font-weight: 500;
	font-size: 0.75rem;
	line-height: 1.2;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
	flex-shrink: 0;
}
.map-day-nav__button:hover {
	background-color: #e9ecf3;
	color: #111;
	border-color: #cfd4e2;
}
.map-day-nav__icon {
	display: flex;
	align-items: center;
}
.map-day-nav__button svg {
	display: block;
}
.map-day-nav__current {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 8px;
	color: #1d1d1f;
	font-weight: 600;
	font-size: 0.75rem;
	line-height: 1.2;
	white-space: nowrap;
	margin: 0 6px;
	flex: 1 1 auto;
	text-align: center;
	min-width: 0;
}
.be-gone {
    position: absolute !important;
    left: -100% !important;
}
.button-transparent {
	cursor: pointer
}

.block-2 {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #ffffff
}

.block-2 .title {
	font-size: 20px;
    float: left;
}

.block-2 #tasks_wrap {
	border: 1px solid #e1e1e1;
	border-radius: 12px;
	font-size: 14px;
	min-height: 222px;
	height:100%
}

.block-2 .tasks {border-radius: 12px;}

.block-2 .tasks .task {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 12px;
	border-bottom: 5px solid #eee
}
/* Remove the gap if .information is empty */
.tasks .task .information:not(:has(> p)){ 
	display: none
}


.block-2 .task:nth-child(odd) {
	background-color: #f7f7f76e
}

.block-2 .task:nth-child(even) {
	background-color: #fff
}

.block-2 .task:last-child {
	border-bottom: none
	
}
.block-2 .task.accepted{
}
.block-2 .task.declined{
}
.tasks>.task .sub-title{
	font-size: 16px
}
.tasks .task  div p:not(.sub-title){
	font-size: 14px	
}

.tasks .task .task-header {
	display: flex;
	justify-content: space-between;
	align-items: center
}

.tasks .task .header-left {
	display: flex;
	align-items: center
}

.tasks .task .header-left.accepted-status-completed {
	opacity:0.9;
    pointer-events: none;
}


.tasks .task .header-left .switch {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 28px
}

.tasks .task .header-left .switch input {
	opacity: 0;
	width: 0;
	height: 0
}

.tasks .task .header-left .switch .slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: .4s;
	border-radius: 34px;
	width: 55px;
}

.tasks .task .header-left .switch .slider:before {
	position: absolute;
	content: "";
	height: 23px;
	width: 23px;
	border-radius: 50%;
	left: 2px;
	bottom: 3px;
	background-color: #fff;
	transition: .4s
}

.tasks .task .header-left .switch input:checked+.slider {
	background-color: #14bcff
}

.tasks .task .header-left .switch input:checked+.slider:before {
	transform: translateX(28px)
}

.tasks .task .header-left .toggle-text {
	font-size: 12px;
	color: #a0a0a0;
	line-height: 1;
}

.tasks .task .header-right {
	display: flex;
	gap: 10px;
	align-items: center
}

.tasks .task .header-right .icon {
    position: relative;
	width: 48px;
	height: 48px;
	background-color: #f0f0f0;
	color: #333;
	border: none;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	outline: 0;
    padding: 0px;
	transition: all .3s ease
}

.maps-info-popup .stop ,
.tasks .task .header-right .icon.timer-started{
    background-color: #007bff!important;
    color: #fff!important;
}
.maps-info-popup .start,
.tasks .task .header-right .icon.timer-started:hover{
    background-color: #007bff;
    color: #fff;
}





.tasks .task .header-right .icon a{
	color: inherit;
    padding: 14px;
}
.tasks .task .header-right .icon label{
	position: relative;
	display: inline-block;
    padding: 12px;
    cursor: pointer;
}

.tasks .task .header-right .icon.disabled {
	opacity: 0.5;
	pointer-events: none;	
}
.spinner {
    display:none;
    width: 46px;
    height: 46px;
    color: #ffffff6e;
    position: absolute;
    top:0px;
    right:0px;
    
}
.animate-spin {
    animation: spin 1.5s linear infinite;
}






.tasksv .task .header-right .icon a {
	color: inherit;
}
.tasks .task .header-right .icon:hover {
	background-color: #333;
	color: #fff
}

.tasks .task .header-right .dropdown {
	position: relative
}

.tasks .task .header-right .dropdown-content {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
	z-index: 10
}

.tasks .task .header-right .dropdown-content a {
	display: block;
	padding: 8px 16px;
	text-decoration: none;
	color: #333
}

.tasks .task .header-right .dropdown-content a:hover {
	background-color: #f0f0f0
}

.tasks .task .header-right .dropdown:hover .dropdown-content {
	display: block
}

.tasks .task .content1 {
	display: flex;
	flex-direction: column
}

.tasks .task .content1 > div {
	margin: 2px 0
}

.tasks .task .content1 div.case {
	font-weight: 700
}
.tasks .task .content1 div.case a{
	color: inherit;
	font-size:24px;
}

.tasks .task .content1 div.case a:hover{
	color: inherit;
	text-decoration: underline;
}
.tasks .task .content1 span {
	display: block;
	color: #333
}
.tasks .task .content1 span.comma{display: inline-block!important;}

.gm-style .card .status,    
.tasks .task .content1 span.status {
	display: inline-block;
	background: #8f8f8f;
	color: #fff;
	padding: 4px 8px;
	border-radius: 11px;
	font-size: 10px
}

.gm-style .card .status{font-weight: 500;}
.gm-style .card .status.done,
.tasks .task .content1 span.status.done {
	background: #198fef66;
	color: #003659
}
.gm-style .card .status.complete,
.gm-style .card .status.completed,
.tasks .task .content1 span.status.complete,
.tasks .task .content1 span.status.completed {
	background: #2ad26566;
	color: #00591b
}
.gm-style .card .status.scheduled,
.tasks .task .content1 span.status.scheduled {
	background: #ffad14;
}
.gm-style .card .status.not_scheduled,
.tasks .task .content1 span.status.not_scheduled {
	background: #e82d2766;
	color: #590000
}
.gm-style .card .status.current,
.tasks .task .content1 span.status.current {
	background: #ffcc0066;
	color: #595900
}
.tasks .task .content1 .text.timer{
    background-color: #f1eeee;
    color: #333;
	display: inline-block;
	border-radius: 11px;
	padding: 4px 8px;
	font-size: 10px;
}


.tasks .task .information {
	display: flex;
	flex-direction: column
}

.tasks .task .information p {
	margin: 2px 0
}

.tasks .task .employee {
	display: flex;
	flex-direction: column
}

.tasks .task .employee p {
	margin: 2px 0
}


.tasks .task .employee p a{
	color: #007bff
}
.tasks .task .employee p a:hover{
	text-decoration: underline;
}


.tasks .task .address {
	display: flex;
	flex-direction: column
}

.tasks .task .address p {
	margin: 2px 0
}


.tasks .task .address p a{
	color: inherit
}
.tasks .task .address p a:hover{
	text-decoration: underline;
}

.tasks .task .contact {
	display: flex;
	flex-direction: column
}

.tasks .task .contact p {
	margin: 2px 0
}
.tasks .task .contact p a{
	color: inherit
}
.tasks .task .contact p a:hover{
	text-decoration: underline;
}

.tasks .task .task-footer {
	display: flex;
	justify-content: space-between;
	align-items: center
}

.tasks .task .footer-left {
	display: flex;
	gap: 10px;
	align-items: center
}

.tasks .task .footer-right {
	display: flex;
	gap: 10px;
	align-items: center
}

.tasks .task .footer-left .icon.icon_square,
.tasks .task .footer-right .icon.icon_square {
	position: relative;
	width: 45px;
	height: 45px;
	background-color: #f0f0f0;
	color: #333;
	border: none;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	outline: 0;
	transition: all .3s ease
}

.badge {
	position: absolute;
	top: 2px;
	right: 2px;
	background-color: #333;
	color: #fff;
	font-size: 11px;
	width: 18px;
	height: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	font-weight: 400;
	transform: translate(50%, -50%)
}


.badge.wide {
	position: absolute;
	top: 2px;
	right: 2px;
	background-color: #333;
	color: #fff;
	font-size: 11px;
	width: 60px;
	height: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	font-weight: 400;
	transform: translate(15%, -50%)
}
.timereg .badge{
    top: 6px;
    right: 8px;
    width: 42px;
}



.tasks .task .footer-left .icon.icon_square:hover,
.tasks .task .footer-right .icon.icon_square:hover {
	background-color: #333;
	color: #fff
}

.fab-container {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 1000
}

.fab-button {
	width: 60px;
	height: 60px;
	background-color: #007bff;
	color: #fff;
	font-size: 24px;
	border: none;
	border-radius: 50%;
	box-shadow: 0 4px 6px rgba(0, 0, 0, .2);
	cursor: pointer;
	transition: transform .3s ease, box-shadow .3s ease
}

.fab-button:hover {
	transform: scale(1.1);
	box-shadow: 0 6px 8px rgba(0, 0, 0, .3)
}

.fab-menu {
	display: none;
	position: absolute;
	bottom: 80px;
	right: 0;
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 5px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, .2);
	z-index: 1000
}

.fab-menu a {
	display: block;
	padding: 10px
}













/* Hidden popup */
.popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Show popup */
.popup-container.active {
    visibility: visible;
    opacity: 1;
}

.popup-content {
    position: relative;
    background: white;
	min-width: 280px;
	min-height: 240px;            
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.popup-content img {
    max-width: 100%;
    max-height: 400px;
    display: block;
    border-radius: 5px;
}

.close-btn {
	position: absolute;
	top: -6px;
	right: -5px;
	font-size: 12px;
	cursor: pointer;
	background: #333;
	color: white;
	border: none;
	padding: 10px 13px;
	border-radius: 50%;
}
		       
/*MUI Like Standalone Components*/
.mui-switch-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.mui-switch-text {
    cursor: pointer;
    color: #bbbbbb;
}

.mui-switch-text.active {
    color: #323232
}

.mui-switch {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 14px;
    margin: 8px 14px;
}

.mui-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.mui-switch .mui-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ebebeb7a;  
    transition: background 0.3s;
    border-radius: 26px;
    height:14px;
    width: 34px;
    
}

.mui-switch .mui-slider::before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 0px;
    bottom: -1px;
    background-color: #2fc1ff;
    transition: transform 0.3s;
    border-radius: 50%;
}

.mui-switch input:checked + .mui-slider::before {
    transform: translateX(19px);
}

/* Ensure the loading screen is centered */
.loading-container {
    position: relative; 
    width: 100%; 
    height: 100%; 
    display:none;
}

.loading-screen {
    position: absolute;
    top: 0;
    left: 0; 
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); 
    justify-content: center;
    align-items: center;
    display: flex;
}
.loading-circle {
    width: 40px;
    height: 40px;
    border: 4px solid #1976d2;
    border-top: 4px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (min-width:768px) {
	.main {
		flex-direction: row
	}
	.block-2 {
		height: auto;
	}
	.block-1,
	.block-2{
		flex: 1;
		margin: 0px 10px 10px 10px;
	}
}
.modal-header {
    border-bottom: 1px solid #e9ecef!important;
}
.modal-body form.row{font-size: 15px}
form[name="visit"] .form-group {
  display: flex;
  align-items: center;
  margin-bottom:12px!important
}
form[name="visit"] .col-label,
form[name="visit"] label.d-block {
  width: 40%; 
  text-align: left;
}
form[name="visit"] .col-input {
	display: flex;
	width: 60%;
}
.time-form-modal .form-control {
	border: 1px solid rgba(50, 151, 211, .25);
    padding: 4px 6px !important;
    height: 34px !important;
    min-height: 34px;
    line-height: 1.2;
}
.time-form-modal .form-control[type="date"] {
    line-height: 34px;
}


span.comma{
	padding: 9px 5px;
	display: inline-flex;
}
.tp_select{
    width: 99%;
    display: inline-flex;
    padding: 13px;
    border: 1px solid rgba(50, 151, 211, .25);
    border-radius: 6px;
}
.tp_select:hover,
.tp_select:focus{
	    outline: none;
}
.tp_button_primary {
    border: none !important;
    background-color: #007bff !important;
    color: #fff !important;
}
.tp_button_primary:disabled,
.tp_button_primary.disabled {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
    pointer-events: none;
}

.tp_button_secondary{
	border: none !important;
    background-color: #edeff6 !important;
    color: #333!important;
}

.manual-time-type-field {
    display: block;
    width: 100%;
    max-width: 100%;
}

.manual-time-type-select {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(50, 151, 211, .35);
    border-radius: 6px;
    background-color: #fff;
    line-height: 1.4;
    font-size: 14px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #000 50%), linear-gradient(135deg, #000 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% + 5px), calc(100% - 13px) calc(50% + 5px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

@media (max-width: 575.98px) {
    .modal-body form.row .form-group {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .modal-body form.row .form-group > label {
        width: 100%;
        margin-bottom: 6px;
    }

    .modal-body form.row .form-group .col-input {
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 8px;
    }

    .modal-body form.row .form-group .col-input input,
    .modal-body form.row .form-group .col-input select,
    .modal-body form.row .form-group .col-input textarea {
        width: auto;
        flex: 1 1 auto;
        min-width: 0;
    }

    .modal-body form.row .form-group .col-input input[type="date"] {
        flex: 1.6 1 auto;
    }

    .modal-body form.row .form-group .col-input .comma {
        flex: 0 0 auto;
        padding: 0 4px;
    }

    .manual-time-type-select {
        padding: 12px;
        font-size: 16px;
    }
}


.tp_button_secondary:hover,
.tp_button_primary:hover {
    transform: none;
    box-shadow: none;
    opacity: 0.8;
}
.tp_button_primary:disabled:hover,
.tp_button_primary.disabled:hover {
    opacity: 0.45;
}
/*Create new case form*/
.main form[name="visit"]{
	width: 100%;
    padding: 20px 25%;

}
#visit{
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    font-size: 14px;
    display: block;
    height: auto;
    padding: 20px;
}





#visit .form-group label {
	width: 40%;
	max-width: 180px;
}

#visit .form-group span.select2  .select2-selection{
	height: 46px;
    border: 1px solid rgba(50, 151, 211, .25);
    border-radius: 6px;
}
#visit .form-group span.select2  .select2-selection--multiple{
	height: auto!important
}


#visit .form-group span.select2  .select2-selection .select2-selection__rendered{
	line-height: 46px;
	color: #8898aa;
}




#visit .form-group span.select2  .select2-selection .select2-selection__choice {
    height: 23px;
    line-height: 24px;
}
#visit .form-group {
    display: flex;
    align-items: center;
    width: 100%;
}

#visit .col-form-label {
    width: 40%;  /* Ensures it takes up 40% */
    flex-shrink: 0; /* Prevents shrinking */
        max-width: 180px;
}

#visit .form-inline {
    flex: 1; /* Takes remaining 60% */
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}
#visit button[type="submit"]{
	background: #007bff;
	box-shadow: none;
	border: none;
    margin-left: auto;
}
#visit button[type="submit"]:hover {
    transform: none;
    box-shadow: none;
    opacity: 0.8
}



.uploaded-files .file{
	display: block;
	height: 44px;
    line-height: 44px;
    padding: 0px 12px;
    font-size: 15px;
    border-bottom: 1px solid #ddd;
}
.uploaded-files .file:hover{
	background: #edeff6 !important
}

.uploaded-files .file i {
	display: inline-block;
	width: 4%;
	position: relative;
    top: -16px;	
	}

.uploaded-files .file a{
	display: inline-block;
	width: max-content;
	text-overflow: ellipsis;
    overflow: hidden;
    max-width: 180px;
    white-space: nowrap;	
	}

.uploaded-files .file small{
	width: 15%;     
	min-width: 62px;
	text-align: right;
	float: right;
}
/*Google Maps Popup*/
.gm-style-iw-chr{height: 24px}

.gm-style-iw-chr button{
	height: 24px!important;
    width: 24px!important;
}
.gm-style-iw-chr button span{
    width: 20px !important;
    height: 20px !important;
    margin: 0px !important;
}
.gm-style .gm-style-iw-c,
.gm-style .gm-style-iw-d{
    max-height: 220px !important;
}

.gm-style .card .caseNumber{display:inline-block; font-weight:400 ;    margin-right: 4px;}
.gm-style .card{border: none!important}
.gm-style .card .maps-info-popup a.icon{
    position: relative;
    width: 45px;
    height: 45px;
    background-color: #f0f0f0;
    color: #333;
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    outline: 0;
    transition: all .3s ease;
    float: left;
    margin-right: 8px;	
    padding: 13px 11px 13px 11px;
}
.gm-style .content a{
	color: #007bff;	
}
/* Mobile-specific styles */
@media (min-width: 576px) {
    .modal-dialog {
        max-width: 580px!important;
    }
    .tasks .task .header-left .toggle-text {
	    padding: 8px 10px;
	}
}
@media (max-width: 577px) {
    .block-2 .title{display:none}
	.tasks .task .header-left .toggle-text {
	    padding: 8px 0px 8px 18px;
	
	}
}
@media (max-width: 767px) {
	.block-2 {
		min-height: fit-content;
		padding-bottom: 50px;
	}

	/* Expanded search mode */
	.header.search-active .header-left, .header.search-active .header-right>*:not(.search-container)
		{
		display: none;
	}
	.search-container {
		flex-grow: 1;
		justify-content: center;
	}
	.search-bar {
		width: 40px;
		height: 40px;
		border-radius: 20px;
		padding: 0 20px;
		text-indent: 10px;
		transition: none;
	}
	.search-bar:focus {
		outline: none;
		font-size: 16px;
	}
	.main form[name="visit"] {
		width: 100%;
		padding: 12px;
	}
	.header_tp .select2-dropdown {
		left: 0px !important;
		top: 4px;
		position: fixed;
	}
	.header_tp .select2-dropdown--below {
		width: 100% !important;
	}
	.header_tp .select2-search--dropdown .select2-search__field {
		width: 100%;
	}
	.header_tp .select2-results__options {
		width: 93%;
		margin: 6px 18px 8px 18px;
	}
}
