﻿/*******************************************/
/************ Section - Map Pin ************/
/*******************************************/
.pin {
    width: 13px;
    height: 13px;
    border-radius: 50% 50% 50% 50%;
    position: absolute;
    transform: rotate(-45deg);
    left: 50%;
    top: 50%;
    margin: -20px 0 0 -20px;
    border: 1px solid black;
}

    .pin.green {
        background: #13aa6b;
    }

    .pin.red {
        background: #b41a1a;
    }

    .pin.purple {
        background: #681ac1;
    }

    .pin.orange {
        background: #ff6a00;
    }

    .pin.black {
        background: #000000;
    }

/*******************************************/
/*********** Section - Map Legend **********/
/*******************************************/

#azureMapsContainer {
    position: relative;
}

.map-legend {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 18px;
    max-width: 220px;
    z-index: 1000;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.legend-item input[type="checkbox"] {
    margin-right: 6px;
    cursor: pointer;
}

.legend-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.legend-item img {
    margin-right: 6px;
    width: 16px;
    height: 16px;
}

/*******************************************/
/****** Section - Machine Information ******/
/*******************************************/

.infobox {
    width: 360px;
    border: 1px solid #999;
    background: #fff;
    font-family: Arial, sans-serif;
    font-size: 13px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    overflow: hidden;
}

.infobox-header {
    font-weight: bold;
    font-size: 14px;
    padding: 8px 10px;
    border-bottom: 1px solid #ccc;
}

.infobox-body {
    display: flex;
    min-height: 220px;
}

.infobox-sidebar {
    width: 90px;
    background: #c00;
    display: flex;
    flex-direction: column;
    color: #fff;
}

.tipnav {
    cursor: pointer;
    padding: 8px 6px;
    font-weight: bold;
    user-select: none;
}

.tipnavactive {
    background: #fff;
    color: #000;
}

.tipnav:hover {
    background: #b00;
}

.infobox-content {
    flex: 1;
    padding: 8px;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table td {
    padding: 4px;
    vertical-align: top;
    color: #333;
}

.dot {
    font-size: 16px;
}

.dot.green {
    color: #009900;
}

.dot.blue {
    color: #0066ff;
}

.infobox-footer {
    display: flex;
    justify-content: space-around;
    background: #000;
    padding: 6px 0;
}

.infobox-footer a {
    color: #fff !important;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 13px;
    transition: opacity 0.2s ease;
}

.infobox-footer a:hover {
    opacity: 0.7;
    text-decoration: none !important;
}