.text-heiwit {
    color: #f08125;
}

.noUi-connect {
    background: #f08125 !important;
}

#heiwit-plugin-map {
    height: 550px;
}

/* 
* Google Maps 
*/

#description {
    font-size: 15px;
    font-weight: 300;
}

#heiwit-plugin-map #infowindow-content {
    display: inline;
}

.pac-card {
    background-color: #fff;
    border: 0;
    border-radius: 2px;
    box-shadow: 0 1px 4px -1px rgba(0, 0, 0, 0.3);
    margin: 10px;
    padding: 0 0.5em;
    font: 400 18px;
    overflow: hidden;
    padding: 0;
    width: 80%;
}

#pac-container {
    padding-bottom: 12px;
    margin-right: 12px;
}

.pac-controls {
    display: inline-block;
    padding: 5px 11px;
}

.pac-controls label {
    font-family: Roboto;
    font-size: 13px;
    font-weight: 300;
}

#location-input {
    background-color: #fff;
    font-family: Roboto;
    font-weight: 300;
    margin-left: 12px;
    text-overflow: ellipsis;
    width: 100%;
    padding: 8px;
    font-size: 16px;
    border-color: #f08125;
}

#title {
    color: #fff;
    background-color: #f08125;
    font-size: 25px;
    font-weight: 500;
    padding: 6px 12px;
}

.slider_con input {
    width: 100%;
    border-radius: 10px;
    accent-color: #f08125;
}

#panelMarker {
    display: none;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none; 
}

.slider-container {
    padding: 8px 24px;
    margin: 10px;
    background: #f08125;
    display: flex;
    align-items: center;
    color: white;
    font-weight: 400;
    border-radius: 40px;
}

.panel-count-label {
    padding: 2px 0px;
    white-space: nowrap;
}

div#yourParentContainerId {
    display: flex;
    width: 100%;
    /*display: none !important;*/
}

.panel_c {
    width: 50%;
}

.heiwit-overlay{
    position: absolute;
    left: 0; 
    top: 0; 
    right: 0; 
    bottom: 0;
    z-index: 2;
    background-color: rgba(255,255,255,0.8);
}
.heiwit-overlay-content {
    position: absolute;
    transform: translateY(-50%);
     -webkit-transform: translateY(-50%);
     -ms-transform: translateY(-50%);
    top: 50%;
    left: 0;
    right: 0;
    text-align: center;
    color: #555;
}
/* V2 flow / loader / slider fixes */
.heiwit-map-wrapper {
    position: relative;
    width: 100%;
}

.heiwit-map-wrapper.heiwit-is-loading #heiwit-plugin-map {
    filter: saturate(0.85) brightness(0.92);
}

.heiwit-map-loader {
    position: absolute;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(10, 20, 35, 0.36);
    backdrop-filter: blur(2px);
    pointer-events: all;
}

.heiwit-map-loader-card {
    width: min(420px, calc(100% - 40px));
    background: rgba(255, 255, 255, 0.96);
    border-radius: 24px;
    padding: 28px 26px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
    text-align: center;
    color: #333;
}

.heiwit-map-spinner {
    width: 54px;
    height: 54px;
    margin: 0 auto 16px auto;
    border-radius: 50%;
    border: 5px solid rgba(240, 129, 37, 0.22);
    border-top-color: #f08125;
    animation: heiwitSpin 0.9s linear infinite;
}

@keyframes heiwitSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.heiwit-map-loader-title {
    font-size: 19px;
    font-weight: 800;
    color: #f08125;
    line-height: 1.25;
    margin-bottom: 8px;
}

.heiwit-map-loader-subtitle {
    font-size: 13px;
    font-weight: 500;
    color: #555;
    line-height: 1.35;
}

.heiwit-map-loader-bar {
    position: relative;
    width: 100%;
    height: 8px;
    border-radius: 99px;
    overflow: hidden;
    background: rgba(240, 129, 37, 0.18);
    margin-top: 18px;
}

.heiwit-map-loader-bar span {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -40%;
    width: 40%;
    border-radius: inherit;
    background: #f08125;
    animation: heiwitLoadingBar 1.15s ease-in-out infinite;
}

@keyframes heiwitLoadingBar {
    0% { left: -40%; }
    100% { left: 100%; }
}

.slider-container.heiwit-slider-container-v2 {
    padding: 20px 24px;
    margin: 14px 0 16px 0;
    background: #f08125;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    color: white;
    font-weight: 400;
    border-radius: 28px;
    max-width: 100%;
}

.heiwit-slider-field {
    width: 100%;
}

.heiwit-slider-label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    width: 100%;
    margin: 0 0 8px 0;
    font-size: 13px;
    line-height: 1.2;
    color: #fff;
    font-weight: 700;
}

.heiwit-slider-label span {
    min-width: 0;
}

.heiwit-slider-label strong {
    white-space: nowrap;
    font-size: 14px;
    font-weight: 800;
}

.slider_con input.heiwit-range-slider {
    display: block;
    width: 100%;
    height: 16px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    accent-color: white;
}

.slider_con input.heiwit-range-slider::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.92);
}

.slider_con input.heiwit-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    margin-top: -5px;
    background: #fff;
    border: 2px solid #f08125;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.slider_con input.heiwit-range-slider::-moz-range-track {
    height: 8px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.92);
}

.slider_con input.heiwit-range-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #f08125;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

@media (max-width: 767px) {
    .heiwit-map-loader-card {
        padding: 22px 18px;
    }

    .slider-container.heiwit-slider-container-v2 {
        padding: 18px;
        border-radius: 24px;
    }
}

/* V2.1 slider layout: vertical, full-width controls in the right column */
.slider_con {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.slider-container.heiwit-slider-container-v2 {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    display: block;
    padding: 22px 24px;
    margin: 14px 0 16px 0;
    border-radius: 28px;
}

.slider-container.heiwit-slider-container-v2 .heiwit-slider-field {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 22px 0;
    padding: 0;
    box-sizing: border-box;
}

.slider-container.heiwit-slider-container-v2 .heiwit-slider-field:last-child {
    margin-bottom: 0;
}

.slider-container.heiwit-slider-container-v2 .heiwit-slider-label {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin: 0 0 10px 0;
    box-sizing: border-box;
}

.slider-container.heiwit-slider-container-v2 .heiwit-slider-label > span {
    flex: 1 1 auto;
    min-width: 0;
}

.slider-container.heiwit-slider-container-v2 .heiwit-slider-label strong {
    flex: 0 0 auto;
}

.slider-container.heiwit-slider-container-v2 input.heiwit-range-slider {
    display: block;
    width: 100% !important;
    min-width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}


/* V2.3 professional layout tools */
.heiwit-advanced-tools {
    width: 100%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 22px;
    padding: 14px 16px;
    box-sizing: border-box;
}

.heiwit-advanced-tools summary {
    cursor: pointer;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.heiwit-tool-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.heiwit-check-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    line-height: 1.3;
    color: #fff;
    margin: 0;
}

.heiwit-check-row input {
    width: auto !important;
    min-width: auto !important;
}

.heiwit-check-row em {
    opacity: .82;
    font-size: 11px;
}

.heiwit-mini-slider-field label {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.heiwit-obstacle-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.heiwit-tool-button {
    appearance: none;
    border: 0;
    border-radius: 999px;
    padding: 9px 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #f08125;
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
}

.heiwit-tool-button-secondary {
    background: rgba(255,255,255,.18);
    color: #fff;
    border: 1px solid rgba(255,255,255,.42);
}

.heiwit-tool-button-report {
    background: #333;
    color: #fff;
}

.heiwit-obstacle-help {
    font-size: 12px;
    line-height: 1.35;
    color: rgba(255,255,255,.9);
    margin-top: 10px;
}

.heiwit-professional-summary {
    width: 100%;
    background: #fff;
    color: #333;
    border-radius: 22px;
    padding: 15px;
    box-sizing: border-box;
}

.heiwit-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.heiwit-summary-grid div {
    background: #f7f7f7;
    border-radius: 14px;
    padding: 10px;
}

.heiwit-summary-grid span {
    display: block;
    font-size: 11px;
    color: #666;
    line-height: 1.2;
    margin-bottom: 4px;
}

.heiwit-summary-grid strong {
    display: block;
    color: #f08125;
    font-size: 15px;
    line-height: 1.2;
}

.heiwit-summary-note {
    margin: 10px 0 0 0;
    font-size: 11px;
    line-height: 1.35;
    color: #666;
}

@media (max-width: 767px) {
    .heiwit-summary-grid {
        grid-template-columns: 1fr;
    }
}
