@import url("/assets/css/dot-pulse.css");

[v-cloak] { display: none; }

.mt-n1 { margin-top: -1rem; }

.clickable { cursor: pointer; text-decoration: none; }
.editable { cursor: url("../img/pencil-square.svg"), pointer}
.error { color: darkred; }
.canceled { color: var(--bs-orange); }

.dropdown-menu
{
	display: block;
	background-color: inherit;
	border: none;
}

.bd-placeholder-img
{
	font-size: 1.125rem;
	text-anchor: middle;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

.btn-search
{
	background-color: #fff;
	border-top-color: #ced4da;
	border-bottom-color: #ced4da;
	border-right-color: #ced4da;
	margin-top: 3.2px !important;
}
.clean-block > .container { max-width: 95vw; }
.footer-copyright { position:relative; width:10vw; left: 2rem; top: .5rem; font-size: .8rem; }
.footnote { font-size:.75rem; font-weight:300; margin-top: 1rem;}

.input-group { width: auto; }
.input-group-text.nth, .input-group > input, .input-group > select { margin-top: .2rem; }
.input-group > input { border: 1px solid #ced4da; border-radius: .25rem!important; }
.login-credentials { margin:auto; width: 50vw; }

.logo { color: #7f7f7f !important; position: relative; top: 1rem; left: 2rem; }
.logo-bg { background-color:#f7f7f7!important; }
.ms-n5 { margin-left: -40px; }
.w-43 { width: 43%!important; }

.name { text-transform: capitalize; }
.q-input-label { width: 12vw; }
.q-input-lg { width:25vw !important; padding-left: 1rem; }
.q-input-sm { width:15vw !important; padding-left: 1rem; }
.d-input-lg { width:23vw !important; padding-left: 1rem; }

.q-input-div { width: 3rem; height: 2.35rem; position: relative; top: .2rem; }
.q-input-div-spinner { height: 2.35rem; position: relative; top: .2rem; }
i.spinner-up { position: relative; top: 0.1rem; left: 0.5rem; }
i:hover.spinner-up { color: DarkGreen; -webkit-text-stroke: 1px; }
i.spinner-down { position: relative; top: 1rem; left: -0.5rem; }
i:hover.spinner-down { color: DarkRed; -webkit-text-stroke: 1px; }

.left-input { width: 38vw; }
.right-input { margin-left: -1rem; }

.state-abbreviation { text-transform:uppercase; }
.section-header { position: relative; margin-top: 1em; margin-bottom: 1em; }
.vehicle { height: 164px; position:relative; top: -1vh; }

.modal-body { height: 60vh; overflow: auto; }
.modal-dialog { max-width: 70vw;  }
.modal-content.note { height: 36vh; margin-top: 10vh; }
.modal-content.search { height: 45vh; border-radius: 15px; }

.policy-info { position: relative; margin-top: .2rem; }

.container.notes { width: 50vw; height: 75vh; margin: 5vh auto 5vh auto; background-color: white; border-style: solid; border-width: 1px; border-radius: 15px; }
.note-list { height: 80%; overflow: auto; }
.note { width: 45vw; margin: 0 auto 2rem auto; border-style: solid; border-width: 1px; border-radius: 15px; }
.note-header { padding: 1rem; }
.note-body { margin-left: 5rem; }
.note-text { height: 18vh; }
.card { background-color: transparent; }
.card-text { white-space: pre-wrap; }
.card-footer {font-size: .7rem; }
.btn.notes { margin-left: 1rem; margin-top: -1rem; }

[class^=swal2] { z-index:9999; }
.overlay-1 { z-index: 9990; }
.overlay-2 { z-index: 9991; }
.overlay
{
	position: fixed; /* Positioning and size */
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(128,128,128,0.5) !important; /* color */
	display: none; /* making it hidden by default */
}
.overlay-active { display: block!important; }
.overlay-inactive { display: none!important; }

.overlap
{
	display: inline-grid;
}
.overlap > i:nth-child(1)
{
	margin-top: -1.5rem;
	margin-left:.7rem;
	font-size: .75rem!important;
}

.overlap > i:nth-child(n + 2)
{
	margin-top: -2.25rem;
	margin-left: .3rem;
	font-size: 1.5rem!important;
	color: #0d6efd!important;
}

.bi.inline { margin-left: .5rem; }

.loader-overlay
{
	z-index: 9999;
	position: fixed; /* Positioning and size */
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(128,128,128,0.5) !important; /* color */
	display: none; /* making it hidden by default */
}
.loader { position: absolute; top: 35vh; left: 50vw; width: 80px; height: 80px; }
.lds-dual-ring
{
	display: inline-block;
	width: 80px;
	height: 80px;
}
.lds-dual-ring:after
{
	content: " ";
	display: block;
	width: 64px;
	height: 64px;
	margin: 8px;
	border-radius: 50%;
	border: 6px solid #fff;
	border-color: #fff transparent #fff transparent;
	animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring
{
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.quotes > td.adjust-padding { padding-top: 1rem; }
.quotes > td.adjust-width { width: 10rem; }
.quotes > select.adjust-width { width: 6rem; margin-left: 4rem; }


.swal-loader
{
	animation: none;
	border-width: 0;
}
.swal-container
{
	position: absolute;
	top: 49vh;
	left: 32vw;
}
div:where(.swal2-icon).swal2-success .swal2-success-fix
{
    position: absolute;
    z-index: 1;
    top: .5em;
    left: 1.625em;
    transform: rotate(-45deg);
    width: 0!important;
    height: 0!important;
}
div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line]
{
    position: absolute;
    transform: rotate(45deg);
	width: 0!important;
    height: 0!important;
    border-radius: 50%;
}

body { font-family: Montserrat; }
button:disabled { cursor: not-allowed; pointer-events: all!important; }
footer { min-height: 2.5em; background-color: #212121b3!important; color: #ffffff7a; }

.blue-background{
	background-color: rgba(0, 123, 255, 0.18);
}
.red-background{
	background-color: rgba(220, 53, 69, 0.17);
}
.yellow-background{
	background-color: rgba(255, 193, 7, 0.16);
}
.green-background{
	background-color: rgba(40, 167, 69, 0.18);
}

.password-toggle {
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
	cursor: pointer;
	color: #6c757d; /* muted grey */
	font-size: 1.1rem;
}

.password-toggle:hover {
	color: #000; /* darker on hover */
}

/* Modern Login Page Styles */
.login-page {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100vh;
	overflow: hidden;
}

/* Hide footer on login page */
.login-page ~ footer,
body:has(.login-page) footer {
	display: none !important;
}

.login-container {
	display: flex;
	width: 100%;
	height: 100vh;
	overflow: hidden;
}

.login-left {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
	padding: 2rem;
	overflow-y: auto;
}

.login-form-wrapper {
	width: 100%;
	max-width: 460px;
	padding: 3rem 2.5rem;
	background: #ffffff;
	border-radius: 20px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.login-header {
	text-align: center;
	margin-bottom: 2.5rem;
}

.login-logo {
	width: 120px;
	height: auto;
	margin-bottom: 1.5rem;
	display: inline-block;
}

.login-title {
	font-size: 2rem;
	font-weight: 700;
	color: #2c3e50;
	margin-bottom: 0.5rem;
}

.login-subtitle {
	font-size: 0.95rem;
	color: #6c757d;
	margin: 0;
}

.modern-login-form {
	margin-bottom: 2rem;
}

.modern-login-form .form-group {
	margin-bottom: 1.75rem;
}

.modern-login-form .form-label {
	display: block;
	font-size: 0.9rem;
	font-weight: 600;
	color: #495057;
	margin-bottom: 0.5rem;
}

.input-wrapper {
	position: relative;
	display: flex;
	align-items: center;
}

.input-icon {
	position: absolute;
	left: 1rem;
	color: #6c757d;
	font-size: 1.1rem;
	pointer-events: none;
	z-index: 1;
}

.modern-input {
	width: 100%;
	padding: 0.9rem 1rem 0.9rem 3rem;
	font-size: 1rem;
	border: 2px solid #e9ecef;
	border-radius: 12px;
	transition: all 0.3s ease;
	background-color: #f8f9fa;
}

.modern-input:focus {
	outline: none;
	border-color: #0d6efd;
	background-color: #ffffff;
	box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}

.modern-input::placeholder {
	color: #adb5bd;
}

.modern-login-btn {
	width: 100%;
	padding: 1rem;
	font-size: 1.05rem;
	font-weight: 600;
	border: none;
	border-radius: 12px;
	background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	transition: all 0.3s ease;
	margin-top: 2rem;
}

.modern-login-btn:hover {
	background: linear-gradient(135deg, #0a58ca 0%, #084298 100%);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
}

.modern-login-btn:active {
	transform: translateY(0);
}

.modern-login-btn i {
	font-size: 1.5rem;
}

.login-footer {
	text-align: center;
	padding-top: 1.5rem;
	border-top: 1px solid #e9ecef;
}

.footer-text {
	font-size: 0.85rem;
	color: #6c757d;
	margin: 0;
}

.login-right {
	flex: 1;
	position: relative;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.login-right::before {
	content: '';
	position: absolute;
	width: 150%;
	height: 150%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
	background-size: 50px 50px;
	animation: float 20s ease-in-out infinite;
}

@keyframes float {
	0%, 100% { transform: translate(0, 0) rotate(0deg); }
	33% { transform: translate(30px, -30px) rotate(120deg); }
	66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.graphic-overlay {
	position: relative;
	z-index: 1;
	padding: 3rem;
	max-width: 600px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 100%;
}

.graphic-content {
	color: #ffffff;
	flex: 1;
}

.graphic-footer {
	color: #ffffff;
	text-align: center;
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	font-size: 0.9rem;
	opacity: 0.85;
}

.graphic-footer p {
	margin: 0;
}

.graphic-title {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
	line-height: 1.2;
}

.graphic-description {
	font-size: 1.1rem;
	margin-bottom: 2.5rem;
	line-height: 1.6;
	opacity: 0.95;
}

.feature-list {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.feature-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	font-size: 1.05rem;
	padding: 1rem 1.5rem;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	backdrop-filter: blur(10px);
	transition: all 0.3s ease;
}

.feature-item:hover {
	background: rgba(255, 255, 255, 0.15);
	transform: translateX(10px);
}

.feature-item i {
	font-size: 1.5rem;
	color: #4ade80;
}

/* Responsive Design */
@media (max-width: 992px) {
	.login-container {
		flex-direction: column;
	}

	.login-right {
		display: none;
	}

	.login-left {
		width: 100%;
	}
}

@media (max-width: 576px) {
	.login-form-wrapper {
		padding: 2rem 1.5rem;
	}

	.login-title {
		font-size: 1.75rem;
	}

	.login-logo {
		width: 100px;
	}
}