body {
    background-color: #454745;
    color: rgba(255, 255, 255, 0.87);
    font-family: Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
}

#message {
    background: white;
    max-width: 360px;
    margin: 100px auto 16px;
    padding: 32px 24px;
    border-radius: 3px;
}

#message h2 {
    color: #ffa100;
    font-weight: bold;
    font-size: 16px;
    margin: 0 0 8px;
}

#message h1 {
    font-size: 22px;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.6);
    margin: 0 0 16px;
}

#message p {
    line-height: 140%;
    margin: 16px 0 24px;
    font-size: 14px;
}

#message a {
    display: block;
    text-align: center;
    background: #039be5;
    text-transform: uppercase;
    text-decoration: none;
    color: white;
    padding: 16px;
    border-radius: 4px;
}

#message, #message a {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

#load {
    color: rgba(0, 0, 0, 0.4);
    text-align: center;
    font-size: 13px;
}

@media (max-width: 600px) {
    body, #message {
        margin-top: 0;
        background: rgb(122, 121, 121);
        box-shadow: none;
    }

}

body {
    margin: 1em;
}

button {
    margin: 0.2em 0.1em;
    background-color: #fcfbfa;
}

.vertical-hr {
    width: 1px;
    background-color: #fff;
    height: 40px;   /* adjust height as needed */
    margin: 0 8px;  /* adjust horizontal spacing as needed */
  }

#buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Optional: add spacing between buttons */
  }

  div#videos {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center videos */
    max-height: 60vh; /* Ensure it stays inside */
    overflow: hidden; /* Prevent scrolling issues */
}

div#videos > video {
    background: black;
    width: 640px;
    height: 90vh;
    display: block;
    margin: 1em;
}

 
#cameraBtn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 45px;
    padding: 0 !important;
    border-radius: 8px;
    border-color: transparent;
    background-color: rgb(157, 108, 29);
    font-size: medium;
    color: white;
  }
  
  #cameraBtn .mdc-button__icon {
    font-size: 32px;
    margin: 0;
    border-radius: 16;
    color: white;
    padding-right: 5px;
  }
  #cameraBtn:hover {
    background-color: #9f9932;
}

  #cameraBtn:disabled .mdc-button__icon {
    font-size: 32px;
    margin: 0;
    border-radius: 16;
    color: rgb(114, 110, 110);
  }

  #cameraBtn:disabled {
    border-radius: 16px; background-color: rgb(46, 45, 45)
  }

  #createBtn:disabled {
    color: gray;
    border-radius: 16px; background-color: rgb(34, 86, 116)
  }
  #joinBtn:disabled {
    color: gray; /* Optional: You might also want to change the text color to a lighter gray */
    border-radius: 16px; background-color: rgb(34, 86, 116)
  }
  #hangupBtn:disabled {
    color: gray; /* Optional: You might also want to change the text color to a lighter gray */
    border-radius: 16px; background-color: rgb(34, 86, 116)
  }
  
  #hangupBtn{
    background-color: #7a4517;
    border-radius: 16px;
    color: rgb(255, 255, 255)
  }
#localVideoContainer {
    width: 100%;
    max-width: 200px; /* Adjust based on your layout */
    height: 100%;
    overflow: hidden; /* Prevents overflow */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
}
#localVideo {
    display: none;
    width: 20%; /* Make sure it fits the container */
    height: 20%;
    max-height: 100vh; /* Prevents it from overflowing vertically */
    object-fit: contain; /* Prevents distortion */
}
#remoteVideoContainer {
    width: 100%;
    max-width: 800px; /* Adjust based on your layout */
    height: auto;
    max-height: 90vh;
    overflow: hidden; /* Prevents overflow */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
#remoteVideo {
    display: none;
    width: 100%; /* Make sure it fits the container */
    height: auto;
    max-height: 90vh; /* Prevents it from overflowing vertically */
    object-fit: contain; /* Prevents distortion */
}

#playBtn {
    background-color: #add021; /* Blue background */
    color: rgb(17, 40, 13);
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

#playBtn:hover {
    background-color: #53da4a;
}

#startBtn {
    background-color: teal;/* #2196F3;  Blue background */
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    width: 80px;
    height: 45px;
}

#startBtn:hover {
    background-color: #225e64;
}
/* When active, background is red */
#startBtn.active {
    background-color: red;
    color: white;
  }
  
  /* Optionally, add a hover rule for active state if needed */
  #startBtn.active:hover {
    background-color: darkred;
  }

#stopBtn {
    background-color: rgb(195, 100, 49);/* #2196F3;  Blue background */
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

#stopBtn:hover {
    background-color: #996646;
}

#startBtn.active {
    background-color: red !important;
    color: white;
  }

  #simulationBtn {
    background-color: limegreen;
    color: black;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 45px;
    font-size: medium;
    border-color: transparent;
    border-radius: 8px;
  }
  
  #simulationBtn:hover {
    background-color: #b3d9b3;
  }
  
  #simulationBtn.active {
    background-color: red;
    color: white;
  }
  
  #simulationBtn.active:hover {
    background-color: darkred;
  }
  
  #simulationBtn .mdc-button__icon {
    margin: 0;
    padding: 0; /* Remove extra padding */
    line-height: 1;
  }