﻿.main-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.controls-container {
    padding: 15px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #ddd;
    width: 380px;
    z-index: 9;
    height: 100%;
    box-shadow: 0px 3px 3px 3px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    left: 0;
}

    .controls-container.hide-me {
        transition: all 0.5s ease;
        left: -382px;
    }

#search-container {
    /*display: flex;*/
    margin-bottom: 15px;
    position: relative;
}

#address-input {
    padding: 10px;
    font-size: 14px;
    border-radius: 24px;
    padding-left: 18px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding-right: 70px;
    height: 48px;
}



.search-btn {
    padding: 1px;
    color: #333;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 85px;
    top: 28px;
    height: 28px;
}

.remove-btn {
    padding: 1px;
    color: #333;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 39px;
    top: 21px;
    height: 28px;
}

#radius-container {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    margin-top: 20px;
}

#radius-input {
    width: 100px;
    padding: 8px;
    margin-right: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#radius-label {
    margin-right: 10px;
}

#check-container {
    margin-bottom: 15px;
}

.input-row {
    display: flex;
    margin-bottom: 8px;
}

.input-column {
    flex: 1;
}

    .input-column:first-child {
        margin-right: 10px;
    }

    .input-column label {
        display: block;
        margin-bottom: 4px;
    }

    .input-column input {
        width: 100%;
        padding: 8px;
        box-sizing: border-box;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

#check-btn {
    width: 100%;
    padding: 8px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 8px;
}

#check-result {
    padding: 6px;
    border-radius: 4px;
    margin-top: 8px;
}

.success-result {
    background-color: #e8f5e9;
}

.error-result {
    background-color: #ffebee;
}

.info-box {
    margin-top: 15px;
    background-color: #fff;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

#map {
    flex-grow: 1;
    width: 100%;
}

.pac-container {
    z-index: 1051 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    border-radius: 0 0 4px 4px;
}

.pac-item {
    padding: 8px;
    font-family: Arial, sans-serif;
    cursor: pointer;
}

    .pac-item:hover {
        background-color: #f1f3f4;
    }

.pac-icon {
    margin-right: 10px;
}

.pac-item-query {
    font-size: 14px;
    color: #202124;
}

.pac-matched {
    font-weight: bold;
}

#show-Geofence {
    border-radius: 10px;
    overflow: hidden;
}

.title {
    display: flex;
    width: 125px;
}

.right-box {
    width: calc(100% - 125px);
    font-weight: 600;
    color: #939393;
}

#show-Geofence_dialog-content.e-dlg-content {
    padding: 0;
}

.slide-me {
    padding: 28px 23px 28px 6px;
    background: #708db3;
    width: 15px;
    position: absolute;
    right: -45px;
    top: 315px;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
    border: 1px solid #dedfdf;
    border-left: 0;
    box-shadow: 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
    color: #fff;
    cursor: pointer;
}

.range-box input[type=range] {
    width: 100%;
    height: 6px;
    appearance: none;
    background: transparent; /* removes default styles */
}

    /* Webkit (Chrome, Safari, Edge) */
    .range-box input[type=range]::-webkit-slider-runnable-track {
        height: 6px;
        background: #727cf5; /* change this to your desired color */
        border-radius: 3px;
    }

    .range-box input[type=range]::-webkit-slider-thumb {
        -webkit-appearance: none;
        height: 16px;
        width: 16px;
        background: #fff;
        border: 2px solid #727cf5;
        border-radius: 50%;
        margin-top: -5px; /* center thumb */
        cursor: pointer;
    }

    /* Firefox */
    .range-box input[type=range]::-moz-range-track {
        height: 6px;
        background: #727cf5;
        border-radius: 3px;
    }

    .range-box input[type=range]::-moz-range-thumb {
        height: 16px;
        width: 16px;
        background: #fff;
        border: 2px solid #727cf5;
        border-radius: 50%;
        cursor: pointer;
    }


.e-dialog #show-Geofence_dialog-content.e-dlg-content {
    overflow: visible;
}

.geo-grid tr td {
    padding: 7px 3px;
    font-weight: 600;
}

    .geo-grid tr td:first-child {
        width: 131px;
    }

.hide-me .bi-caret-left-fill::before {
    content: "\f231";
}

.main-container .custom-map-controls {
    left: 400px !important;
}
