* {
  box-sizing: border-box;
  max-width: 100%;
}
html, body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #f8fafc;
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.toast { animation: slideUp 0.3s ease-out; }
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.nav-btn:hover { opacity: 0.9; }
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  overflow-y: auto;
}
.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.card-hover {
  transition: all 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.table-row-hover:hover {
  background-color: #f9fafb;
}
input[type="text"],
input[type="date"],
input[type="email"],
input[type="password"],
input[type="time"],
select {
  background-color: white !important;
  -webkit-text-fill-color: #111827;
}
input[type="date"] {
  max-width: 100%;
  min-width: 0;
  width: 100%;
  min-height: 44px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
  min-height: 1.5em;
}
.year-tab {
  transition: all 0.3s ease;
  cursor: pointer;
}
.year-tab:hover {
  transform: scale(1.05);
}
.year-tab.active {
  background: #1f2937;
  color: white;
  font-weight: bold;
}
