/* Base Reset */
* {
  margin: 0; padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%; display: flex;
  justify-content: center;
  align-items: center;
  background-color: black;
  font-family: Arial, sans-serif;
}
.grid-container {
  display: grid;
  grid-template-rows: auto 1fr;
  width: var(--grid-width);
  height: var(--grid-height);
  background-color: #3B126B;
}
@media (max-width:600px),(orientation:portrait) {
  .grid-container {
    width: calc(96dvw);
    height: calc(86dvh);
  }
}

.header-bar {
  display: flex; background-color: #222;
}
.switch-btn {
  flex: 1;
  padding: 10px;
  color: #DAE7ED;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.2s ease;
}
.switch-btn.active {
  background-color: #0A75CC;
}

.grid-body {
  position: relative;
  padding: 20px;
  height: calc(100% - 50px);
}

.form-content {
  position: absolute;
  top: 0; left: 0;
  width:90%; height:100%;
  margin-left: 5%;
  margin-top: 10px;
  display: none;
  flex-direction: column;
  gap: 15px;
}
.form-content.active {
  display: flex;
}

.form-content label {
  color: #DAE7ED;
}
.form-content input {
  padding: 8px;
  border:none;
  border-radius:4px;
}
.form-content button {
  padding: 10px;
  background-color: #DAE7ED;
  color: #0A75CC;
  border:none;
  border-radius:4px;
  cursor: pointer;
}
.form-content button:hover {
  background-color: #fff;
}
