/* Style the header with a grey background and some padding */
.header {
  overflow: hidden;
  background-color: #f1f1f1;
  padding: 20px 10px;
  border-radius: 8px;
}

/* Style the header links */
.header a {
  float: left;
  color: black;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 18px;
  line-height: 25px;
  border-radius: 8px;
  font-family: Arial;
}

/* Style the logo link (notice that we set the same value of line-height and font-size to prevent the header to increase when the font gets bigger */
.header a.logo {
  font-size: 25px;
  font-weight: bold;
}

.tab-btn {
  padding: 8px 16px;
  border: 1px solid #aaa;
  background-color: #eee;
  cursor: pointer;
  border-radius: 4px;
  font-weight: bold;
}

.tab-btn.active {
  background-color: #ccc;
}

.img {
  width: 200px;
}

/* Change the background color on mouse-over */
.header a:hover {
  background-color: #ddd;
  color: black;
}

/* Style the active/current link*/
.header a.active {
  background-color: dodgerblue;
  color: white;
}

/* Float the link section to the right */
.header-right {
  float: right;
}

iframe {
  display: block;
  margin-top: 20px;
}

label {
  font-family: Arial;
}

input {
  font-family: Arial;
}

.create {
  font-family: Arial;
}
.layout {
  display: flex;
  margin-top: 20px;
}

.left-panel {
  width: 30%;
}

.right-panel {
  width: 70%;
}

.inline-row {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.inline-row label {
  width: 280px; /* Was 200px or smaller, now larger */
  font-family: Arial;
  text-align: left;
}

.inline-row label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inline-row input {
  flex: 1;
  font-family: Arial;
}

.disabled-label {
  color: #aaa !important;
  opacity: 0.6;
  cursor: not-allowed;
}

/* Add media queries for responsiveness - when the screen is 500px wide or less, stack the links on top of each other */
@media screen and (max-width: 500px) {
  .header a {
    float: none;
    display: block;
    text-align: left;
  }
  .header-right {
    float: none;
  }
}
