/****************************************************************
 * includes/map-options-shortcode.php   
 *****************************************************************/

.dlcs-table {
    width: 100%;
    border-collapse: collapse;
}

.dlcs-table td {
    border: 1px solid #ddd;
    height: 40px;
}

/****************************************************************
 * includes/class-shortcode-title-text.php   
 *****************************************************************/

.dlcs-title {
    margin: 0 0 1rem;
}

.dlcs-title__heading {
    margin: 0 0 .5rem;
    line-height: 1.2;
}

.dlcs-title__text p {
    margin: 0 0 .75rem;
}


/****************************************************************
 * MAPS
 * includes/class-shortcode-map-layers.php   
 *****************************************************************/

/* Container */
.dlcs-maplayers__controls {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    /* spacing between items */
    max-width: 260px;
    /* optional: keeps layout neat */
}

/* Each label wraps a checkbox + text */
.dlcs-maplayers__control {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    /* color: white !important; */
    font-weight: 500;

    justify-content: space-between;
    flex-direction: row-revers
}

/* Hide the default checkbox */
.dlcs-maplayers__control input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;


    background-color: #ffffff;
    /* white center */
    border: 2px solid #d4af37;
    /* gold border */
}

/* Checkmark styling */
.dlcs-maplayers__control input[type="checkbox"]:checked {
    background-color: white;
    border-color: #d4af37;
}

.dlcs-maplayers__control input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #2e5738;
    /* green dot */
    border-radius: 50%;
    /* circular dot */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* centre perfectly */
}


/* Hover & focus states */
.dlcs-maplayers__control input[type="checkbox"]:hover {
    border-color: #2e5738;
}

.dlcs-maplayers__control input[type="checkbox"]:focus {
    outline: 2px solid #8dbf9b;
    outline-offset: 2px;
}

#bb-pan-shield {
    position: absolute;
    inset: 0;
    z-index: 2;
    /* Above plugin listeners, below your UI */
    background: transparent;
}