body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f9;
}

#map {
    height: 100vh;
    width: 100vw;
}

/* Třída pro kolečko na mapě - přidán plynulý přechod pro změnu velikosti */
.rvo-marker {
    border-radius: 50%;
    border: 2px solid #333;
    box-shadow: 0 0 8px rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
}

/* Probarvení podle stavu vč. barvy textu */
.status-green { background-color: #28a745; color: white; }
.status-yellow { background-color: #ffc107; color: black; }
.status-red { background-color: #dc3545; color: white; }
.status-white { background-color: #ffffff; color: black; }

/* Stylování pop-up okna */
.popup-content {
    min-width: 220px;
}
.popup-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

/* Malé stavové tečky do popup okna */
.status-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
    border: 1px solid rgba(0,0,0,0.2);
}
.dot-green { background-color: #28a745; }
.dot-red { background-color: #dc3545; }

/* Styl pro hlavní napájení */
.main-power {
    margin: 10px 0;
    padding: 10px;
    background: #e9ecef;
    border-left: 5px solid #333;
    border-radius: 4px;
    font-size: 14px;
}

.circuit {
    margin: 5px 0;
    padding: 8px;
    background: #f8f9fa;
    border-left: 4px solid #007bff;
    border-radius: 4px;
    font-size: 13px;
}

.btn-contactor {
    margin-top: 15px;
    padding: 10px;
    background-color: #0d6efd;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
    transition: background-color 0.2s;
}
.btn-contactor:hover {
    background-color: #0b5ed7;
}