body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  padding: 0;
  background: #f3f4f6;
  color: #111827;
}

.app-header {
  background: linear-gradient(90deg, #004b50, #0f766e);
  color: #fff;
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  height: 64px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-subtitle {
  font-size: 0.8rem;
  opacity: 0.9;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-link,
.nav-button {
  color: #ecfeff;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.4);
  background-color: rgba(15,118,110,0.3);
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.nav-link:hover,
.nav-button:hover {
  background-color: rgba(15,118,110,0.6);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  transform: translateY(-1px);
}

main {
  padding: 1.5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.form-section, .list-section {
  margin-bottom: 2rem;
  background: #ffffff;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(15,23,42,0.08);
}

form label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

form input,
form select {
  width: 100%;
  padding: 0.5rem 0.6rem;
  margin-top: 0.25rem;
  box-sizing: border-box;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  font-size: 0.9rem;
}

form button {
  margin-top: 0.75rem;
  padding: 0.55rem 1.2rem;
  background: linear-gradient(90deg, #0f766e, #22c55e);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  box-shadow: 0 6px 14px rgba(16,185,129,0.4);
  transition: transform 0.1s ease, box-shadow 0.15s ease;
}

form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(16,185,129,0.45);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th, td {
  border: 1px solid #e5e7eb;
  padding: 0.55rem 0.6rem;
}

th {
  background-color: #f3f4f6;
  text-align: left;
  font-weight: 600;
}

tr:nth-child(even) td {
  background-color: #f9fafb;
}

.landing {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 80px);
}

.hero-card {
  max-width: 520px;
  background: #ffffff;
  padding: 2rem 2.5rem;
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(15,23,42,0.18);
  text-align: left;
}

.hero-card h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.hero-card p {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: #4b5563;
}

.primary-button {
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, #0f766e, #22c55e);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
  box-shadow: 0 10px 24px rgba(16,185,129,0.5);
  transition: transform 0.1s ease, box-shadow 0.15s ease;
}

.primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(16,185,129,0.6);
}

.field-group {
  margin-bottom: 0.75rem;
}

.field-group > span {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.5rem 0;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0;
  font-weight: normal;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin: 0;
  cursor: pointer;
}

button.danger {
  background: #dc2626;
  color: #ffffff;
  border: none;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.15s ease;
}

button.danger:hover {
  background: #b91c1c;
}

.list-section input[type="text"] {
  width: 100%;
  max-width: 400px;
  padding: 0.5rem 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.9rem;
}

.list-section input[type="text"]:focus {
  outline: none;
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15,118,110,0.1);
}
