#full-page {
    flex-direction: row;
    width: 100%;
    max-width: 2000px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#top-navbar{
    height: 7vh;
}
#above-fold-div {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: stretch; /* ensures both columns stretch to match height */
    justify-content: center;
}
#below-fold-div {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: stretch; /* ensures both columns stretch to match height */
    padding: 17px;
    padding-top: 10px;
    justify-content: center;
}
.col-sm-3 {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 5px;
}
.col-sm-9 {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 5px;
}  
#robot-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 5px;
}
#ranch-brand{
    font-size: 30px;
    color: whitesmoke;
}
.inner-container {
    border: 1px solid #1c1c1c;
    display: inline-block;
    position: relative;
    color: #1c1c1c;
}
.chat-header {
    flex: 0 0 auto;
    margin-bottom: 1rem;
}
.chat-item{
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    text-align: left;
    padding: 2px 8px;
    margin-bottom: 2px;
    color: black;
    background-color: #eaeaea;
    border-radius: 4px;
    max-width: 100%;
}
.chat-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
#chat-log {
    overflow-x: hidden;
    white-space: normal;
    flex: 1;
    list-style-type: none;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid #ddd;
    background-color: whitesmoke;
    border-radius: 5px;
    min-height: 0;
    height: 80%;
}
#remote-media {
  max-width: auto;
  height: 80%;
  max-height: 80%;
  padding: 10px;
}
video {
  width: 100%;
  height: auto;
  max-height: 100%;
  border-radius: 5px;
}
h1 {
    color: white;
}
h2 {
    color: white;
}
h5 {
    color: white;
}
p {
    color: white;
}
li {
    color: white;
}
#mods-buttons-div {
    display: inline-block;
    position: relative;
    color: #1c1c1c;
    padding: 12px;
    text-align: center;
}
#user-mods-div {
    display: inline-block;
    position: relative;
    color: #1c1c1c;
    padding: 10px;
    margin-top: 10px;
    text-align: center;
}
#mod-div-label{
    color: white;
}
#control-buttons{
    padding: 5px;
    padding-bottom: 20px;
}
.queue-overlay{
    position: absolute;
    top: -5px;
    left: 0;
    width: 100%;
    height: 110%;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    border-radius: 5px;
}
.video-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    border-radius: 5px;
}
.login-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 105%;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    border-radius: 5px;
}
.control-row {
  display: flex;
  align-items: center;
  gap: 30px; /* spacing between D-pad and other buttons */
  justify-content: center;
  flex-wrap: wrap; /* Optional: makes layout responsive */
  height: 100%;
}
#control-buttons-mod{
    padding: 5px;
    height: 20%;
    max-height: 20%;
    display: flex;
    align-items: center;
    gap: 30px; /* spacing between D-pad and other buttons */
    justify-content: center;
    flex-wrap: wrap; /* Optional: makes layout responsive */
}
.user-control{
    padding: 5px;
}
.bordered-panel{
    border: 1px solid white;
    border-radius: 10px;
    padding: 10px;
}
.bordered-panel-chat {
    display: flex;
    flex: 1;
    flex-direction: column;
    height: 100vh;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px;
}
.dpad-container {
  display: grid;
  grid-template-areas:
    ".    up    ."
    "left  .   right"
    ".   down   .";
  grid-template-columns: 30% 30% 30%;
  grid-template-rows: 30% 30% 30%;
  gap: 3px;
  justify-content: center;
  align-items: center;
  height: 100%;
  aspect-ratio: 1 / 1;
}
.dpad-button {
  font-family: Arial, sans-serif;
  width: 100%;
  height: 100%;
  font-size: auto;
  text-align: center;
}
#f_button { grid-area: up; }
#b_button { grid-area: down; }
#tl_button { grid-area: left; }
#tr_button { grid-area: right; }
#banned-users-list{
    border: 1px solid #ccc;
    border-radius: 10px;
}
#active-users-list{
    border: 1px solid #ccc;
    border-radius: 10px;
}
.user-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.user-list-item {
    color: white;
    cursor: pointer;
    border-bottom: 1px solid #343434;
}
.selected {
    background-color: #e0e0e0;
    color: black;
}
.dropdown-menu {
    position: absolute;
    background-color: #333;
    color: white;
    border: 1px solid #555;
    border-radius: 4px;
    padding: 5px 0;
    z-index: 1000;
    min-width: 100px;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.dropdown-item {
    padding: 6px 12px;
    cursor: pointer;
}
.dropdown-item:hover {
    background-color: #555;
}

#user-queue-display{
    display: flex;          /* arrange items in a row */
    flex-wrap: nowrap;
    border: 1px solid #ddd;
    background-color: whitesmoke;
    border-radius: 5px;
    list-style-type: none;
    text-align: left;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    min-height: 25px;
    width: 100%;
    padding: 5px;
}
.user-queue-line-item{
    flex: 0 0 auto;          /* items do not shrink or grow */
    margin-right: 1rem;      /* spacing between items */
    white-space: nowrap;     /* prevent text from wrapping within item */
    overflow: hidden; 
    text-align: left;
    padding: 0px 4px;
    margin-bottom: 2px;
    color: black;
    border-radius: 4px;
    max-width: 100%;
    display: inline;
}