/* 
  Keep your brand color palette:
  - Dark blue background (#26285C)
  - White text
*/

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #26285C; /* brand color */
    color: #fff; /* white text */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  
  /* Header styling */
  header {
    text-align: center;
    padding: 1rem;
  }
  
  /* Footer styling */
  footer {
    text-align: center;
    padding: 1rem;
    margin-top: auto; 
    background-color: #1f1f45; /* slightly darker than #26285C for contrast */
  }
  
  /* Controls row for spacing/organization */
  .controls-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 15px auto;
    max-width: 450px;
    width: 90%;
  }
  
  .controls-row label {
    margin-bottom: 5px;
    font-weight: bold;
  }
  
  .controls-row input[type="text"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    color: #000;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  .readonly-field {
    width: 100%;
    padding: 8px;
    background-color: #444b8c; /* darker variant to show read-only data */
    border-radius: 5px;
    text-align: center;
    margin-bottom: 10px;
  }
  
  /* Buttons */
  button {
    padding: 10px 20px;
    margin: 5px;
    background-color: #007BFF; /* a standard 'blue' button color */
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  button.hidden {
    display: none;
  }
  
  button:hover {
    background-color: #0056b3; /* darker hover shade */
  }
  
  /* Video container */
  #avatar-container {
    display: flex;
    justify-content: center;
    margin: 20px auto;
    max-width: 800px;
    width: 100%;
  }
  
  #mediaElement {
    width: 100%;
    max-width: 800px;
    height: 450px;
    background-color: #000; /* fallback if no stream yet */
    border: 2px solid #fff;
    border-radius: 10px;
  }
  
  /* Status log area */
  .status-log {
    width: 90%;
    max-width: 800px;
    margin: 10px auto 30px auto;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 5px;
    max-height: 150px;
    overflow-y: auto;
    font-size: 14px;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    #mediaElement {
      height: 300px;
    }
  }