body,
html {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  overflow: hidden;
}

input,
button {
  border-radius: 5px;
}
button {
  cursor: pointer;
}
iframe {
  border: none;
}
a,
a:active,
a:hover,
a:visited {
  text-decoration: none;
  color: inherit;
}

.center-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}

/* .report-page, */
.login-form {
  position: relative;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 0 20px;
}

.report-page {
  width: 100%;
  height: 100%;
}

.login-form {
  min-width: 300px;
  max-width: 92vw;
  max-height: 90vh;
}
.login-form h2 {
  margin-top: 20px;
  margin-bottom: 1.5rem;
  text-align: center;
}
.login-form p {
  margin-top: 0;
  margin-bottom: 1rem;
  text-align: left;
}
.login-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.login-form input[type="text"],
.login-form input[type="email"],
.login-form input[type="number"],
.login-form input[type="password"] {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  box-sizing: border-box;
}
.login-form #init-submit-container,
.login-form #login-submit-container {
  margin-bottom: 20px;
}
.login-form button {
  width: 100%;
  padding: 0.6rem;
  background: #5e5e5e;
  color: #fff;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 0;
  margin-bottom: 0;
}
.login-form button:hover {
  background: #5e5e5e;
}
.login-form button[type="submit"] {
  background: #0078d4;
}
.login-form button[type="submit"]:hover {
  background: #005fa3;
}

.report-menu-item-template {
  color: red;
  background: purple;
}

.error-message {
  color: red;
}

div.overlay {
  display: none;
  text-align: center;
  line-height: 100vh;
}
div.overlay svg {
  width: 100px;
  height: 100px;
}
body.loading div#loading {
  position: fixed;
  display: block;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0.9;
  z-index: 2;
  background-color: white;
}

div#report-header-toggle {
  position: absolute;
  top: 10px;
  left: 15px;
  width: 50px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border-radius: 15px;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: #FFFFFFFF;
  z-index: 99;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
#report-header-toggle.open::after {
  content: "☰";
}
#report-header-toggle.closed::after {
  content: "☰";
}
div#report-header {
  position: absolute;
  top: 15px;
  left: 20px;
  right: 20px;
  height: 38px;
  line-height: 38px;
  padding-left: 70px;
  border: 1px solid #999;
  border-radius: 10px;
  overflow: hidden;
  background-color: #FFFFFFFF;
  z-index: 98;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
div#report-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}
div#report-header > ul {
  display: inline-block;
  padding: 0;
  margin: 0;
}
div#report-header li {
  display: inline-block;
  height: 100%;
  line-height: 28px;
  padding: 0 10px;
  margin: 0 1px;
  box-sizing: border-box;
  background-color: white;
  border-radius: 5px;
  color: darkgrey;
  border: 1px solid lightgrey;
}
div#report-header li:hover,
div#report-header li.current {
  background-color: #f07c0b;
  color: white;
}

button#logout-button {
  display: block;
  position: absolute;
  top: 6px;
  right: 20px;
  height: 26px;
  line-height: 26px;
  padding: 0 10px;
  margin: 0 1px;
  border: 1px solid lightgrey;
  margin: 1px;
}
button#logout-button > img {
  height: 12px;
  width: 12px;
}
