* {
  box-sizing: border-box;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
}

body {
  margin: 0;
  background: linear-gradient(135deg, #ffb347, #ff6f91);
  min-height: 100vh;
  color: #111;
}

/* ===== HEADER ===== */
.header {
  background: #fff6ec;
  padding: 25px 15px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.header h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
}

.header p {
  margin: 5px 0 0;
  color: #666;
  font-size: 0.95rem;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 15px;
}

/* ===== TABS ===== */
.tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 25px;
}

.tab {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid #eee;
  background: white;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.25s ease;
}

.tab.active {
  background: linear-gradient(135deg, #ff9a44, #ff6f91);
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 111, 145, 0.35);
}

.tab:hover {
  transform: translateY(-1px);
}

/* ===== CARD ===== */
.card {
  background: white;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ===== HEADINGS ===== */
.card h2 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 1.2rem;
  font-weight: 600;
}

/* ===== GRID ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

/* ===== INPUTS ===== */
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
  background: #fff;
  transition: 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #ff9a44;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,154,68,0.15);
}

textarea {
  min-height: 90px;
  resize: vertical;
}

/* ===== CHECKBOXES ===== */
.checkbox-group {
  display: flex;
  gap: 25px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  cursor: pointer;
}

/* ===== BUTTONS ===== */
button {
  border: none;
  cursor: pointer;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #ff9a44, #ff6f91);
  color: white;
  box-shadow: 0 5px 18px rgba(255,111,145,0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(255,111,145,0.45);
}

.btn-secondary {
  background: white;
  border: 1px solid #ddd;
  color: #333;
}

.btn-secondary:hover {
  background: #f8f8f8;
}

/* ===== TABLE ===== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 0.9rem;
}

thead {
  background: #fff2e6;
  color: #333;
}

th, td {
  padding: 11px 12px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

tr:hover td {
  background: rgba(255, 154, 68, 0.05);
}

/* ===== MESSAGES ===== */
.not-found {
  text-align: center;
  font-size: 1rem;
  color: #666;
  margin: 20px 0;
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 18px 10px;
  font-size: 0.8rem;
  color: #777;
}

/* ===== TABS VISIBILITY ===== */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ===== MOBILE ===== */
@media (max-width: 600px) {
  .header h1 {
    font-size: 1.6rem;
  }

  .card {
    padding: 20px;
  }

  .tab {
    font-size: 0.85rem;
    padding: 9px 16px;
  }
}
