/* @import url("https://fonts.googleapis.com/css2?family=Lekton:wght@700&text=0123456789&family=Zen+Kaku+Gothic+New:wght@500&display=swap");
*/
@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,700;1,700&family=Zen+Kaku+Gothic+New:wght@500&display=swap");

html,
body {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  font-family: "Lato", "Zen Kaku Gothic New", sans-serif;
  overscroll-behavior-y: none;
  font-size: 16px;
  line-height: 1.07;
  -webkit-text-size-adjust: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

iframe {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  display: block;
}

#maintab {
  display: flex;
  justify-content: space-around;
  background: #333;
  color: white;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 100;
}

#maintab button {
  flex: 1;
  text-align: center;
  height: 45px;
  margin: 0;
  padding: 5px;
  cursor: pointer;
  border-radius: 0px;
  background-color: #000000;
  color: #ffffff;
  font-size: 17px;
  font-family: inherit;
  border: none;
  border-top: 1px solid #000000;
  border-bottom: 2px solid transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
}

#maintab button:hover {
  background: #404040;
}

#maintab button.active {
  color: #000000;
  background-color: #dddddd;
}

#subtab {
  display: flex;
  justify-content: center;
  position: fixed;
  width: 100%;
  bottom: 45px;
  z-index: 1000;
  margin-bottom: 0px;
  border-top: 1px solid #000000;
  border-bottom: 1px solid #cccccc;
}

#subtab button {
  flex: 1;
  text-align: center;
  height: 30px;
  margin: 0;
  padding: 5px;
  cursor: pointer;
  border-radius: 0px;
  background-color: #000000;
  color: #ffffff;
  font-size: 16px;
  font-family: inherit;
  border: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

#subtab button:hover {
  background: #404040;
}

#subtab button.active {
  color: #000000;
  background-color: #dddddd;
}

.tab-content,
.subtab-content {
  display: none;
}

.tab-content.active,
.subtab-content.active {
  display: block;
}

#tab1,
#tab2,
#tab3,
#tab4,
#tab5 {
  height: calc(100svh - 45px);
  overflow-y: auto;
}

table {
  border-collapse: collapse;
  width: 94%;
  margin: 3%;
}

td {
  border: 1px solid #000000;
  height: 18px;
}

tr {
  padding: 3px;
  height: 10px;
}

td:nth-child(1) {
  text-align: right;
  width: 55px;
  padding: 2px 4px 2px 0px;
}

td:nth-child(2) {
  text-align: left;
  width: 40px;
  padding: 2px 0px 2px 4px;
}

td:nth-child(3) {
  text-align: left;
  padding: 2px 2px 2px 4px;
  width: calc(100% - 95px);
}

#budget {
  border-collapse: collapse;
  width: 94%;
  margin: 3%;
}

#budget td {
  border: 1px solid #000000;
  height: 18px;
}

#budget tr {
  padding: 3px;
  height: 10px;
}

#budget td:nth-child(1) {
  text-align: right;
  width: 25px;
  padding: 2px 4px 2px 0px;
}

#budget td:nth-child(2) {
  text-align: left;
  width: calc(100% - 220px);
  padding: 2px 0px 2px 4px;
}

#budget td:nth-child(3) {
  text-align: right;
  padding: 2px 4px 2px 0px;
  width: 70px;
}

#budget td:nth-child(4) {
  text-align: right;
  padding: 2px 4px 2px 0px;
  width: 70px;
}

#budget tr:nth-child(even) td {
  background: #eeeeee;
}

.small-text {
  font-size: smaller;
}

#tab5 iframe {
  width: 100%;
  height: 300px;
  border: none;
}

h2 {
  font-size: 26px;
  margin-bottom: 0px;
}

h3 {
  font-size: 20px;
  margin-bottom: 5px;
}

.about {
  margin: 5px 0px 0px 10px;
}

.googleform-wrapper {
  position: relative;
  margin: 2%;
  width: 96%;
  height: 50svh;
  overflow-y: scroll;
  scrollbar-width: none;
}

.googleform-wrapper::-webkit-scrollbar {
  display: none;
}

.googleform-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.info-container {
  display: flex;
  justify-content: space-between;
  gap: 0px;
  flex-wrap: nowrap;
}

.info-section {
  flex: 1;
}

a {
  color: #607d8b;
}

#floating-reload-btn {
  position: fixed;
  right: 18px;
  bottom: 58px;
  z-index: 2000;
  width: 48px;
  height: 48px;
  background: #000000;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
  padding: 0;
}

#floating-reload-btn:hover {
  background: #404040;
}

#floating-reload-btn svg {
  display: block;
}
