html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
.square {
    width: 40px;
    height: 40px;
    border: 2px solid #555;
    margin: 5px;
}

    .square.on {
        background-color: green;
    }

    .square.off {
        background-color: white;
    }

/* Container for responsive SVG */
.svg-container {
    /*position: relative;*/
    width: 100%;
    padding-bottom: 69.44%;  Aspect ratio (750/1080) 
  /*  overflow: hidden;*/
}

/* Responsive SVG styling */
.responsive-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 300px; /* Minimum width */
}

/* Optional: Add some responsive behavior for smaller screens */
@media (max-width: 768px) {
    .svg-container {
        padding-bottom: 100%; /* More square aspect ratio on mobile */
    }
}
/*.svg-container {
    position: relative;
    margin: 0 auto;
    max-width: 1200px;
}*/

.responsive-svg {
    width: 100%;
    height: auto;
    min-height: 600px;
  /*  border: 1px solid #444;*/
}

.alert-warning {
    background-color: #ffc107;
    color: #856404;
    padding: 15px;
    border-radius: 4px;
}

#sld-status {
    font-family: monospace;
}

/* Status indicators */

/**/
/*____________________*/



.navbar-custom {
    background: linear-gradient(to right, #10141f, #1c1f2b);
    border-bottom: 2px solid #0d6efd55;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    color: #0d6efd !important;
    font-weight: bold;
    font-size: 1.5rem;
}

.dropdown-menu-dark .dropdown-item:hover {
    background-color: #0d6efd;
    color: white;
}