
:root {
  --primary-color: #33ade7;
  --navbar-bg: #ffffff;
  --navbar-border: #e5e7eb;
  --hover-bg: #f3f4f6;
  --focus-ring: rgba(96,165,250,0.3);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(to bottom, #f9fafb, #edf2f7);
  color: #1f2937;
  min-height: 100vh;
  width: 100%;
}
a {
  text-decoration: none;
  color: inherit;
}
.topbar-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  width: 62%;
  margin: 0 auto;
  padding: 1rem;
}
.topbar {
  border-bottom: 1px solid var(--navbar-border);
  background-color: var(--navbar-bg);
  box-shadow: 0 2px 4px rgba(51, 173, 231, 0.1);
}
.brand img {
  height: 40px;
}
.search-box {
  position: relative;
  flex-grow: 1;
}
.search-box input {
  width: 100%;
  padding: 0.6rem 2.5rem 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  font-size: 1rem;
  background-color: #fff;
  box-shadow: 0 0 0 2px transparent;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.search-box input:focus {
  outline: none;
  border-color: #60a5fa;
  box-shadow: 0 0 0 2px var(--focus-ring);
}
.search-box svg {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.2rem;
  height: 1.2rem;
  stroke: var(--primary-color);
  fill: none;
}
.navbar {
  background: var(--navbar-bg);
  border-bottom: 1px solid var(--navbar-border);
  padding: 0.5rem 1rem 0.7rem 1rem;
  box-shadow: 0 3px 6px rgba(51, 173, 231, 0.1);
}
.navbar-inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  justify-content: center;
}
.navbar a {
  position: relative;
  white-space: nowrap;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  transition: color 0.2s, border-bottom 0.2s;
  color: #1f2937;
  border-bottom: 2px solid transparent;
}
.navbar a:hover {
  color: var(--primary-color);
}
.navbar a.active {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}
.tooltip {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 0.2rem;
  color: white;
  background-color: var(--primary-color);
  padding: 4px 10px;
  border-radius: 8px;
  display: none;
}
.container {
  max-width: 620px;
  margin: 3rem auto;
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}
h2 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 1rem;
}
label {
  display: block;
  margin-top: 1rem;
}
select, input[type="date"] {
  display: block;
  margin-top: 0.5rem;
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  background-color: white;
  box-sizing: border-box;
  appearance: none;
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg fill="%234b5563" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.2rem;
}
button {
  margin-top: 1.5rem;
  background: linear-gradient(to right, #60a5fa, #06b6d4);
  color: white;
  padding: 0.8rem 1.2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}
button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(6, 182, 212, 0.3);
}
.result {
  margin-top: 2rem;
  padding: 1rem;
  background-color: #e8f4fc;
  border-left: 4px solid var(--primary-color);
  border-radius: 8px;
}
