/* General Karate App Layout and Navigation Styles (moved from index.html) */
body {
  font-family: Arial;
  padding-top: 70px; /* Adjust for new tab height */
}

.tab {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(90deg, #f8f8f8 0%, #e0eaff 100%);
  z-index: 1000;
  padding: 12px 0 8px 0;
  border-bottom: 1px solid #c6d6f7;
  box-shadow: 0 2px 12px rgba(30,144,255,0.07);
  display: flex;
  justify-content: center;
  gap: 0.5em;
}

.tab button {
  background: #fff;
  color: #1e90ff;
  border: 1.5px solid #c6d6f7;
  border-radius: 8px 8px 0 0;
  outline: none;
  cursor: pointer;
  padding: 12px 22px;
  margin: 0 2px;
  font-size: 1.08em;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 1.5px 6px rgba(30,144,255,0.04);
}

.tab button:hover {
  background: #e0eaff;
  color: #222;
}

.tab button.active {
  background: #1e90ff;
  color: #fff;
  border-bottom: 2.5px solid #fff;
  box-shadow: 0 2px 8px rgba(30,144,255,0.10);
  z-index: 2;
}

@media (max-width: 700px) {
  .tab {
    flex-wrap: wrap;
    padding: 7px 0 4px 0;
  }
  .tab button {
    font-size: 0.98em;
    padding: 8px 10px;
  }
}

.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
}

.lang-select-panel {
  position: fixed;
  top: 18px;
  right: 24px;
  z-index: 2000;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(30,144,255,0.10);
  padding: 8px 18px 8px 14px;
  display: flex;
  align-items: center;
  gap: 0.5em;
  border: 1.5px solid #c6d6f7;
}
.lang-select-panel label {
  font-size: 1.05em;
  color: #1e90ff;
  font-weight: 600;
  margin-right: 0.4em;
}
.lang-select-panel select {
  font-size: 1.05em;
  border-radius: 6px;
  border: 1.2px solid #c6d6f7;
  padding: 3px 10px;
  color: #1e90ff;
  background: #f8faff;
  font-weight: 600;
  outline: none;
  transition: border 0.15s;
}
.lang-select-panel select:focus {
  border: 1.5px solid #1e90ff;
}
@media (max-width: 700px) {
  .lang-select-panel {
    top: 8px;
    right: 4px;
    padding: 5px 7px 5px 7px;
  }
  .lang-select-panel label, .lang-select-panel select {
    font-size: 0.98em;
  }
}

.lang-flag {
  position: fixed;
  top: 18px;
  right: 24px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 1100;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(30,144,255,0.10);
  border: 2px solid #e0eaff;
  background: #fff;
  object-fit: cover;
  transition: box-shadow 0.15s;
}
.lang-flag:hover {
  box-shadow: 0 4px 16px rgba(30,144,255,0.18);
  border-color: #1e90ff;
}
