/* Define United Rentals brand colors */
:root {
    --ur-blue: #015696;
    --ur-gray: #A1A0A5;
    --ur-black: #231E1F;
  }
  
  /* Apply brand colors */
  body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #ffffffff;
    color: #333;
    height: 100vh;
    padding: 0;
    font-family: 'Roboto', sans-serif;
  }

  .loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0A1F44;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    z-index: 9000; /* Ensure it covers all elements */
  }
  
  .hidden {
    display: none;
  }
  
  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 150; /* Fixed height for consistent layout calculations */
    color: #ffffff;
    background-color: var(--ur-blue);
    border-bottom: 2px solid #ccc;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0 20px;
}

  
  .device-container {
    padding: 1px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Adds a soft shadow for depth */
    position: relative;
    width: 100%;
    height: calc(100vh - 150px); /* Adjusts to fill available space minus header and dropdown */
    display: none; /* Initially hidden; only the selected iframe is shown */

  }
  
  
  iframe {
    width: 100%;
    height: 100%;
    border: none;
    visibility: hidden;
    z-index: 9999;
  }
  
  #dashboard {
    position: relative;
    top: 150px;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: auto;
    display: flex;
  }
  
  .loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: auto;
    font-weight: bold;
    color: var(--ur-blue);
    animation: pulse 1.5s infinite;
  }
  
  @keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
  }

  #deviceSelect {
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    outline: none;
    margin-bottom: 20px;
    cursor: pointer;
  }
  
  #deviceSelect:focus {
    border-color: var(--ur-blue);
  }
  
  button:focus {
    outline: 3px solid var(--ur-blue);
    outline-offset: 3px;
  }

  .logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.05; /* Adjust for a very subtle background */
    z-index: 1; /* Ensure it's behind other elements */
    pointer-events: none; /* Allow interactions to pass through to elements above */
}

.logo-overlay img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

.logo-overlay-full {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1; /* Ensure it's behind other elements */
  pointer-events: none; /* Allow interactions to pass through to elements above */
}

.logo-overlay-full img {
  width: 100%;
  height: auto;
  max-width: 100%;
}


  