/*
 * Autotel map device name/speed labels
 * Makes .leaf-device-marker .name easier to read on satellite basemaps.
 *
 * Additive override only. Does not change:
 *   - .name position, margin-bottom, or translateX (label offset stays the same)
 *   - cluster icon classes (.marker-cluster, DonutCluster, etc.)
 *
 * Load this file last in Frontend/Layouts/partials/head.blade.php,
 * after color-11.css, color-12.css and leaflet.css, because those
 * already set background, padding and border on the same selector.
 */

#map .leaf-device-marker .name i {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    color: #111111;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(17, 17, 17, 0.55);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    padding: 5px 9px;
    border-radius: 4px;
}

/* Keep the speech-bubble arrow in step with the stronger box. */
#map .leaf-device-marker .name:after {
    border-top-color: rgba(255, 255, 255, 0.96);
}

#map .leaf-device-marker .name:before {
    border-top-color: rgba(17, 17, 17, 0.55);
}
