:root {
    --brand-primary: #007bff;
    --text-primary: #0E1114;
    --text-secondary: #616C76;
    --info-light: #E8F2FE;
    --info: #0086EA;
    --success-light: #C6FED0;
    --success: #1D9745;
    --warning: #C89600;
    --neutral: #8FA0AF;
    --energuy-green: #8FC542;
}

/* Ensure the navbar-center div is centered */
.navbar-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Keep the logo centered even if navbar items expand */
.navbar-nav {
    display: flex;
    flex-grow: 1;
}

.d-flex.ms-auto {
    display: flex;
    align-items: center;
}

.nav-link {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

.bg-energuy-green {
    background-color: var(--energuy-green);
}

.bg-brand-primary {
    background-color: var(--brand-primary);
}

.brand-primary {
    color: var(--brand-primary);
}

.text-primary {
    color: var(--text-primary);
}

.text-secondary {
    color: var(--text-secondary);
}

.nav-link:hover {
    color: var(--brand-primary) !important;
    cursor: pointer;
}

.card-custom {
    margin: 0.5rem !important;
    border-radius: 18px !important;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px !important;
}

.profile-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #7CC242;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.text-info {
    color: var(--info);
}

.bg-info-light {
    background-color: var(--info-light);
}

.text-success {
    color: var(--success);
}

.bg-success-light {
    background-color: var(--success-light);
}

.text-neutral {
    color: var(--neutral);
}

.bg-neutral {
    background-color: var(--neutral);
}

.bg-tabs {
    background-color: #EEF1F4;
    color: #616C76;
}

.badge-bg-warning {
    background-color: var(--warning);
}

.badge-bg-success {
    background-color: var(--success);
}

.plus-jakarta-sans-200, input.form-control {
    font-family: "Plus Jakarta Sans", serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    color: var(--text-primary);
}
.font-weight-200 {
    font-weight: 200;
}
.font-weight-400 {
    font-weight: 400;
}
.font-weight-500 {
    font-weight: 500;
}
.font-weight-600 {
    font-weight: 600;
}
.font-weight-700 {
    font-weight: 700;
}

.plus-jakarta-sans {
    font-family: "Plus Jakarta Sans", serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: var(--text-primary);
}

.standard-button {
    background-color: var(--brand-primary);
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.standard-button:hover {
    background-color: #0056b3;
}

.disabled-btn {
    background-color: var(--neutral) !important;
    cursor: not-allowed !important;
}

.disabled-btn:hover {
    background-color: var(--neutral) !important;
}

/* Remove all borders and add only bottom border */
.bottom-border-input, .bottom-border-input:focus, .form-notch-leading, .form-notch-middle, .form-notch-trailing {
    border: none !important;
    border-bottom: 1px solid #ced4da !important; /* Default bottom border */
    border-radius: 0 !important; /* Remove border-radius if any */
    outline: none !important; /* Remove default outline */
    box-shadow: none !important; /* Remove default box-shadow */
    transition: border-color 0.3s, box-shadow 0.3s !important;
}

.invalid-bottom-border-input, .invalid-bottom-border-input:focus {
    border: none !important;
    border-bottom: 2px solid #d52111 !important; /* Default bottom border */
    border-radius: 0 !important; /* Remove border-radius if any */
    outline: none !important; /* Remove default outline */
    box-shadow: none !important; /* Remove default box-shadow */
    transition: border-color 0.3s, box-shadow 0.3s !important;
}

#search-container .form-notch{
    display: none !important;
}

input.select-input {
    padding-left: 0px !important;
}

.w-70 {
    width: 70%;
}

#asset-widget h6 {
    display: none;
}

#asset-widget .image-container,
#asset-widget .upload-card-root,
#asset-widget .hx-indicator {
    flex: 0 0 auto;
    width: 33.33333333%;
    padding: 0.25rem !important;
}

@media (max-width: 1400px) {
    #asset-widget .image-container,
    #asset-widget .upload-card-root,
    #asset-widget .hx-indicator  {
        width: 100%;
    }
}

.v2-content {
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1400px) {
    .v2-content:first-child {
        margin: 0 16px
    }
}

#asset-widget .lightbox {
    padding: 0.5rem !important;
}

.icon-color-primary {
    color: #1E1E1E;
}

.font-size-20 {
    font-size: 20px;
}

.flip-horizontal {
    transform: scaleX(-1);
}

.disable-click {
    pointer-events: none;
}

.overflow-y-auto {
    overflow-y: auto;
}

.scrollbar-none {
    scrollbar-width: none;
}

/* HTMX Slide Transitions */

/* Fade Animations */
@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Slide Animations */
@keyframes slide-from-right {
    from { transform: translateX(90px); }
    to { transform: translateX(0); }
}

@keyframes slide-to-left {
    from { transform: translateX(0); }
    to { transform: translateX(-90px); }
}

@keyframes slide-from-left {
    from { transform: translateX(-90px); }
    to { transform: translateX(0); }
}

@keyframes slide-to-right {
    from { transform: translateX(0); }
    to { transform: translateX(90px); }
}

/* Transition Classes */
.slide-left {
    view-transition-name: slide-left;
}

.slide-right {
    view-transition-name: slide-right;
}

/* Slide Left Transition */
::view-transition-old(slide-left) {
    animation:
        fade-out 180ms cubic-bezier(0.4, 0, 1, 1) both,
        slide-to-left 600ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

::view-transition-new(slide-left) {
    animation:
        fade-in 420ms cubic-bezier(0, 0, 0.2, 1) 90ms both,
        slide-from-right 600ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Slide Right Transition */
::view-transition-old(slide-right) {
    animation:
        fade-out 180ms cubic-bezier(0.4, 0, 1, 1) both,
        slide-to-right 600ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

::view-transition-new(slide-right) {
    animation:
        fade-in 420ms cubic-bezier(0, 0, 0.2, 1) 90ms both,
        slide-from-left 600ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

body {
    width: 100vw;
    overflow-x: hidden;
    /* background-color: #EAEAEA !important; */
    background-color: #F8F9FA !important;
}

html {
    color: #312E2E;
}

html, body, #base-container, #base-row  {
    min-height: 100vh !important;
}

.multiselect-container input {
    display: none
}

.background-color-primary, .form-check > input:checked, #sign-in-btn, #back-btn, #submit-btn {
    background-color: #312E2E !important;
}

.background-color-secondary  {
    background-color: #708999 !important;
}
.color-secondary {
    color: #708999 !important;
}

.color-dark-secondary {
    color: #4F5A64 !important;
}

.background-color-grey {
    background-color: #606060;
}

.background-color-green {
    background-color: #8DC542 !important;
}

.background-color-red {
    background-color: #c73939 !important;
}
.background-color-white {
    background-color: white !important;
}

.background-color-light-green {
    background-color: #99D6AD;
}

.card-background-color {
    background-color: #d6d6d6 !important;
}

.border-color-primary, .form-check > input {
    border-color: #312E2E !important;
}

.color-primary, #forgot-pw {
    color: #312E2E !important;
}

.color-green {
    color: #3E620F !important;
}

.color-bright-green {
    color: #8DC542 !important;
}

.color-grey {
    color: #606060 !important;
}

.color-white {
    color: white !important;
}

.color-purple {
    color: rgb(102, 0, 102);
}

#content {
    transition: margin 0.5s;
}

.select-input.form-control {
    background-color: #FFFFFF !important;
}

.bg-color-white {
    background-color: #FFFFFF !important;
}

.vertical-center {
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

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

.bg-dark-secondary {
    background-color: #4F5A64 !important;
    color: #FFF;
}




/* Keeps the default color of valid values! */
.form-check-input:valid~.form-check-label {
    color: #4f4f4f !important;
}

.form-check-input.is-valid, .was-validated .form-check-input:valid{
    border-color: #4f4f4f !important;
}

.display-8 {
    font-size: calc(0.75rem + 0.7vw) !important;
    font-weight: 300;
    line-height: 1.2;
}

.buttons-container {
    background-color: #312E2E !important;
}

.appointment-selected {
    color: white !important;
    background-color: #606060 !important;
}
.appointment-selected .generate-filenumber-button,
.appointment-selected .advisor-info,
.appointment-selected .view-invoice,
.appointment-selected .update-filenumber-button,
.appointment-selected .generate-dcf,
.appointment-selected .generate-invoice-button {
    color: white !important;
}

.highlight-appointment {
    border: 3px #8DC542 solid !important;
}

#property_list_table tr[id*='property-']:hover {
    cursor: pointer;
    background-color: #d6d6d6;
}

#base-container {
    transition-duration: 0s !important;
}

.no-animation {
    transition-duration: 0s !important;
}

.checkmark-search-hide:hover, .checkmark-search-show:hover {
    background-color:#c8cbcc;
    cursor: pointer;
}

.form-switch .form-check-input[type=checkbox]:checked {
    background-color: #3b71ca !important;
}
.form-switch .form-check-input:checked[type=checkbox]:after {
    background-color:#dee2e6 !important;
}

.sticky-row {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 2;
}

#schedule_territory_plan_table {
    max-height: 75vh;
    overflow: auto;
}

.timepicker-head {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.timepicker-submit-inline {
    color: white !important;
}

.timepicker-submit-inline:hover {
    color: black !important;
    font-weight: bold;
}

.rate-description p {
    width: 80%;
    white-space: normal;
}

.appointment-edit-btn {
    top: 20%;
    right: 2%;
    z-index: 1;
}

/* removes 'select all' option from mdb multi-select */
body[data-disable_select_all="True"] .select-all-option {
    display: none;
}

.bg-transparent {
    background-color: (255,255,255,0.5);
}

.invisible {
    opacity: 0;
}

.invoice-day-table > tr:nth-child(n+2):nth-child(2n):not(:last-child) {
    border-bottom: 2px solid grey;
}

.flex-even {
    flex: 1;
}

.rounded-lg {
    border-radius: 0.5rem !important;
}

.rounded-xl {
    border-radius: 0.75rem !important;
}

.clickable {
    cursor: pointer;
    float: right;
}
.clickable:hover {
    opacity: 0.6;
}
.clickable:active {
    transform: scale(0.90);
}
.height-5px {
    height: 5px;
}

.lazer-loader {
    position: relative;
    overflow: hidden;
}

.lazer-loader::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(141, 197, 66, 0.7), transparent);
    animation: skeleton-loading 2s infinite;
}

/* Skeleton loading widgets */
.skeleton {
    position: relative;
    overflow: hidden;
    background: #b3b3b3;
    border-radius: 4px;
}
.skeleton.light {
    background: #999;
}
.skeleton.dark {
    background: #808080;
}
.skeleton.darker {
    background: #6b6b6b;
}
.loading-shimmer {
    position: relative;
    overflow: hidden;
}
.skeleton::after, .loading-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: skeleton-loading 1.5s infinite;
}
@keyframes skeleton-loading {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}
/* add .hide-during-request to the target element if you want to hide it during the htmx request,
for example while a hx-indicator is displayed */
.htmx-request.hide-during-request{
    display:none;
}
.hx-indicator{
    display:none;
}
.htmx-request .hx-indicator{
    display:inline;
}
.htmx-request.hx-indicator{
    display:inline;
}

/* Activity Log */
.timeline {
    position: relative;
    margin-left: 38px;
    padding: 20px 0;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -18px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #cdcdcd;
    z-index: 0;
}

.timeline-item:first-child::before {
    top: 10%;
}

.timeline-item:last-child::before {
    bottom: 90%;
}

.timeline-item {
    position: relative;
    padding-left: 10px;
    padding-bottom: 20px;
}

.dot {
    position: absolute;
    left: -26px;
    top: -5px;
    transform: translateY(50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #cdcdcd;
    z-index: 1;
}

.timeline-content {
    position: relative;
    z-index: 1;
}

/* Image/File widget */
.border-dashed {
    border: 1px dashed #e0e0e0 !important;
}

.center-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.centered-element {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pointer * {
    cursor: pointer;
    transition: 300ms;
}

/* Makes the headings visible for the first image in each category */
.upload-card-root + .image-container h6,
.image-container:first-child h6 {
    opacity: 1; /* Make the heading visible */
}

.image-container h6 {
    opacity: 0; /* Hide all h6 elements inside .image-container by default */
}

/* make an image just big enough to fit it's container */
.cover {
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* Maintains a square aspect ratio */
    position: relative;
    overflow: hidden;
}

.cover img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%; /* Make the width of the image match the width of the container */
    height: 100%; /* Make the height of the image match the height of the container */
    object-fit: cover; /* Ensures the image covers the container */
    transform: translate(-50%, -50%);
    max-width: none; /* Disable the automatic adjustment of width */
    max-height: none; /* Disable the automatic adjustment of height */
}


.hover-shade:hover * {
    opacity: 0.8;
}

.square {
    width: 50%;
}

.square:after {
    content: "";
    display: block;
    padding-bottom: 100%;
}

.list-group-item a {
    color:#262626;
}

.color-green {
    color: #3E620F !important;
}

.dragover {
    background-color: #eceff1 !important;
    transition: background-color 0.3s ease !important;
}

/* Enables Alpine JS cloak */
[x-cloak] { display: none !important; }

.modal-dialog {
    margin: 30px auto 30px;      /* keep some top/bottom gap */
    transform: none!important; /* disable the translate centering */
}
.modal-body {
    max-height: calc(100vh - 260px); /* adjust 200px as header+footer height + 30 + 30 margin */
    overflow-y: auto;
}

.snooze-wrapper {
    /* make container a positioning context */
    position: relative;
  }
.snooze-wrapper .overlay {
    position: absolute;
    inset: 0;
    display: none;
    background: rgba(255,255,255,0.6);
}
.snooze-wrapper:hover .overlay {
    display: flex;
}
.snooze-wrapper:hover .snooze-content {
    filter: blur(4px);
}

.select-option {
    height: unset !important;
    min-height: 38px;;
}

.select-option-text {
    white-space: pre-wrap;
}

.autocomplete-item {
    white-space: pre-wrap !important;
}

#sidenav-main {
    background-color: #606060;
    transition-duration: 0s !important;
}

#sidenav-main * {
    color: white;
}

#sidenav-main .secondary-color * {
    color: #606060;
}

#activity-bar {
    background-color: #EAEAEA;
    max-width: 325px !important;
    transition-duration: 0s !important;
}

#advisor-icon{
    color: black !important;
    border-color: black !important;
    border-radius: 50%;
    border-style: solid;
    background-color: transparent;
    line-height: 2.8125rem;
    width: 2.8125rem;
    height: 2.8125rem;
    padding: 0;
    background-color: white !important;
    font-size: larger;
}

#app-nav{
    min-height: 54px !important;
}

.module-menu{
    max-width: 500px !important;
}

.module-sub-text{
    font-size: 11px !important;
    color: gray;
}

/* The CSS below is for the searchbar */
/* -------------------------------- */
#search-dropdown, .search-focus {
    min-width: 50vw;
    max-height: 60vh;
    overflow-y: scroll;
    overflow-x: hidden;
}

#search-dropdown .heading {
    font-size: 1.5em;
}

#search-dropdown a {
    text-decoration: none;
    color: black;
}

#search-dropdown .search-result-card {
    margin: 0.5em;
    padding: 0.5em;
    border: 1px solid black;
    width: auto;
}

.x-square-fill-icon {
    mask: url('/static/icons/x-square-fill.svg') no-repeat center / contain;
    -webkit-mask: url('/static/icons/x-square-fill.svg') no-repeat center / contain;
}

.check-square-fill-icon {
    mask: url('/static/icons/check-square-fill.svg') no-repeat center / contain;
    -webkit-mask: url('/static/icons/check-square-fill.svg') no-repeat center / contain;
}

.check-circle-icon {
    mask: url('/static/icons/check-circle.svg') no-repeat center / contain;
    -webkit-mask: url('/static/icons/check-circle.svg') no-repeat center / contain;
}

.exclamation-circle-icon {
    mask: url('/static/icons/exclamation-circle.svg') no-repeat center / contain;
    -webkit-mask: url('/static/icons/exclamation-circle.svg') no-repeat center / contain;
}

.copy-icon {
    mask: url('/static/icons/copy-icon.svg') no-repeat center / contain;
    -webkit-mask: url('/static/icons/copy-icon.svg') no-repeat center / contain;
}

.copy-bold-icon {
    mask: url('/static/icons/copy-bold-icon.svg') no-repeat center / contain;
    -webkit-mask: url('/static/icons/copy-bold-icon.svg') no-repeat center / contain;
}

.chevron-compact-down-icon {
    mask: url('/static/icons/chevron-compact-down.svg') no-repeat center / contain;
    -webkit-mask: url('/static/icons/chevron-compact-down.svg') no-repeat center / contain;
}

.action-icon {
    color: #616C76;
}

.bg-color-red {
    background-color: red;
}

.bg-color-green-bright {
    background-color: #34C759;
}

.hxw-16 {
    width: 16px;
    height: 16px;
}
.hxw-26 {
    width: 26px;
    height: 26px;
}
.hxw-20 {
    width: 20px;
    height: 20px;
}
.hxw-30 {
    width: 30px;
    height: 30px;
}

/* BluejackQuote GPS Roof Measurement Tool */

#roof-measure-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#roof-measure-modal.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#roof-measure-content {
    position: absolute;
    inset: 0;
    overflow: hidden;
    transform: scale(0.97);
    transition: transform 0.4s ease;
}

#roof-measure-modal.open #roof-measure-content { transform: scale(1); }

#roof-map { position: absolute; inset: 0; background: #dfe3e8; }

#gps-map-loader {
    position: absolute;
    inset: 0;
    z-index: 500;
    background: #dfe3e8;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

#gps-map-loader.hidden { opacity: 0; pointer-events: none; }

.gps-panel {
    position: absolute;
    z-index: 1000;
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: 520px;
    margin: 0 auto;
    background: var(--gps-panel);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,.22);
    overflow: hidden;
}

.gps-readout { display: flex; }

.gps-stat {
    flex: 1;
    padding: 12px 14px;
    border-right: 1px solid var(--gps-line);
}

.gps-stat:last-child { border-right: none; }

.gps-stat .gps-lbl {
    font-size: 11px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--gps-muted);
    font-weight: 600;
}

.gps-stat .gps-val {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
    margin-top: 2px;
}

.gps-stat .gps-val small { font-size: 12px; font-weight: 600; color: var(--gps-muted); }
.gps-stat .gps-sub { font-size: 12px; color: var(--gps-muted); margin-top: 1px; }
.gps-stat.primary .gps-val { color: var(--gps-accent-dark); }

.gps-periline {
    padding: 7px 14px;
    font-size: 12px;
    color: var(--gps-muted);
    border-top: 1px solid var(--gps-line);
}

.gps-addressrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    border-top: 1px solid var(--gps-line);
}

.gps-address-label { font-size: 13px; font-weight: 600; flex-shrink: 0; }

.gps-address-field {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    border: 1px solid var(--gps-line);
    border-radius: 10px;
    overflow: hidden;
}

.gps-address-field input {
    flex: 1;
    min-width: 0;
    height: 40px;
    border: none;
    font-size: 13px;
    font-family: inherit;
    color: var(--gps-ink);
    background: transparent;
    padding: 0 10px;
}

.gps-address-field input:focus { outline: none; }

.gps-address-field button {
    height: 40px;
    padding: 0 12px;
    border: none;
    border-left: 1px solid var(--gps-line);
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: var(--gps-ink);
    cursor: pointer;
    font-family: inherit;
}

.gps-address-field button:active { background: #eef2f7; }

.gps-address-error {
    display: none;
    padding: 0 14px 8px;
    font-size: 12px;
    color: #c0392b;
}

.gps-address-error.visible { display: block; }

.gps-soffitrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    border-top: 1px solid var(--gps-line);
}

.gps-soffit-label { font-size: 13px; font-weight: 600; }
.gps-soffit-label span { color: var(--gps-muted); font-weight: 600; }

.gps-stepper {
    display: flex;
    align-items: center;
    border: 1px solid var(--gps-line);
    border-radius: 10px;
    overflow: hidden;
}

.gps-stepper button {
    width: 42px;
    height: 40px;
    border: none;
    background: #fff;
    font-size: 22px;
    font-weight: 700;
    color: var(--gps-accent);
    cursor: pointer;
    line-height: 1;
    font-family: inherit;
}

.gps-stepper button:active { background: #eef2f7; }

.gps-stepper .gps-field {
    display: flex;
    align-items: baseline;
    border-left: 1px solid var(--gps-line);
    border-right: 1px solid var(--gps-line);
    padding: 0 4px 0 8px;
    height: 40px;
}

.gps-stepper input {
    width: 34px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    font-family: inherit;
    color: var(--gps-ink);
    background: transparent;
    padding: 0;
}

.gps-stepper input:focus { outline: none; }
.gps-stepper input::-webkit-outer-spin-button,
.gps-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.gps-stepper input[type=number] { -moz-appearance: textfield; }
.gps-stepper .gps-unit { font-size: 12px; color: var(--gps-muted); font-weight: 600; padding-right: 6px; }

.gps-actions {
    display: flex;
    gap: 8px;
    padding: 10px 14px;
    border-top: 1px solid var(--gps-line);
}

.gps-actions button {
    flex: 1;
    height: 42px;
    border: 1px solid var(--gps-line);
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: var(--gps-ink);
    cursor: pointer;
    font-family: inherit;
}

.gps-actions button:active { background: #eef2f7; }
.gps-actions button.add { background: var(--gps-accent); color: #fff; border-color: var(--gps-accent); }
.gps-actions button.add:active { background: var(--gps-accent-dark); }
.gps-actions button:disabled { opacity: .4; cursor: default; }

.gps-tip { padding: 8px 14px; font-size: 12px; color: var(--gps-muted); background: #f7f9fc; }
.gps-tip b { color: var(--gps-ink); }

.gps-arealabel {
    position: absolute;
    white-space: nowrap;
    transform: translate(-50%, -50%);
    pointer-events: none;
    background: rgba(28,31,36,.82);
    color: #fff;
    border-radius: 6px;
    padding: 2px 6px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.bj-modal-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
    width: 36px;
    height: 36px;
    background: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.bj-btn-complete {
    width: 100%;
    height: 42px;
    background: #16a34a;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

/* BluejackQuote — shared quote form UI */

:root {
    --gps-accent: #0a80d6;
    --gps-accent-dark: #0869af;
    --gps-ink: #1c1f24;
    --gps-panel: #ffffff;
    --gps-muted: #6b7280;
    --gps-line: #e6e9ee;
}

.gps-loader-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(10,128,214,0.2);
    border-top-color: #0a80d6;
    border-radius: 50%;
    animation: gps-spin 0.75s linear infinite;
}

@keyframes gps-spin {
    to { transform: rotate(360deg); }
}

#calculate-loader {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(241,245,249,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#calculate-loader.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#city-locating {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    line-height: 0;
}

#city-locating.active { opacity: 1; }

.gps-measure-wrap { position: relative; flex-shrink: 0; }

.gps-measure-wrap .gps-measure-tip {
    position: absolute;
    bottom: calc(100% + 6px);
    right: 0;
    background: #1c1f24;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    padding: 5px 8px;
    border-radius: 5px;
    pointer-events: none;
    opacity: 0;
    white-space: nowrap;
    z-index: 10;
}

.gps-measure-wrap:hover .gps-measure-tip { opacity: 1; }

@media (max-width: 380px) {
    .gps-stat .gps-val { font-size: 19px; }
}

.bj-signout-link {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.bj-card-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.bj-card-subtitle {
    font-size: 13px;
    color: #64748b;
    margin-top: 2px;
}

.bj-gps-icon-btn--fab-sq {
    background: #f59e0b;
    border: 2px solid #f59e0b;
    border-radius: 8px;
    width: 42px;
    height: 42px;
    padding: 0;
    cursor: pointer;
    color: #1c1917;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.bj-selector-sublabel {
    font-size: 10px;
    color: #94a3b8;
    margin-top: 2px;
}

/* Email Quote modal */
#email-quote-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

#email-quote-modal.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#email-quote-content {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 28px;
    width: 90%;
    max-width: 380px;
    transform: scale(0.97);
    transition: transform 0.25s ease;
}

#email-quote-modal.open #email-quote-content { transform: scale(1); }

.bj-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #0f172a;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10000;
    pointer-events: none;
}

.bj-toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

