﻿.map-control {
    background: white;
    padding: 10px;
    font-size: 14px;
    font-family: Arial, sans-serif;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    border-radius: 5px;
    max-width: 200px;
    margin: 10px;
    transition: all 0.3s ease-in-out;
}

.map-control h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.toggles-label {
    padding-left: 7px;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    transition: opacity 0.2s ease-out;
}

.legend-icon {
    width: 12px;
    height: 12px;
    margin-right: 8px;
    display: inline-block;
    border: black 1px solid;
}

.LotWidth {
    width:25%
}

.lots-table .btn {
    padding: 6px 6px;
    margin-bottom: 0;
    font-size: 12px;
}

div.dt-container div.dt-info {
    white-space: inherit;
    font-size: 13px;
}

.DataStatusWidth {
    width:10%;
}

table.dataTable td.dt-type-numeric {
    text-align: left;
}


@media (min-width: 1200px) and (max-width: 1366px) {
    .LotWidth {
        width: 40%;
    }

    .lots-table-resonsive-col-1, .lots-assessment-resonsive-col-1 {
        width: 60%;
    }

    .lots-table-resonsive-col-2, .lots-assessment-resonsive-col-2 {
        width: 40%;
    }


    .lots-table-resonsive > tbody > tr > td, .lots-table-resonsive > thead > tr > th {
        padding: 4px;
    }
}


@media (min-width: 992px) and (max-width: 1199px) {
    .LotWidth {
        width: 40%;
    }

    .lot-table {
        font-size: 12px;
    }

        .lot-table .btn {
            padding: 6px 8px;
            font-size: 12px;
        }

    .bottomRow p {
        font-size: 14px;
    }

    .lot-table, #DataTables_Table_0 {
        font-size: 12px;
    }

    .lots-table-resonsive > tbody > tr > td, .lots-table-resonsive > thead > tr > th {
        padding: 4px;
    }

    .lots-table-resonsive-col-1, .lots-assessment-resonsive-col-1 {
        width: 60%;
    }

    .lots-table-resonsive-col-2, .lots-assessment-resonsive-col-2 {
        width: 40%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {

    .bottomRow p, .topRow p {
        font-size: 14px;
    }
}

#legend {
    position: relative;
    overflow: hidden;
    min-width: 200px;
}

#legend.collapsed {
    max-width: 50px;
    border: none;
    padding: 10px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 4px 10px;
    cursor: pointer;
    min-width: 50px;
}

#legend.collapsed .legend-item,
#legend.collapsed h3 {
    opacity: 0;
    visibility: hidden;
    height: 0;
    margin: 0;
}

#toggle-btn {
    color: rgb(86, 86, 86);
    font-family: Roboto, Arial, sans-serif;
    font-size: 12px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 4px 8px;
    transition: all 0.2s ease;
}

#toggle-btn:hover {
    background-color: #e9ecef;
}

#legend.collapsed #toggle-btn {
    position: static;
    border-radius: 3px;
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background-color: transparent;
    border: none;
}

#legend.animating {
    animation: pulse 0.3s ease;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}


