body {
  display: flex;
  justify-content: center;
  height: 100vh;
  font-family: Inter;
  box-sizing: border-box;
  margin: 0;
  background-color: #ffffff;
  color: black;
}

iframe {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  border: none;
  box-shadow: 0 0 5px #ccc;
}

h1 {
  font-size: 48px;
  margin-bottom: 5px;
  width: 100%;
}

h3 {
  color: gray;
  text-align: left;
  width: 100%;
}

p {
  font-size: 10px;
}

td {
  border-left: 0;
  border-right: 0;
  padding: 0px 0px;
  box-sizing: border-box;
  margin: 0;
  width: 50%;
}
td:nth-child(1) {  
  color: #666;
  text-align: right;
  padding-right: 52px;
  border-right: 1px solid #eee;
}
td:nth-child(2) {  
  padding-left: 52px;
}

form {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: end;
  max-width: 600px;
  width: 100%;
  box-sizing: border-box;
}

label {
  color: #888;
  font-size: 14px;
  padding-left: 7px;
}

input[type=text],
input[type=password] {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 14px;
  outline: none;
  background-color: #eee;
  color: black;
  border: none;
  font-size: 20px;
}

button {
  box-sizing: border-box;
  border-radius: 7px;
  padding: 10px;
  font-size: 16px;
  background-color: transparent;
  cursor: pointer;
  outline: none;
  border: none;
}

button:disabled {
  background-color: #666;
  cursor: not-allowed;
}

.iframe-container {
  display: inline-block;
  position: relative;
  width: 70%;
  height: 70%;
  transition: all 0.3s ease;
}

button.enlarge-btn {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 5px;
  right: 5px;
  border-radius: 10px;
  width: 30px;
  height: 30px;
  border: 1px solid #eee;
  padding: 4px;
}

button.enlarge-btn:hover {
  background-color: #eee;
}

.container {
  width: 600px;
  min-height: 280px;
  display: flex;
  align-items: left;
  box-sizing: border-box;
  flex-direction: column;
  flex-wrap: wrap;
  overflow: wrap;
  margin-top: 200px;
}

.email-container {
  display: flex;
  padding: 0;
}

.submit-btn {
  max-width: 50px;
  width: 50px;
  background-color: #eee;
  border-radius: 0;
}
.checkbox {
  display: flex;
  justify-content: center;
}

.verification-container {
  display: none;
  margin-top: 50px;
}

.verification-container.show {
  display: block;
}

.error-message {
  color: #dc3545;
  font-size: 14px;
  margin-top: 5px;
  margin-bottom: 10px;
  display: none;
}

.error-message.show {
  display: block;
}

.globalnav {
  display: flex;
  position: fixed;
  justify-content: left;
  width: 100vw;
  height: 35px;
  top: 0;
  left: 0;
  backdrop-filter: blur(7px);
}

.link-container {
  display: flex;
  justify-content: left;
  padding-left: 10px;
  align-items: center;
  height: 100%;
}
.link {
  color: inherit;
  text-decoration: none;
  font-weight: bold;
}

.scroll-container {
  width: 100vw;
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

.scroll-panel {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  scroll-snap-align: start;
  flex-direction: column;
}

a.welcome-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #eee;
  padding: 0px 20px;
  height: 40px;
  border-radius: 10px;
  user-select: none;
  color: black;
  text-decoration: none;
}

svg.shrink-svg {
  display: none;
}

a.welcome-btn:hover {
  background-color: #08f;
  color: #fff;
}

.iframe-container.fullscreen {
  position: fixed;
  inset: 0;                   /* top:0; right:0; bottom:0; left:0; */
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  z-index: 9999;
  background-color: #000;     /* gives a clean edge on small iframes */
}

.iframe-container.fullscreen iframe {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.iframe-container.fullscreen svg.enlarge-svg {
  display: none;
}

.iframe-container.fullscreen svg.shrink-svg {
  display: block;
}

/* Make sure the toggle button is still visible when full-screen */
.iframe-container.fullscreen .enlarge-btn {
}

/* optional: hover feedback while full-screen */
.iframe-container.fullscreen .enlarge-btn:hover {
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #121212;
    color: #eee;
  }

  iframe {
    box-shadow: 0 0 5px #333;
  }

  label {
    color: #bbb;
  }

  .email-container {
    border-bottom: 2px solid #444;
  }

  input[type=text],
  input[type=password] {
    background-color: #282828;
    color: #eee;
  }

  button {
    color: white;
  }

  .iframe-container .enlarge-btn {
    color: #888;
    border-color: #888;
  }
  .iframe-container .enlarge-btn:hover {
    background-color: #222;
  }

  .submit-btn {
    background-color: #282828;
  }

  .error-message {
    color: #ff6b6b;
  }

  p {
    color: #555;
  }
}

@media (max-width: 600px) {
  .container {
    height: 100%;
    width: 100%;
    padding: 20px;
    border: none;
  }
  .globalnav {
    height: 45px;
    font-size: 24px;
  }
  form {
    width: 100%;
  }
  .iframe-container {
    width: 90%;
  }
  button {
    padding: 14px;
  }
  input[type=text], input[type=password] {
    padding: 9px 18px;
  }

  input[type=text]:focus, input[type=password]:focus {
    padding: 8px 17px;
  }
}