body {
	margin-top: 72px;
}

.jumbotron {
	padding: 2rem 1rem;
	margin-bottom: 2rem;
	background-color: #e9ecef;
	border-radius: .3rem;
}

html {
	height: 100%;
	overflow-y: auto;
}

body {
	overflow: hidden;
}


/*.input-group {
	width:auto;
}
*/

.bold {
	font-weight: 600;
}

.notificationsBadge {
	position: relative;
	right: 27px;
}

#heading-row .btn {
	margin: .1rem;
}

#proposalResults select.form-select option {
	text-align: left;
}

#titleRow {
	padding-top: 1rem;
}

.costTableHeading {
	padding-top: 1rem;
}

.efileHeading {
	padding-top: 1rem;
}

#efileUploadButton,
#efileCreateButton {
	margin-top: 1.5rem;
}

select {
	text-align-last: left;
}

.input-group {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	/* width: 100%; */
}

.costTable .row .col-sm-1 {
	flex: 0 0 auto;
	width: 4%;
}

.costTable .row .col-sm-2 {
	flex: 0 0 auto;
	width: 16.6666666667%;
}

.costTable .row .col-sm-5 {
	flex: 0 0 auto;
	width: 41.6666666667%;
}

.costTable .row .col-sm-4 {
	flex: 0 0 auto;
	width: 33.3333333333%;
}

.costTable .row .col-sm-6 {
	flex: 0 0 auto;
	width: 50%;
}

.costTable .row .col-sm-3 {
	flex: 0 0 auto;
	width: 25%;
}

#costTable input:disabled {
	background-color: #d0d0d0;
}

/*chat*/
#chat {
	position: fixed;
	min-width: 300px;
	max-width: 400px;
	right: 50px;
	height: 40px;
	background-color: white;
	color: black;
	bottom: 0;
	padding-left: 1rem;
	padding-right: 1rem;
	padding-bottom: 1rem;
	padding-top: .5rem;
	cursor: pointer;
	display: none;
}

#chat.expanded {
	height: 400px;
	cursor: default;
}

#chatList li:hover {
	cursor: pointer;
}

#chat li {
	background-color: white;
}

#chatUnreadBadge {
	display: none;
	display: inline;
	font-size: .9rem;
}

#chatConversation {
	padding-bottom: 50px;
	overflow: scroll;
	height: 95%;
	display: none;
}

#chatConversation .list-group-item p {
	overflow-x: hidden;
}

#chatWindow {
	padding: 0;
	position: absolute;
	bottom: 10px;
	width: 90%;
	display: none;
}

#chatWindow input {
	width: 100%;
	margin: 0;
}

.sentMessage {
	text-align: right;
}

#chat li.receivedMessage {
	text-align: left;
	background-color: lightblue;
}

#chat .material-icons.chatClose {
	float: right;
	margin-top: 5px;
	cursor: pointer;
	font-size: 1.5rem;
	display: none;
}

#chat .material-icons.chatBack {
	display: none;
	cursor: pointer;
	margin-top: 5px;
	font-size: 1.5rem;
}

/*Nav*/
nav.fixed-top {
	padding-right: 3px;
	padding-left: 1rem;
}

.click {
	cursor: pointer;
}

.pwsItem td,
.customerItem td {
	cursor: pointer;
}

.prioritySelect {
	width: auto;
}

.starredSwitch {
	font-size: 20px;
	margin-top: 5px;
	margin-left: 4rem;
	display: inline-block;
}


h5 .star-icon {
	color: rgb(255, 216, 0);
	border-radius: 50%;
	background: black;
	padding: 0.25rem;
	cursor: pointer;
	position: relative;
	top: 5px;
}

/*Signin Page*/

#backgroundContainer {
	height: 75vh;
}

#backgroundContainer img {
	object-fit: cover;
	height: 100%;
}

.alert.alert-primary.main-alert {
	display: none;
}

#signinSection {
	background: url("/images/drillerDb.jpg") no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

#signinSection-header {
	display: flex;
	justify-content: center;
	align-items: center;
	padding-top: 15rem;
}

#signinSection-header .jumbotron {
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	/* Add drop shadow */
	min-width: 33%;
}

#signinSection .jumbotron {
	padding-top: 1.15rem;
	padding-bottom: 1.15rem;
}

/*Proposals*/
#closeRolodexItem i.material-icons,
#closeProposalItem i.material-icons,
#closeWorkOrderItem i.material-icons {
	font-size: 3.5rem;
	color: black;
}

#proposalsList thead tr:nth-child(1) th {
	position: sticky;
	top: 72px;
	z-index: 10;
	background: white;
}

#completedList thead tr:nth-child(1) th {
	position: sticky;
	top: 72px;
	z-index: 10;
	background: white;
}

#rolodexResults thead tr:nth-child(1) th {
	position: sticky;
	top: 72px;
	z-index: 10;
	background: white;
}

#rolodexResults td {
	padding: .25rem;
}

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

.homeFilter {
	margin-right: 1rem;
}

.homeFilter.selectize-control {
	width: auto;
}

#proposalSection .jumbotron #homeFilterRow {
	padding-left: 1rem;
}


/*  LAB  */

#labListView thead tr:nth-child(1) th {
	position: sticky;
	top: 72px;
	z-index: 10;
	background: white;
}

.timeInput,
.labTimeInput {
	text-transform: uppercase;
}

#labSpreadsheetView {
	margin-left: 10px;
}

#labListView td {
	padding: .25rem;
}

#labEditView thead tr:nth-child(1) th,
#outsideBillingView thead tr:nth-child(1) th {
	position: sticky;
	top: 72px;
	z-index: 10;
}

#labEditView thead tr:nth-child(2) th {
	position: sticky;
	top: 102px;
	z-index: 10;
}

#labEditView td,
#outsideBillingView td {
	padding: .18rem;
	padding-left: 1px;
	padding-right: 1px;
}

#labSection .material-icons {
	top: 5px;
	position: relative;
}


#labEditView thead th,
#outsideBillingView thead th {
	padding: 3px;
	border-top: 0;
	border-bottom: 0;
	background: white;
}

#labEditTable input,
#outsideBillingTable input {
	max-width: 90px;
}

#labRegularView {
	display: none;
}

#labHeader i {
	font-size: 50px;
}

#labFormView .form-group {
	margin-bottom: .1rem;
}

#labTable tr:hover {
	cursor: pointer;
}

#labFormView {
	display: none;
}

#OwnerState {
	text-transform: uppercase;
}

#labFormView label {
	margin-bottom: 0;
}

#labFormView label {
	font-size: 1.2rem;
}

#downloadFieldFormButton {
	display: none;
}

#closeProposalItem,
#closeRolodexItem,
#closeWorkOrderItem {
	position: relative;
	top: 5px;
	float: left;
	right: 10px;
	color: black;
	cursor: pointer;
	user-select: none;
}

#drillerJobs {
	display: none;
}

#drillerJobs {
	margin-top: .75rem;
}

#proposalResults .form-control {
	padding-right: 5px;
	padding-left: 5px;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

#proposalResults .form-control.selectize-control.single {
	padding-left: 0;
}

#proposalResults input,
#proposalResults select {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	max-height: 40px;
}

#proposalResults .form-floating input {
	max-height: 80px;
}

.form-floating input {
	color: black;
}

#proposalResults .input-group-text {
	font-weight: 600;
	font-size: .9rem;
	min-width: 25%;
}

#nav-cost .input-group-text,
#woProposalSection .input-group-text {
	min-width: 33%;
}

#proposalResults .row {
	margin-bottom: 0;
}

.labDownloadSection {
	margin-top: 10px;
	margin-bottom: 10px;
}

#labWorksheetWrapper {
	margin-bottom: 10px;
}

#labWorksheetWrapper .btn-secondary {
	margin-right: 10px;
}

#labWorksheetDate {
	display: inline-block;
	width: auto;
}

#labNoPaddingSection .col.form-group {
	padding-left: 0;
}

#labJobButton {
	display: none;
	margin-bottom: 1rem;
}

#labJobDiv {
	margin-bottom: 1rem;
}

.completedJobColumn .input-group-prepend .input-group-text {
	min-width: 110px;
}

.input-group-append .input-group-text {
	height: 100%;
}

.form-control {
	background-color: #fcfcfc;
	border-radius: 0;
}

.btn.btn-lg {
	margin: 3px;
}

/* Reports */

#reportsSection .card.text-white.bg-dark {
	min-height: 15rem;
}

#mapContainer {
	position: relative;
}


/* The side panel, hidden to the right by default */
#mapSidePanel {
	position: absolute;
	top: 0;
	left: .5rem;
	width: 22rem;
	/* Set to preferred width */
	height: 100%;
	background-color: #fff;
	box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
	transform: translateY(110%);
	/* Hide offscreen on the bottom */
	overflow-y: scroll;
	transition: transform 0.3s ease;
	z-index: 1;
	/* Make sure it’s above the map */
	padding: 1rem;
	/* Some spacing */
	border-radius: .8rem;
}

#mapSidePanel.open {
	transform: translateY(.5rem);
	/* Slide in */
	z-index: 9999;
}

#closePanelBtn {
	float: right;
	cursor: pointer;
	padding: .2rem;
}

.action-buttons {
	display: flex;
	flex-direction: row;
	/* Align horizontally */
	align-items: center;
	justify-content: center;
	/* Center them in the row */
	gap: 24px;
	/* Horizontal space between button groups */
	margin: 20px 0;
	/* Vertical space around the row */
}

.icon-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	cursor: pointer;
	text-align: center;
}

.circle-icon {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: #4285F4;
	/* Google Maps-like blue */
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 24px;
	transition: box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.icon-container:hover .circle-icon {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	transform: translateY(-2px);
}

.icon-text {
	margin-top: 8px;
	font-size: 14px;
	color: #333;
	white-space: nowrap;
	transition: color 0.2s ease-in-out;
}

.icon-container:hover .icon-text {
	color: #000;
	/* Slightly darker on hover for emphasis */
}

/* If you want the tables to have slightly smaller text overall: */
.table.table-sm {
	font-size: 0.9rem;
	text-align: center;
}

.contacts-list .material-icons {
	font-size: 16px;
}

/*Job Map*/

#mapContainer {
	height: calc(100vh - 272px);
}

#jobMap {
	/* height: calc(100vh - 207px); */
	height: 100%;
	width: 100%;

}

#proposalMap {
	width: 100%;
}

#jobMapAlert {
	padding: .2rem;
	margin-bottom: 0;
}

#well-info-overlay {
	z-index: 9999;
	/* Ensure it's above map elements */
}

	/* ---- PROJECT HEADER : most–recent note ---- */
	.note-card {
		font-size: 0.85rem;            /* smaller text so it doesn’t shout   */
		background: #fff;              /* white on the yellow header strip   */
		border: 1px solid #dee2e6;     /* subtle border                      */
		border-left: 4px solid #0dcaf0;/* same tone as “bg-info” badge       */
		border-radius: .5rem;
		padding: .75rem 1rem;
	}
	.note-card .note-header{
		display:flex;
		justify-content:space-between;
		align-items:center;
		margin-bottom:.25rem;
		font-weight:600;
	}
	.note-card .note-content{white-space:pre-wrap;}
	.note-card .note-author {font-size:.75rem;color:#6c757d;text-align:right;}



/*Admin Page*/

#adminSection .section-body {
	display: none;
}

.material-icons.weekArrow {
	font-size: 3rem;
	cursor: pointer;
	-webkit-touch-callout: none;
	/* iOS Safari */
	-webkit-user-select: none;
	/* Safari */
	-khtml-user-select: none;
	/* Konqueror HTML */
	-moz-user-select: none;
	/* Old versions of Firefox */
	-ms-user-select: none;
	/* Internet Explorer/Edge */
	user-select: none;
}

/*Proposals Page*/

#nav-activity table {
	background-color: white;
}

#imagesDropzone1 {
	margin-bottom: 1rem;
}

.dropzone.dz-clickable.dz-started {
	overflow-y: scroll;
}

#proposalSection .jumbotron #lastOpened {
	padding-top: 5px;
	padding-left: 1rem;
	display: inline-block;
}

.reopenButton {
	margin-right: 5px;
	background-color: #80eaff;
}

#proposalSection .section-body {
	padding-top: 0;
	border-top: 0;
	border: 0px solid white;
}

#proposalsList .table th {
	border-top: 0;
}

.list-group-item.proposalItem {
	transition: all .2s ease-in-out;
}

div.list-group-item.flex-column.align-items-start p.mb-1 {
	white-space: pre-wrap;
	word-break: break-word;
}

.tab-pane {
	min-height: 300px;
}

#jobMapSection .tab-pane {
	min-height: 0px;
	padding-bottom: 0;
}

#proposalResults nav {
	top: -58px;
	position: relative;
	margin-bottom: -20px;
}

#replacementReason {
	width: 100%;
	display: block;
}

#proposalResults .col-xl-3 input {
	text-align: right;
}

#proposalResults input {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

#proposalResults .col-xl-3 option {
	text-align: right;
}

.dropdown-item {
	cursor: pointer;
}

.inline-dropdown {
	display: inline-block;
}

.dropdown-menu {
	z-index: 10000;
}

.scheduleDelete {
	position: absolute;
    right: 1rem;
    top: 2rem;
	z-index: 100;
}


.scheduleAdd {
	width: 100%;
	min-height: 40px;
	margin-top: 10px;
}

.scheduleAdd .selectize-input {
	background: aliceblue;
}

.ui-sortable li.list-group-item .second-line {
	margin-bottom: 0;
	margin-left: 2rem;
}

.lower-header, .upper-header, .grid-header {
	pointer-events: none;
}

/* SORTABLE  */

/* Sortable container styles */
.sortable-container {
	margin-top: -1px;
	/* Align with table */
}

/* Line item group styles */
.line-item-group {
	border: 1px solid #dee2e6;
	border-top: none;
	background: white;
	transition: all 0.3s ease;
}

.line-item-group:first-child {
	border-top: 1px solid #dee2e6;
}

/* Main row styles */
.line-item-row {
	display: flex;
	align-items: center;
	padding: 8px 0;
	min-height: 50px;
}

/* Drag handle */
.drag-handle {
	width: 40px;
	text-align: center;
	cursor: move;
	color: #999;
	padding: 0 10px;
	transition: color 0.2s;
}

.drag-handle:hover {
	color: #333;
}

/* Column styles to match table layout */
.line-item-select {
	flex: 0 0 200px;
	padding: 0 10px;
}

.line-item-name {
	flex: 1;
	padding: 0 10px;
}

.line-item-cost {
	flex: 0 0 150px;
	padding: 0 10px;
}

.line-item-actions {
	flex: 0 0 100px;
	padding: 0 10px;
	text-align: right;
}

/* Description row */
.line-item-desc {
	padding: 0 50px 10px 50px;
	/* Indent to align with content */
	display: block;
}

.line-item-desc textarea {
	width: 100%;
	min-height: 60px;
	resize: vertical;
}

/* Sortable ghost/drag styles */
.line-item-group.sortable-ghost {
	opacity: 0.4;
	background: #f8f9fa;
}

.line-item-group.sortable-drag {
	opacity: 0.9;
	background: white;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	transform: rotate(2deg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.line-item-row {
		flex-wrap: wrap;
	}

	.drag-handle {
		flex: 0 0 40px;
	}

	.line-item-select,
	.line-item-name,
	.line-item-cost {
		flex: 1 1 100%;
		margin-bottom: 5px;
	}

	.line-item-actions {
		flex: 1 1 100%;
		text-align: left;
		padding-top: 5px;
	}
}

/* Optional: Add table headers above the sortable container */
.template-headers {
	display: flex;
	align-items: center;
	padding: 10px 0;
	background: #f8f9fa;
	border: 1px solid #dee2e6;
	font-weight: bold;
}

.template-headers>div {
	padding: 0 10px;
}

.header-handle {
	width: 40px;
}

.header-select {
	flex: 0 0 200px;
}

.header-name {
	flex: 1;
}

.header-cost {
	flex: 0 0 150px;
}

.header-actions {
	flex: 0 0 100px;
	text-align: right;
}

.shaking-image {
	display: inline-block;
	animation: shake 0.5s infinite;
}

@keyframes shake {

	0%,
	100% {
		transform: translateX(0);
	}

	10%,
	30%,
	50%,
	70%,
	90% {
		transform: translateX(-0.5px);
	}

	20%,
	40%,
	60%,
	80% {
		transform: translateX(0.5px);
	}
}

.live-icon {
	animation: pulse 2s infinite;
	color: green;
	/* Change this to the color you want */
}

@keyframes pulse {
	0% {
		transform: scale(1);
		opacity: 1;
	}

	50% {
		transform: scale(1.1);
		opacity: 0.5;
	}

	100% {
		transform: scale(1);
		opacity: 1;
	}
}

.ui-sortable li.list-group-item {
	line-height: 1.9rem;
}

.ui-sortable li.list-group-item {
	cursor: pointer;
}

.lastActivityButton {
	cursor: pointer;
}

.ui-sortable li.list-group-item:hover {
	background-color: whitesmoke;
}

.fas.fa-grip-vertical {
	cursor: move;
	padding: .25rem;
	margin: auto;
}

/* Invoice table styling */
#sentInvoicesContainer .table-danger {
    background-color: rgba(220, 53, 69, 0.1);
}

#sentInvoicesContainer .table-danger td {
    color: #666;
}

#sentInvoicesContainer .table-success {
    background-color: rgba(40, 167, 69, 0.1);
}

/* Dropdown styling */
#sentInvoicesContainer .dropdown-toggle {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

#sentInvoicesContainer .dropdown-toggle::after {
    display: none;
}

#sentInvoicesContainer .dropdown-menu {
    font-size: 0.875rem;
}

#sentInvoicesContainer .dropdown-item {
    padding: 0.5rem 1rem;
}

#sentInvoicesContainer .dropdown-item:hover {
    background-color: #f8f9fa;
}

#sentInvoicesContainer .dropdown-item i {
    margin-right: 0.5rem;
    width: 1rem;
    text-align: center;
}

/* Status styling */
#sentInvoicesContainer .text-danger {
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #sentInvoicesContainer .dropdown-menu {
        position: absolute !important;
        transform: translate(-100%, 0) !important;
        right: 0 !important;
        left: auto !important;
    }
}

#invoiceTable .item-total {
	background-color: #dcdcdc;
}

.down-payment-row {
	background-color: #f0f8ff;
	border-left: 3px solid #007bff;
}

.down-payment-row td {
	font-style: italic;
}

.down-payment-label {
	color: #007bff;
	font-weight: 500;
}

.down-payment-amount {
	color: #dc3545;
}

#addDownPaymentButton,
#WOaddDownPaymentButton {
	margin-left: 10px;
	background-color: #17a2b8;
	border-color: #17a2b8;
}

#addDownPaymentButton:hover,
#WOaddDownPaymentButton:hover {
	background-color: #138496;
	border-color: #117a8b;
}

.invoice-subtotal-row {
	font-weight: bold;
	border-top: 2px solid #dee2e6;
}

.invoice-total-row {
	font-weight: bold;
	font-size: 1.1em;
	border-top: 3px double #dee2e6;
	background-color: #f8f9fa;
}

.drag-handle {
	cursor: move;
	text-align: center;
	width: 30px;
}

.drag-handle i {
	font-size: 1.2em;
	color: #6c757d;
	/* Optional: change color as desired */
}

/* Increase touch area for mobile devices */
@media (max-width: 768px) {
	.drag-handle i {
		font-size: 1.5em;
		padding: 10px;
	}
}

/* Increase size of drag handle on mobile */
@media (max-width: 768px) {
	.fa-grip-vertical {
		font-size: 1.5em;
		padding: 10px;
	}
}



.bg-info.distance-badge {
	position: absolute;
	top: -.7rem;
	z-index: 10;
}

#mainProjectDropdown .dropdown-item,
#mainProjectDropdwon .inline-dropdown {
	width: 100%;
}

.requiredIndicator::after {
	content: " *";
	color: red;
	font-weight: bold;
	margin-left: 2px;
}


.wnn-permit {
	margin-left: 1rem;
}

.table td[contenteditable="true"] {
	background-color: #fffbe6;
}

.table td[contenteditable="true"]:focus {
	outline: 2px solid #e8f8ff;
}

#nav-cost,
#woProposalSection {
	padding-left: 20px;
	padding-right: 20px;
}

#pumpOptionsSection {
	display: none;
}

.pumpSection {
	width: 100%;
}

#nav-cost .pumpSection .input-group-text {
	min-width: auto;
}

#proposalResults nav .nav-link {
	font-size: 1.5rem;
	cursor: pointer;
}

#jobMapPreview td {
	padding: .25rem;
}

#jobMapPreview th {
	padding: .25rem;
}

#jobMapPreview table {
	margin-bottom: 0;
}

#hazardForm .row {
	padding: 10px;
}

#nav-hazards .hazardInput {
	width: 100%;
	margin-right: 10px;
}

#wcrForm .hazardInput {
	background-color: white;
	color: black;
}

#wcrFormWrapper {
	margin-top: 1rem;
}

.spacer {
	width: 100%;
	margin-top: 2rem;
}


@media (max-width: 992px) {
	.navbar-collapse .nav-item {
		padding-left: 10px;
	}

	.navbar-collapse {
		background-color: #343a40 !important;
	}
}

.navbar .nav-link {
	color: white;
	border-radius: 0.75rem;
}

#profileSection {
	padding-top: 13px;
}

.navbar-dark .navbar-nav .nav-item.active .nav-link {
	background: rgb(165, 165, 165);
	color: black;
	border-radius: 0.75rem;
}

@media only screen and (min-width: 600px) {
	nav.navbar {
		height: 72px;
	}

	/*section {
		margin-top:72px;
	}*/
	.alert.main-alert {
		margin-top: 72px;
		margin-bottom: 0;
		border-radius: 0;
	}
}

#nav-tabContent {
	top: -36px;
	position: relative;
}

.list-group-item.proposalItem:hover {
	background-color: whitesmoke;
}

.list-group-item.proposalItem .material-icons {
	font-size: 14px;
}

.createProposalButton {
	margin-left: 0rem;
}

.proposalItem .badge {
	width: 100px;
}

span.badge-pill.samsdbChips {
	padding: 10px;
	margin-left: 5px;
	cursor: pointer;
	border: 1px solid black;
}

.proposalImage {
	padding: 5px;
	width: 100%;
}

.jumbotron {
	margin-bottom: 0;
	padding-top: .5rem;
	padding-bottom: 1rem;
}

.jumbotron .row {
	margin-bottom: 0;
}

#proposalResults {
	padding-bottom: 50px;
	display: none;
}

#filterByEmployee,
.filterByEmployee,
#proposalFilterWellType,
#proposalFilterDrillType,
#proposalFilterCounty,
#proposalFilterState,
#mapFilterWellType,
#mapFilterDrillType,
#proposalFilterPriority,
#mapFilterPriority,
#mapFilterWorkOrderCategory {
	width: auto;
	display: inline;
}


#proposalSection .jumbotron .row .homeFilter.selectize-control .selectize-input {
	padding-right: 2rem;
	padding-left: 0.7rem;
}

div.input-group.mb-1 {
	padding-left: .25rem;
	padding-right: .25rem;
}

.input-group-prepend {
	-webkit-touch-callout: none;
	/* iOS Safari */
	-webkit-user-select: none;
	/* Safari */
	-khtml-user-select: none;
	/* Konqueror HTML */
	-moz-user-select: none;
	/* Firefox */
	-ms-user-select: none;
	/* Internet Explorer/Edge */
	user-select: none;
}

.input-group-text {
	padding: 0.175rem .45rem;
	border-radius: 0;
}

#selectContact {
	display: inline-block;
	width: 100%;
}

#profileSection {
	color: white;
}

#profileSection img {
	padding: 5px;
	padding-left: 10px;
	height: 40px;
	border-radius: 50%;
}

#userDropdown {
	width: 50%;
	left: -60px;
}

#mapLocation {
	margin-top: 1rem;
}

.siteReconSection {
	background-color: #f5f5f5;
	padding: 20px;
}

#gpsLogButton {
	width: 100%;
}

div.list-group-item {
	word-break: break-all;
}

div.list-group-item textarea {
	word-break: normal;
}

/*Rolodex*/
#rolodexItem .display-4 {
	font-weight: 200;
}

#rolodexName {
	font-weight: 600;
}

#rolodexSection .section-body {
	padding-top: 0;
}

.container-fluid {
	padding: 0;
}

.proposalItemBody {
	margin-left: 1rem;
}

.removeContactButton {
	margin-bottom: 2px;
}

#labListView {
	padding-top: 0;
}

#labCalendarView {
	display: none;
}

/*Cost Table*/

#costTable,
#WOcostTable {
	background-color: #f5f5f5;
	padding-left: 20px;
	padding-right: 20px;
}

#costTableTotal,
#WOcostTableTotal {
	height: 100%;
}

#costTable .amount input,
#WOcostTable .amount input {
	text-align: right;
}

#costTable .amount.input-group-text,
#WOcostTable .amount.input-group-text {
	text-align: right;
	min-width: 20%;
}

.removeRow {
	height: 40px;
	width: auto;
}

#costTable .row.draggable-item {
	/* border-bottom: 1px solid #dee2e6; */
}

.section-body {
	min-height: 70vh;
	padding-top: 30px;
	padding-left: 15px;
	padding-right: 15px;
}

#wo-nav-tabContent .section-body {
	min-height: auto;
}

.result-row {
	cursor: pointer;
}

.archived {
	opacity: 0.5;
}

.archived input {
	pointer-events: none;
	background-color: #f5f5f5;
}



.hide {
	display: none;
}

small {
	font-weight: 300;
}

.card {
	margin-bottom: 1rem;
}

#proposalCard,
#openJobsButton,
#completedJobsButton {
	cursor: pointer;
}

.row {
	margin-bottom: 10px;
}

.fileTable {
	background-color: white;
	margin-top: 1rem;
}

.proposalItem {
	cursor: pointer;
	-webkit-touch-callout: none;
	/* iOS Safari */
	-webkit-user-select: none;
	/* Safari */
	-khtml-user-select: none;
	/* Konqueror HTML */
	-moz-user-select: none;
	/* Firefox */
	-ms-user-select: none;
	/* Internet Explorer/Edge */
	user-select: none;
}

.proposalItem .totalBilledInput {
	border-radius: 0;
}

#proposalSearchRow .input-group {
	padding-left: 5px;
	padding-right: 5px;
}

.highlight {
	background-color: yellow;
}

#rolodexSearchType {
	line-height: 2.7;
	border-radius: 0;
}

#completedList .proposalItem input,
#workOrderTableWrapper .workOrderLine input {
	width: 80%;
	display: inline;
	font-size: 12px;
	padding-left: 0;
	height: 30%;
	padding-right: 0;
}

#workOrderTableWrapper .workOrderLine input {
	height: 1.9rem;
	padding-top: 2px;
	padding-bottom: 2px;
}

#workOrderTableWrapper .workOrderLine .noclick {
	padding-top: 0;
	padding-bottom: 0;
}

#workOrderProject {
	font-size: 1.5rem;
}

#completedList {
	display: none;
}

#completedList td {
	padding: .25rem;
}

/* Stat Dashboard */

#statsSection .table td,
#statsSection .table th {
	padding: .25rem
}

#statsSection .table .totalRow {
	font-weight: 600;
	border-top: 2px;
}

#billingPerDayChart {
	overflow-x: scroll;
}

.progress-bar {
	transition: width 0.6s ease;
}

.employee-card {
	margin-bottom: 20px;
}

/*Work Orders*/

/* Highlight both rows when hovered */
tr.workOrderLine.highlight td,
tr.workDetailLine.highlight td {
	background-color: #e0f7fa;
}



#workOrderList th {
	border-bottom: 1px solid grey;
	border-top: 1px solid grey;
}

#workOrderList .section-body {
	padding-top: 0;
}

#workOrdersTable tr,
.reportRow {
	cursor: pointer;
}


#workOrderList tbody:hover {
	background: rgba(0, 0, 0, .075);
	cursor: pointer;
}

.workOrderLine td {
	padding: .25rem;
	font-size: 14px;
}


.workDetailLine td {
	border-top: none;
	color: #495057;
	padding-top: 0;
	padding: 0;
	font-size: 14px;
}

.showWorkOrderCompletedList {
	height: 100%;
}

#workOrderCategory {
	height: 100%;
}

#workOrderList thead tr:nth-child(1) th {
	position: sticky;
	top: 70px;
	z-index: 10;
	background: white;
}

#workOrderView select,
#workOrderView input {
	height: auto;
}

#workOrderView {
	padding-bottom: 2rem;
}

#workOrderView .input-group>.form-select:not(:first-child) {
	/*	border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
	border-bottom: 0;
	border-right:0;*/
	height: 100%;
}

#wofiltergroup {
	margin-left: 20px;
}


/*Accounts*/

#logoutLink {
	display: none;
}

#logWrapper td {
	padding: .5rem;
}

.spinner {
	margin: 100px auto 0;
	width: 100px;
	text-align: center;
}

.spinner>div {
	width: 18px;
	height: 18px;
	background-color: #333;
	border-radius: 100%;
	display: inline-block;
	-webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
	animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
	-webkit-animation-delay: -0.32s;
	animation-delay: -0.32s;
}

.spinner .bounce2 {
	-webkit-animation-delay: -0.16s;
	animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {

	0%,
	80%,
	100% {
		-webkit-transform: scale(0)
	}

	40% {
		-webkit-transform: scale(1.0)
	}
}

@keyframes sk-bouncedelay {

	0%,
	80%,
	100% {
		-webkit-transform: scale(0);
		transform: scale(0);
	}

	40% {
		-webkit-transform: scale(1.0);
		transform: scale(1.0);
	}
}

/*Daily Log*/

#dailyLogTable tr td {
	cursor: pointer;
}

#exportDailyLog {
	margin-top: 1.5rem;
}

/*Footer*/

.footer {
	position: fixed;
	bottom: 0;
	width: 100%;
	height: 45px;
	line-height: 45px;
	background-color: #f5f5f5;
	text-align: right;
}


/*Selectize*/

.selectize-control {
	width: 100%;
}

.selectize-input {
	border-radius: 0;
}

.selectize-dropdown,
.selectize-dropdown.form-control {
	z-index: 10000;
}

.selectize-control.contacts .selectize-dropdown [data-selectable] {
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	height: 2.5rem;
	position: relative;
	padding-left: .5rem;
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
}

.selectize-control.contacts .selectize-dropdown [data-selectable]:last-child {
	border-bottom: 0 none;
}

.selectize-control.contacts .selectize-dropdown .by {
	font-size: 11px;
	opacity: 0.8;
}

.selectize-control.contacts .selectize-dropdown .by::before {
	content: 'by ';
}

.selectize-control.contacts .selectize-dropdown .name {
	font-weight: bold;
	margin-right: 5px;
}

.selectize-control.contacts .selectize-dropdown .description {
	font-size: 12px;
	color: #a0a0a0;
}

.selectize-control.contacts .selectize-dropdown .actors,
.selectize-control.contacts .selectize-dropdown .description,
.selectize-control.contacts .selectize-dropdown .title {
	display: block;
	white-space: nowrap;
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
}

.selectize-control.contacts .selectize-dropdown .meta {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 10px;
}

.selectize-control.contacts .selectize-dropdown .selectize-dropdown-content {
	background-color: white;
}

.selectize-control.contacts::before {
	-moz-transition: opacity 0.2s;
	-webkit-transition: opacity 0.2s;
	transition: opacity 0.2s;
	content: ' ';
	z-index: 2;
	position: absolute;
	display: block;
	top: 12px;
	right: 34px;
	width: 16px;
	height: 16px;
	/*background: url(images/spinner.gif);*/
	background-size: 16px 16px;
	opacity: 0;
}

.selectize-control.contacts.loading::before {
	opacity: 0.4;
}

.selectize-input::after {
	display: none !important;
}

.selectize-dropdown-content {
	max-height: 300px;
	border-bottom: 1px solid lightgrey;
}

.scheduleAdd .selectize-dropdown-content .name {
	padding-left: 1rem;
}

.scheduleAdd .selectize-dropdown-content .details {
	padding-left: 1rem;
}

select.lineItemTemplateSelect {
	background-color: #f8f9fa;
	border: 2px solid #a9d2ff;
	color: #495057;
	font-weight: 500;
	padding: 6px 10px;
	border-radius: 4px;
	cursor: pointer;
	transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

select.lineItemTemplateSelect:focus {
	border-color: #0056b3;
	box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
	outline: none;
}



#proposalSection .normal-background {
	background-color: #fff;
}

#proposalSection {
	overflow-x: hidden;
}

#proposalSection .section-body.normal-background {
	padding-left: 0;
	padding-right: 0;
}

#proposalFilterGroup {
	width: 100%;
}

#proposalSection .jumbotron .row div.input-group {
	width: auto;
}

#proposalSection .jumbotron .row div {
	padding-right: 5px;
	padding-left: 5px;
	border-radius: 5px;
}

#proposalSection .jumbotron .row div.input-group-prepend {
	padding-right: 0;
}

.footer {
	z-index: 1000;
}

#projectsTitleWrapper,
#projectsButtonWrapper {
	display: inline-block;
}

#projectsButtonWrapper {
	position: relative;
	bottom: 0.7rem;
	margin-left: 1rem;
}

#ganttChart {
	overflow: auto;
	height: 600px;
}

.gantt-container {
	width: 100%;
	height: 100%;
}

/* Style the Gantt bars by driller */
.bar-driller-1 {
	fill: #2C3E50 !important;
}

.bar-driller-2 {
	fill: #16A085 !important;
}

.bar-driller-3 {
	fill: #2980B9 !important;
}

.bar-driller-4 {
	fill: #E74C3C !important;
}

/* Custom popup styling */
.gantt-popup {
	background: white;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 10px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Professional view switcher styling */
.view-switcher-container {
	border-bottom: 1px solid #e9ecef;
	padding-bottom: 1rem;
}

.btn-group .btn {
	font-weight: 500;
	padding: 0.5rem 1.25rem;
	border-radius: 0;
	transition: all 0.2s ease;
}

.btn-group .btn:first-child {
	border-radius: 0.375rem 0 0 0.375rem;
}

.btn-group .btn:last-child {
	border-radius: 0 0.375rem 0.375rem 0;
}

.btn-group .btn.active {
	background-color: #0d6efd;
	border-color: #0d6efd;
	color: white;
	box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

.btn-group .btn:not(.active):hover {
	background-color: #f8f9fa;
	color: #0d6efd;
}

.btn-group .btn i {
	font-size: 0.875rem;
}

/* Loading state for buttons */
.btn-group .btn.loading {
	pointer-events: none;
	opacity: 0.65;
}

.btn-group .btn.loading i {
	animation: spin 1s linear infinite;
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

/* Import modals */
.extracted-data-review {
	max-height: 400px;
	overflow-y: auto;
}

.extracted-data-review .card {
	border: 1px solid #dee2e6;
}

.extracted-data-review .card-header {
	background-color: #f8f9fa;
	border-bottom: 1px solid #dee2e6;
}

.extracted-data-review .accordion-item {
	margin-bottom: 0.5rem;
	border: 1px solid #dee2e6;
	border-radius: 0.25rem;
}

.extracted-data-review .accordion-button {
	padding: 0.75rem 1rem;
	font-weight: 500;
}

.extracted-data-review .accordion-button:not(.collapsed) {
	background-color: #e9ecef;
}

.extracted-data-review table {
	margin-bottom: 0;
}

#uploadProgress .progress {
	height: 25px;
}

#uploadProgress .progress-bar {
	font-size: 14px;
	line-height: 25px;
}

.project-data-review {
	max-height: 500px;
	overflow-y: auto;
}

.project-data-review .nav-tabs {
	position: sticky;
	top: 0;
	background-color: white;
	z-index: 10;
	border-bottom: 2px solid #dee2e6;
}

.project-data-review .card {
	border: 1px solid #dee2e6;
	margin-bottom: 1rem;
}

.project-data-review .card-header {
	background-color: #f8f9fa;
	border-bottom: 1px solid #dee2e6;
	font-weight: 600;
}

.project-data-review .data-field {
	padding: 0.5rem 0;
	border-bottom: 1px solid #eee;
}

.project-data-review .data-field:last-child {
	border-bottom: none;
}

.project-data-review .field-label {
	font-weight: 500;
	color: #495057;
	min-width: 150px;
	display: inline-block;
}

.project-data-review .field-value {
	color: #212529;
}

.project-data-review .empty-value {
	color: #6c757d;
	font-style: italic;
}

.project-data-review table {
	margin-bottom: 0;
}

.contact-preview {
	background-color: #f8f9fa;
	padding: 1rem;
	border-radius: 0.25rem;
	margin-bottom: 0.5rem;
}

.well-log-indicator {
	display: inline-block;
	background-color: #28a745;
	color: white;
	padding: 0.25rem 0.75rem;
	border-radius: 0.25rem;
	font-size: 0.875rem;
	margin-left: 0.5rem;
}

#projectUploadProgress .progress {
	height: 25px;
}

#projectUploadProgress .progress-bar {
	font-size: 14px;
	line-height: 25px;
}

.import-type-card .card {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #dee2e6;
}

.import-type-card .card:hover {
    border-color: #0d6efd;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.import-type-card.selected .card {
    border-color: #0d6efd;
    background-color: #f0f8ff;
}

#columnMappingTable select {
    width: 100%;
}

.well-log-indicator {
    background-color: #28a745;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.75rem;
    margin-left: 5px;
}

#dataPreviewTable {
    max-height: 300px;
    overflow-y: auto;
}

/* Responsive adjustments */
@media (max-width: 576px) {
	.btn-group .btn {
		padding: 0.375rem 0.75rem;
		font-size: 0.875rem;
	}

	.btn-group .btn span {
		display: none;
	}

	.btn-group .btn i {
		margin-right: 0 !important;
	}
}


/* Mobile */
@media only screen and (max-width: 600px) {
	#proposalResults nav .nav-link {
		font-size: 1rem;
		white-space: nowrap;
	}

	body {
		margin-top: 52px;
	}

	#filesDropzone1 {
		width: 900px;
	}

	#projectsButtonWrapper {
		position: relative;
		bottom: 0.7rem;
		margin-top: 1rem;
		margin-left: 0;
	}

	.homeFilter {
		margin-right: 0;
	}

	#proposalSection .jumbotron #homeFilterRow {
		padding-left: 0;
	}

	#jobMapSelectors select {
		width: 100%;
	}

	.nav.nav-tabs {
		flex-wrap: nowrap;
		overflow-x: scroll;
		overflow-y: hidden;
	}

	.reopenButton {
		padding-left: .5rem;
		padding-right: .5rem;
	}

	#proposalSection .jumbotron .row {
		margin-right: 0;
		margin-left: 0;
	}

	#proposalSection .jumbotron .row div {
		padding-right: 0px;
		padding-left: 0px;
	}

	#proposalSection .jumbotron .row div.form-select .selectize-control {
		padding-left: 1rem;
	}

	nav.fixed-top {
		padding-right: .5rem;
		padding-left: .5rem;
	}

	#proposalSection .jumbotron #lastOpened {
		padding-left: 0px;
		overflow-x: scroll;
		width: 100%;
		display: inline-flex;
	}

	#proposalSection .jumbotron #lastOpened h5 {
		padding-left: 0px;
		overflow-x: scroll;
		width: 100%;
		display: inline-flex;
	}

	#proposalSearchRow .input-group {
		padding-right: 0px;
		padding-left: 0px;
	}

	.form-check.form-switch.starredSwitch {
		margin-left: 3rem;
	}

	#closeProposalItem {
		top: -8px;
	}

	#heading-row {
		margin-top: 10px;
	}


	#proposalResults nav {
		top: -70px;
		position: relative;
		padding-left: 0px;
	}

	.jumbotron .display-4 {
		font-size: 30px;
	}

	#signinSection-header {
		display: flex;
		justify-content: center;
		align-items: center;
		padding-top: 3rem;
	}

	.townshipSelector {
		margin-top: 15px;
		top: -24px;
	}

	.section-body.normal-background {
		padding-left: 3px;
		padding-right: 3px;
	}

	#jobMapHeading {
		display: none;
	}

	#jobMapSection .jumbotron {
		padding-bottom: .5rem;
		padding-top: .5rem;
	}

	#proposalsList thead tr:nth-child(1) th {
		top: 0;
		position: relative;
		z-index: 10;
	}

	#rolodexResults thead tr:nth-child(1) th {
		top: 0;
		position: relative;
		z-index: 10;
	}

	#proposalSection .jumbotron .form-select {
		width: 50%;
		margin-top: 5px;
	}

	.jumbotron #rolodexSearchType.form-select {
		width: 100%;
		margin-top: 0;
	}

	#proposalsList {
		overflow-x: scroll;
	}


	#nav-cost,
	#woProposalSection {
		padding-left: 0;
		padding-right: 0;
	}

	body {
		overflow-x: hidden;
	}

	#WOtownshipColumn {
		margin-top: 30px;
	}

	#WOdateColumn {
		margin-top: 5px;
	}

	#WObilledColumn {
		margin-top: 10px;
	}

	#woFilterGroup {
		margin-left: 0;
	}

	#workOrderList thead tr:nth-child(1) th {
		position: sticky;
		top: 55px;
		z-index: 10;
		background: white;
	}

	.proposalItem .badge {
		margin-right: 0;
		padding-left: 0;
		padding-right: 0;
		margin-left: 0;
		width: 70px;
	}

	#proposalsList table td,
	#proposalsList .table th {
		padding: 0.1rem;
	}

	.alert-primary {
		margin-bottom: 0;
	}
}

/* Print Mode */
@media print {
	#nav-tab {
		display: none;
	}

	#submittedReportsList {
		display: none;
	}

	nav.navbar {
		display: none;
	}

	.section-header {
		display: none;
	}

	.DVIR-action-buttons {
		display: none;
	}
}

@media (prefers-color-scheme: dark) {
	body {
		color: #fff;
		text-align: left;
		background-color: #222;
	}

	a {
		color: #00bc8c;
		text-decoration: none;
		background-color: transparent;
	}

	#nav-tab .nav-link {
		color: white;
	}

	#nav-tab .nav-link.active {
		color: black;
	}

	#searchEFILE {
		background: #303030;
	}

	#notificationsSlider {
		color: white;
	}

	.form-floating input.form-control {
		color: white;
	}

	.form-floating label {
		color: white;
	}

	#rolodexProposalSection .proposalItem {
		color: white;
	}

	#rolodexProposalSection .proposalItem:hover {
		color: black;
	}

	#well-info-content {
		color: black;
	}

	#statsSection .card {
		color: white;
	}

	#subscriptionCard {
		color: white;
	}

	#mapSidePanel {
		background-color: #303030;
	}

	.contacts-list .list-group-item {
		color: white;
	}

	#mapPreviewNotes .list-group-item {
		color: white
	}


	#closePanelBtn {
		color: white;
	}

	.icon-text {
		color: white;
	}

	.icon-container:hover .icon-text {
		color: white;
	}

	#proposalSearchRow .form-control,
	.form-floating input,
	.form-floating input:focus {
		background: #303030;
	}

	#notificationsSlider {
		background: #303030;
	}

	#notificationsSlider .list-group-item {
		background: #303030;
		color: white;
	}

	#notificationsSlider .list-group-item.list-group-item-warning {
		color: #664d03;
		background-color: #fff3cd;
	}

	.notificationsBadge {
		position: absolute;
		top: -8px;
		right: -8px;
		display: none;
	}

	.highlight {
		background-color: yellow;
		color: black;
	}

	.form-floating input {
		color: white;
	}

	#proposalsList thead tr:nth-child(1) th {
		background: #303030;
	}

	#completedList thead tr:nth-child(1) th {
		background: #303030;
	}

	#rolodexResults thead tr:nth-child(1) th {
		background: #303030;
	}

	#proposalResults .nav-item.nav-link:hover {
		color: white;
	}

	#proposalResults .nav-item.nav-link.active:hover {
		color: black;
	}

	#content {
		color: black;
	}

	.footer {
		color: black;
	}

	#closeRolodexItem i.material-icons,
	#closeProposalItem i.material-icons,
	#closeWorkOrderItem i.material-icons {
		color: white;
	}

	#proposalSection .normal-background {
		background-color: #222;
	}

	#proposalResults {
		color: black;
	}

	#proposalResults .list-group-item {
		background-color: #303030;
	}

	#notesSection .swdNote {
		border-top: 1px solid #9c9c9c;
	}



	a:hover {
		color: #007053;
		text-decoration: underline;
	}

	a:not([href]):not([tabindex]) {
		color: inherit;
		text-decoration: none;
	}

	a:not([href]):not([tabindex]):hover,
	a:not([href]):not([tabindex]):focus {
		color: inherit;
		text-decoration: none;
	}

	a:not([href]):not([tabindex]):focus {
		outline: 0;
	}

	.table {
		margin-bottom: 1rem;
		color: #fff;
	}

	#nav-WCR table td,
	#nav-files table td {
		color: black;
	}


	.table th,
	.table td {
		vertical-align: top;
		border-top: 2px solid #fff;
		border-bottom: 0;
	}

	.table thead th {
		vertical-align: bottom;
		border-bottom: 2px solid #444;
	}

	.table tbody+tbody {
		border-top: 2px solid #444;
	}

	.table-sm th,
	.table-sm td {
		padding: 0.3rem;
	}

	.table-bordered {
		border: 1px solid #444;
	}

	.table-bordered th,
	.table-bordered td {
		border: 1px solid #444;
	}

	.table-bordered thead th,
	.table-bordered thead td {
		border-bottom-width: 2px;
	}

	.table-borderless th,
	.table-borderless td,
	.table-borderless thead th,
	.table-borderless tbody+tbody {
		border: 0;
	}

	.table-striped tbody tr:nth-of-type(odd) {
		background-color: #303030;
	}

	.table-hover tbody tr:hover {
		color: #fff;
		background-color: rgba(0, 0, 0, 0.075);
	}

	.table-hover tbody tr:hover td {
		color: #fff;
		background-color: rgba(0, 0, 0, 0.075);
	}

	.table-primary,
	.table-primary>th,
	.table-primary>td {
		background-color: #c7d1db;
	}

	.table-primary th,
	.table-primary td,
	.table-primary thead th,
	.table-primary tbody+tbody {
		border-color: #97a9bc;
	}

	.table-hover .table-primary:hover {
		background-color: #b7c4d1;
	}

	.table-hover .table-primary:hover>td,
	.table-hover .table-primary:hover>th {
		background-color: #b7c4d1;
	}

	.table-secondary,
	.table-secondary>th,
	.table-secondary>td {
		background-color: #cbcbcb;
	}

	.table-secondary th,
	.table-secondary td,
	.table-secondary thead th,
	.table-secondary tbody+tbody {
		border-color: #9e9e9e;
	}

	.table-hover .table-secondary:hover {
		background-color: #bebebe;
	}

	.table-hover .table-secondary:hover>td,
	.table-hover .table-secondary:hover>th {
		background-color: #bebebe;
	}

	.table-success,
	.table-success>th,
	.table-success>td {
		background-color: #b8ecdf;
	}

	.table-success th,
	.table-success td,
	.table-success thead th,
	.table-success tbody+tbody {
		border-color: #7adcc3;
	}

	.table-hover .table-success:hover {
		background-color: #a4e7d6;
	}

	.table-hover .table-success:hover>td,
	.table-hover .table-success:hover>th {
		background-color: #a4e7d6;
	}

	.table-info,
	.table-info>th,
	.table-info>td {
		background-color: #c6e2f5;
	}

	.table-info th,
	.table-info td,
	.table-info thead th,
	.table-info tbody+tbody {
		border-color: #95c9ec;
	}

	.table-hover .table-info:hover {
		background-color: #b0d7f1;
	}

	.table-hover .table-info:hover>td,
	.table-hover .table-info:hover>th {
		background-color: #b0d7f1;
	}

	.table-warning,
	.table-warning>th,
	.table-warning>td {
		background-color: #fce3bd;
	}

	.table-warning th,
	.table-warning td,
	.table-warning thead th,
	.table-warning tbody+tbody {
		border-color: #f9cc84;
	}

	.table-hover .table-warning:hover {
		background-color: #fbd9a5;
	}

	.table-hover .table-warning:hover>td,
	.table-hover .table-warning:hover>th {
		background-color: #fbd9a5;
	}

	.table-danger,
	.table-danger>th,
	.table-danger>td {
		background-color: #f8cdc8;
	}

	.table-danger th,
	.table-danger td,
	.table-danger thead th,
	.table-danger tbody+tbody {
		border-color: #f3a29a;
	}

	.table-hover .table-danger:hover {
		background-color: #f5b8b1;
	}

	.table-hover .table-danger:hover>td,
	.table-hover .table-danger:hover>th {
		background-color: #f5b8b1;
	}

	.table-light,
	.table-light>th,
	.table-light>td {
		background-color: #e2e2e2;
	}

	.table-light th,
	.table-light td,
	.table-light thead th,
	.table-light tbody+tbody {
		border-color: #cacaca;
	}

	.table-hover .table-light:hover {
		background-color: #d5d5d5;
	}

	.table-hover .table-light:hover>td,
	.table-hover .table-light:hover>th {
		background-color: #d5d5d5;
	}

	.table-dark,
	.table-dark>th,
	.table-dark>td {
		background-color: #c5c5c5;
	}

	.table-dark th,
	.table-dark td,
	.table-dark thead th,
	.table-dark tbody+tbody {
		border-color: #939393;
	}

	.table-hover .table-dark:hover {
		background-color: #b8b8b8;
	}

	.table-hover .table-dark:hover>td,
	.table-hover .table-dark:hover>th {
		background-color: #b8b8b8;
	}

	.table-active,
	.table-active>th,
	.table-active>td {
		background-color: rgba(0, 0, 0, 0.075);
	}

	.table-hover .table-active:hover {
		background-color: rgba(0, 0, 0, 0.075);
	}

	.table-hover .table-active:hover>td,
	.table-hover .table-active:hover>th {
		background-color: rgba(0, 0, 0, 0.075);
	}

	.table .thead-dark th {
		color: #fff;
		background-color: #303030;
		border-color: #434343;
	}

	.table .thead-light th {
		color: #444;
		background-color: #ebebeb;
		border-color: #444;
	}

	.table-dark {
		color: #fff;
		background-color: #303030;
	}

	.table-dark th,
	.table-dark td,
	.table-dark thead th {
		border-color: #434343;
	}

	.table-dark.table-bordered {
		border: 0;
	}

	.table-dark.table-striped tbody tr:nth-of-type(odd) {
		background-color: rgba(255, 255, 255, 0.05);
	}

	.table-dark.table-hover tbody tr:hover {
		color: #fff;
		background-color: rgba(255, 255, 255, 0.075);
	}


	.jumbotron {
		background-color: #303030;
	}

	.navCard {
		background-color: grey;
	}

	.navCard:hover {
		background-color: #222;
	}

	#labListView thead tr:nth-child(1) th {
		background: #222;
	}

	.table thead tr:nth-child(1) th {
		color: #fff;
		background-color: #222;
		border-color: #434343;
	}

	.table thead tr:nth-child(2) th {
		color: #fff;
		background-color: #222;
		border-color: #434343;
	}

	#proposalJobChart .table thead tr:nth-child(2) th {
		color: #fff;
		background-color: #303030;
		border-color: #434343;
	}


	.modal-content {
		background-color: #303030;
		border: 1px solid #444;
	}

	.modal-backdrop {
		background-color: #000;
	}

	.loading-wrapper {
		background-color: #222;
	}

	.spinner>div {
		width: 18px;
		height: 18px;
		background-color: #fff;
		border-radius: 100%;
		display: inline-block;
		-webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
		animation: sk-bouncedelay 1.4s infinite ease-in-out both;
	}

	.font-italic {
		font-style: italic !important;
	}

	.text-white {
		color: #fff !important;
	}

	.text-primary {
		color: #375a7f !important;
	}

	a.text-primary:hover,
	a.text-primary:focus {
		color: #20344a !important;
	}

	.text-secondary {
		color: #444 !important;
	}

	a.text-secondary:hover,
	a.text-secondary:focus {
		color: #1e1e1e !important;
	}

	.text-success {
		color: #00bc8c !important;
	}

	a.text-success:hover,
	a.text-success:focus {
		color: #007053 !important;
	}

	.text-info {
		color: #3498DB !important;
	}

	a.text-info:hover,
	a.text-info:focus {
		color: #1d6fa5 !important;
	}

	.text-warning {
		color: #F39C12 !important;
	}

	a.text-warning:hover,
	a.text-warning:focus {
		color: #b06f09 !important;
	}

	.text-danger {
		color: #E74C3C !important;
	}

	a.text-danger:hover,
	a.text-danger:focus {
		color: #bf2718 !important;
	}

	.text-light {
		color: #999 !important;
	}

	a.text-light:hover,
	a.text-light:focus {
		color: #737373 !important;
	}

	.text-dark {
		color: #303030 !important;
	}

	a.text-dark:hover,
	a.text-dark:focus {
		color: #0a0a0a !important;
	}

	.text-body {
		color: #fff !important;
	}

	.text-muted {
		color: #999 !important;
	}

	#nav-activity table.table {
		color: black;
	}

	.card {
		background-color: #434343;
		border: 1px solid rgba(0, 0, 0, 0.125);
	}

	.card-header {
		padding: 0.75rem 1.25rem;
		margin-bottom: 0;
		background-color: #444;
		border-bottom: 1px solid rgba(0, 0, 0, 0.125);
	}

	.card-title {
		color: white;
	}

	#schedulingListView li.list-group-item {
		color: white;
	}

	#schedulingListView li.list-group-item:hover {
		background-color: #212529;
	}


	/* Scheduling System Custom Styles */

	/* Loader styles */
	.scheduling-loader-overlay {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: rgba(255, 255, 255, 0.9);
		display: flex;
		align-items: center;
		justify-content: center;
		z-index: 1000;
	}

	.scheduling-loader {
		text-align: center;
	}

	.scheduling-loader-text {
		margin-top: 10px;
		font-size: 16px;
		color: #666;
	}

	/* Sortable styles */
	.sortable-ghost {
		opacity: 0.4;
	}

	.sortable-drag {
		opacity: 0.8;
		background: #f8f9fa;
		box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
		z-index: 1001;
	}

	.sortable-chosen {
		background-color: #f0f0f0;
	}

	/* List item styles */
	.list-group-item-action {
		cursor: pointer;
		transition: all 0.2s ease;
		position: relative;
	}

	.list-group-item-action:hover {
		background-color: #f8f9fa;
		transform: translateX(5px);
	}

	.list-group-item .second-line {
		font-size: 0.9em;
		color: #666;
		margin-top: 5px;
		margin-bottom: 0;
	}

	.list-group-item .schedule-info {
		font-size: 0.85em;
		font-style: italic;
		margin-bottom: 5px;
	}

	/* Grip icon */
	.fa-grip-vertical {
		color: #999;
		transition: color 0.2s;
		cursor: move;
	}

	.fa-grip-vertical:hover {
		color: #333;
	}

	/* Badge styles */
	.distance-badge {
		margin-left: 10px;
		font-weight: normal;
		cursor: help;
	}

	.badge.badge-secondary {
		background-color: #6c757d;
	}

	/* Delete button positioning */
	.scheduleDelete {
		position: absolute;
		right: 10px;
		top: 50%;
		transform: translateY(-50%);
		z-index: 10;
	}

	/* Calendar styles */
	.fc-event {
		cursor: pointer;
		border: none;
		font-size: 0.9em;
		padding: 2px 5px;
	}

	.fc-event:hover {
		opacity: 0.8;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	}

	.fc-event-title {
		font-weight: 500;
	}

	/* Gantt styles */
	.gantt-container {
		overflow: auto;
		position: relative;
	}

	.gantt-popup {
		padding: 10px;
		min-width: 200px;
		background: white;
		border-radius: 5px;
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	}

	.gantt-popup h6 {
		margin-bottom: 10px;
		font-weight: bold;
		color: #333;
	}

	.gantt-popup p {
		margin-bottom: 5px;
		font-size: 14px;
		color: #666;
	}

	.gantt-popup .btn {
		margin-top: 10px;
		width: 100%;
	}

	/* Gantt group bars */
	.gantt .bar.driller-group-bar {
		fill: #e0e0e0 !important;
		opacity: 0.3;
		cursor: default;
	}

	/* Gantt grid styling */
	.gantt .grid-row:nth-child(4n+1) {
		background-color: rgba(0, 0, 0, 0.02);
	}

	.gantt .arrow {
		stroke: #666;
		stroke-width: 1.4;
	}

	/* Selectize styles */
	.selectize-dropdown-content {
		padding: 5px 10px;
		border-bottom: 1px solid #f0f0f0;
	}

	.selectize-dropdown-content:last-child {
		border-bottom: none;
	}

	.selectize-dropdown-content:hover {
		background-color: #f8f9fa;
	}

	.selectize-dropdown-content .name {
		font-weight: bold;
		margin-bottom: 3px;
		font-size: 0.95em;
	}

	.selectize-dropdown-content .details {
		display: flex;
		gap: 5px;
		flex-wrap: wrap;
		font-size: 0.85em;
	}

	.selectize-dropdown-content .badge {
		font-weight: normal;
		font-size: 0.8em;
	}

	/* Modal styles */
	#editProjectModal .modal-body {
		padding: 20px;
	}

	#editProjectModal .form-label {
		font-weight: 600;
		margin-bottom: 5px;
		color: #495057;
	}

	#editProjectModal .input-group {
		display: flex;
		gap: 10px;
	}

	#editProjectModal .input-group input {
		flex: 1;
	}

	#editProjectModal small.text-muted {
		display: block;
		margin-top: 5px;
	}

	/* No projects section */
	#noProjectsCollapse {
		margin-top: 20px;
		padding: 20px;
		background: #f8f9fa;
		border-radius: 5px;
	}

	#noProjectsCollapse .row {
		margin: -10px;
	}

	#noProjectsCollapse .col-md-6 {
		padding: 10px;
	}

	/* Map modal */
	#schedulingMap {
		width: 100%;
		height: 500px;
		border-radius: 5px;
		border: 1px solid #dee2e6;
	}

	/* Card styles */
	.scheduling-card {
		margin-bottom: 20px;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
		transition: box-shadow 0.2s;
	}

	.scheduling-card:hover {
		box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
	}

	.card-header {
		background-color: #f8f9fa;
		border-bottom: 2px solid #dee2e6;
		font-weight: 500;
	}

	/* Animation for drilling icon */
	@keyframes shake {

		0%,
		100% {
			transform: translateX(0);
		}

		25% {
			transform: translateX(-5px);
		}

		75% {
			transform: translateX(5px);
		}
	}

	.shaking-image {
		display: inline-block;
		animation: shake 0.5s infinite;
	}

	/* Status badges */
	.badge.live-icon {
		width: 10px;
		height: 10px;
		border-radius: 50%;
		display: inline-block;
		background-color: #28a745;
		margin-right: 5px;
	}

	/* Last activity section */
	.lastActivityButton {
		transition: all 0.2s;
	}

	.lastActivityButton:hover {
		background-color: #f8f9fa;
		cursor: pointer;
	}

	/* Priority emojis */
	.priority-emoji {
		font-size: 1.1em;
		margin-right: 3px;
	}

	/* View buttons */
	#schedulingSection .btn-group {
		margin-bottom: 20px;
	}

	#schedulingSection .btn-info {
		background-color: #17a2b8;
		border-color: #17a2b8;
	}

	#schedulingSection .btn-info:hover {
		background-color: #138496;
		border-color: #117a8b;
	}

	/* Responsive adjustments */
	@media (max-width: 768px) {
		.card-header {
			flex-direction: column;
			align-items: flex-start !important;
		}

		.card-header .btn {
			margin-top: 10px;
			width: 100%;
		}

		.list-group-item {
			padding-right: 60px;
			/* Space for delete button */
		}

		.list-group-item .btn-sm {
			padding: 0.25rem 0.5rem;
			font-size: 0.75rem;
		}

		.scheduleDelete {
			right: 5px;
		}

		#schedulingSection .btn-group {
			display: flex;
			flex-direction: column;
			gap: 5px;
		}

		#schedulingSection .btn-group .btn {
			width: 100%;
		}
	}

	@media (max-width: 576px) {
		.col-sm-12 {
			padding: 0 5px;
		}

		.card {
			margin-bottom: 15px;
		}

		.list-group-item {
			font-size: 0.9em;
		}

		.badge {
			font-size: 0.7em;
		}
	}

	/* Print styles */
	@media print {

		.scheduling-loader-overlay,
		.btn,
		.scheduleDelete,
		.fa-grip-vertical {
			display: none !important;
		}

		.list-group-item {
			border: 1px solid #dee2e6;
			page-break-inside: avoid;
		}

		.card {
			page-break-inside: avoid;
		}
	}

	/* Dark mode support */
	@media (prefers-color-scheme: dark) {
		.scheduling-loader-overlay {
			background: rgba(0, 0, 0, 0.9);
		}

		.scheduling-loader-text {
			color: #ccc;
		}

		.list-group-item-action:hover {
			background-color: #2a2a2a;
		}

		.card {
			background-color: #1a1a1a;
			border-color: #333;
		}

		.card-header {
			background-color: #2a2a2a;
			border-color: #444;
			color: #fff;
		}

		.list-group-item {
			background-color: #1a1a1a;
			border-color: #333;
			color: #fff;
		}

		.selectize-dropdown-content {
			background-color: #2a2a2a;
			color: #fff;
			border-color: #444;
		}

		.modal-content {
			background-color: #1a1a1a;
			color: #fff;
		}

		.form-control,
		.form-select {
			background-color: #2a2a2a;
			border-color: #444;
			color: #fff;
		}

		/* Set disabled dark mode colors */
		.form-control:disabled,
		.form-select:disabled {
			background-color: #1a1a1a;
			border-color: #444;
			color: #666;
		}
	}

	.card-header:first-child {
		border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
	}

	.list-group-item-action {
		width: 100%;
		color: #444;
		text-align: inherit;
	}

	.list-group-item-action:hover,
	.list-group-item-action:focus {
		z-index: 1;
		color: #444;
		text-decoration: none;
		background-color: #444;
	}

	.list-group-item-action:active {
		color: #fff;
		background-color: #ebebeb;
	}

	.list-group-item {
		position: relative;
		display: block;
		padding: 0.75rem 1.25rem;
		margin-bottom: -1px;
		background-color: #303030;
		border: 1px solid #444;
		color: white;
	}

	.selectBox {
		border: 1px solid #222;
	}

	.close {
		color: white;
	}

	.close:hover {
		color: white;
		text-decoration: none;
	}

	.close:not(:disabled):not(.disabled):focus,
	.close:not(:disabled):not(.disabled):hover {
		color: white;
		text-decoration: none;
		opacity: .75;
	}

	#loftSectionsSection {
		background: #222;
	}

	hr {
		border-top: 1px solid rgba(255, 255, 255, 0.1);
	}

	#statusBar {
		color: black;
	}

	#loginSection {
		background-color: #222;
		color: white;
	}

	#loginSection input {
		margin-bottom: 5px;
	}

	.dropzone.dz-clickable {
		background: black;
		color: white;
	}

	.workDetailLine td {
		color: black;
	}

	#labEditView thead th,
	#outsideBillingView thead th {
		padding: 3px;
		border-top: 0;
		border-bottom: 0;
		background-color: #303030;
		border-color: #434343;
	}

	#workOrderList thead tr:nth-child(1) th {
		background-color: #222;
	}

	#workOrderList tbody:hover {
		background: rgba(255, 255, 255, .175);
		cursor: pointer;
	}

	#downloadWorkOrderEstimate {
		margin-left: 10px;
	}

	.workDetailLine td {
		border-top: none;
		padding-top: 0;
		padding: .25rem;
		font-size: 14px;
	}

	#costTable {
		background-color: #222;
		padding-left: 20px;
		padding-right: 20px;
		color: white;
	}
}

/* ================================================================== */
/* PAYMENT INTERFACE OPTIMIZATION FOR CONVERSION                     */
/* ================================================================== */

/* Enhanced payment summary display */
.payment-summary {
	border: 2px solid #e9ecef;
	transition: all 0.3s ease;
}

.payment-summary:hover {
	border-color: #0d6efd;
	box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.1);
}

/* Payment amount highlighting */
#finalPaymentAmount {
	font-weight: 700;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* Stripe Payment Element container styling */
#unifiedPaymentElement {
	padding: 1rem;
	border: 1px solid #e9ecef;
	border-radius: 0.375rem;
	background: #ffffff;
	box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
	transition: all 0.3s ease;
}

#unifiedPaymentElement:focus-within {
	border-color: #0d6efd;
	box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Payment button enhancements */
#submitUnifiedPayment {
	font-size: 1.1rem;
	font-weight: 600;
	padding: 0.75rem 1.5rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
}

#submitUnifiedPayment:hover:not(:disabled) {
	transform: translateY(-2px);
	box-shadow: 0 6px 12px rgba(13, 110, 253, 0.4);
}

#submitUnifiedPayment:active {
	transform: translateY(0);
}

#submitUnifiedPayment:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

/* Fee breakdown styling */
#feeBreakdown {
	font-style: italic;
	min-height: 1.2rem;
	transition: opacity 0.3s ease;
}

/* Security badges and trust signals */
.payment-security {
	opacity: 0.8;
	transition: opacity 0.3s ease;
}

.payment-security:hover {
	opacity: 1;
}

/* Loading and processing states */
.payment-loading {
	background: linear-gradient(90deg, #f8f9fa 25%, #e9ecef 50%, #f8f9fa 75%);
	background-size: 200% 100%;
	animation: loading 1.5s infinite;
}

@keyframes loading {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

/* Mobile optimizations for payment interface */
@media (max-width: 768px) {
	.payment-summary {
		margin-bottom: 1.5rem;
	}
	
	#unifiedPaymentElement {
		padding: 0.75rem;
	}
	
	#submitUnifiedPayment {
		font-size: 1rem;
		padding: 0.65rem 1.25rem;
	}
	
	#finalPaymentAmount {
		font-size: 1.5rem;
	}
}

/* Card styling for payment interface */
.payment-card {
	border: none;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
	transition: all 0.3s ease;
}

.payment-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}

/* Payment method icons and styling */
.payment-method-icon {
	width: 24px;
	height: 24px;
	opacity: 0.7;
	transition: opacity 0.3s ease;
}

.payment-method-icon.active {
	opacity: 1;
}

/* Success states */
.payment-success {
	background: linear-gradient(135deg, #28a745, #20c997);
	color: white;
	border-radius: 0.5rem;
	padding: 1.5rem;
	text-align: center;
	box-shadow: 0 0.5rem 1rem rgba(40, 167, 69, 0.3);
}

/* Error states */
.payment-error {
	border-left: 4px solid #dc3545;
	background-color: #f8d7da;
	padding: 1rem;
	border-radius: 0.25rem;
}

/* Processing states */
.payment-processing {
	background: linear-gradient(135deg, #17a2b8, #6610f2);
	color: white;
	text-align: center;
	padding: 2rem;
	border-radius: 0.5rem;
	box-shadow: 0 0.5rem 1rem rgba(23, 162, 184, 0.3);
}