body {
    background-color: #211f1f;
    color: white;

}

#productname {
    font-family: 'Copperplate', 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 2.0em;
}

#icon {
    height: 125px;
    width: 125px;
}

.container {
    margin-top: 50px;
    max-width: none;
    width: 80%;
}
 
#nav {
    margin: 40px 0 0 20px;
}
 
#nav ul li {
    display: inline;
    margin: 0 20px 0 0;
    margin-bottom: 130px;
}
 
#nav a {
    text-decoration: none;
}
 
#nav a:hover {
    text-decoration: underline;
}

#map {
    height: 768px;
    width: 80%;
}

#trackGrid {
    width: 100%;
}

.dialog {
    display: none;
}

#addDeviceDialog div input {
    color: black;
}

.center {
    display: flex;
    justify-content: center;  /* Centers horizontally */
    top: 300px;
}

#loginicon {
    height: 125px;
    width: 125px;
}

#acslogo {
    height: 150px;
}

#trackQuery {
    display: flex;  /* Enables horizontal layout */
    gap: 10px;  /* Space between items */
    padding: 10px;
}

#hoursQuery {
    color: black;
    display: none;
}

#refreshRate {
    color: black;
}

#menu {
    border-right: 2px;
}

.bold {
    font-weight: bold;
}
.header {
    font-weight: bold;
    font-size: 1.5em;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.header2 {
    font-weight: bold;
    font-size: 1.3em;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.hidden {
    display: none;
}
.ui-dialog-titlebar-close {
    visibility: hidden;
}
label {
    display: inline-block;
    /* width: 5em; */
}
.failed {
    color: #FF0000;
    font-weight: bold;
    font-size: 1.1em;
}
.active {
    color: #00FF00;
    font-weight: bold;
    font-size: 1.1em;
}
.bold {
    font-weight: bold;
}
.group {
    font-weight: bold;
    color: white;
    background-color: blue;
}
.form-group label {
    font-weight: bold;
}

.table-wrapper
{
    border: 1px solid white;
    width: 100%;
    height: 325px;
    overflow: auto;
}

.checkboxLabel {
    padding-left: 5px;
}

.disabled {
    background-color: gray !important;
    color: white !important;
    opacity: 0.6 !important;
}

/* Dark theme for input */
input[type="text"], input[type="email"], input[type="password"], textarea {
    background-color: #222;  /* Dark background */
    color: #fff;  /* Light text */
    border: 1px solid #555;  /* Subtle border */
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
}

/* Change border color on focus */
input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, textarea:focus {
    border-color: #007bff; /* Highlight color */
    outline: none;
}

/* Placeholder styling */
input::placeholder {
    color: #aaa; /* Light gray placeholder */
}

h3 {
    font-family: "Lucida Console", monospace;
}

.title {
    font-family: "Lucida Console", monospace;
    display: block;
    text-align: center;
    width: 100%;
    font-size: 1.5em;
}

/* Spinner styles */
#spinner {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.dropdown-content {
    position: absolute;
    background-color: #211f1f;
    min-width: 160px;
    border: 1px solid #ccc;
    z-index: 1000;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    padding: 10px;
  }
  
  .dropdown-content a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #fff;
  }
  
  .dropdown-content a:hover {
    background-color: #f0f0f0;
    color: #333;
  }

  /* Flex layout to space nav left/right */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Ensure left group buttons stay together */
.nav-left {
    display: flex;
    gap: 10px;
}

/* Position dropdown relative to "My Account" */
.dropdown-wrapper {
    position: relative;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
th, td {
    padding: 12px;
    text-align: left;
}
th {
    background-color: #333;
}
.connected {
    color: #00FF00;
    font-weight: bold;
}
.disconnected {
    color: #FF0000;
    font-weight: bold;
}
