*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #111827;
  background: #f9fafb;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.5em;
}

a {
  color: #1a6b3c;
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  text-decoration: underline;
  color: #145530;
}

img {
  max-width: 100%;
  height: auto;
}

.text-muted {
  color: #6b7280;
  font-size: 14px;
}

.text-small {
  font-size: 14px;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mt-4 {
  margin-top: 32px;
}

.mb-4 {
  margin-bottom: 32px;
}

.mb-2 {
  margin-bottom: 16px;
}

.gap-sm {
  gap: 8px;
}

.flex {
  display: flex;
  align-items: center;
}

hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 24px 0;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: linear-gradient(135deg, #1a6b3c 0%, #228b4e 100%);
  color: #ffffff;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.navbar__inner {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 8px;
}
.navbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-decoration: none;
  flex-shrink: 0;
}
.navbar__brand:hover {
  text-decoration: none;
  opacity: 0.92;
  color: #fff;
}
.navbar__logo {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.navbar__nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  padding-left: 16px;
}
.navbar__link {
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.5;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.01em;
  transition: all 0.15s ease;
}
.navbar__link:hover, .navbar__link.active {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  text-decoration: none;
}
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}
.navbar__icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  flex-shrink: 0;
}
.navbar__icon-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  text-decoration: none;
  color: #fff;
}
.navbar__icon-btn svg {
  stroke: #fff;
}
.navbar__user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  padding: 6px 12px 6px 8px;
  font-size: 14px;
  font-weight: 500;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.navbar__user-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}
.navbar__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}
@media (max-width: 768px) {
  .navbar__user-name {
    display: none;
  }
}
.navbar__dropdown {
  position: relative;
}
.navbar__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 210px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.08), 0 8px 10px rgba(0, 0, 0, 0.04);
  border: 1px solid #e5e7eb;
  z-index: 200;
  overflow: hidden;
  animation: dropdownIn 0.12s ease;
}
.navbar__dropdown-menu--right {
  left: auto;
  right: 0;
}
.navbar__dropdown-menu.is-open {
  display: block;
}
.navbar__dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  color: #111827;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.navbar__dropdown-menu a:hover {
  background: #f3f4f6;
  text-decoration: none;
  color: #111827;
}
.navbar__dropdown-header {
  padding: 10px 16px 6px;
  font-size: 12px;
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.navbar__dropdown-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 4px 0;
}
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  cursor: pointer;
  padding: 8px 10px;
  flex-shrink: 0;
}
.navbar__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.25s ease;
}

@keyframes dropdownIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.notification-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: #ef4444;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  min-width: 15px;
  height: 15px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  border: 2px solid #1a6b3c;
}

.main {
  min-height: 100vh;
  padding: 24px 0 48px;
}
.main--with-navbar {
  padding-top: calc(64px + 32px);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 576px) {
  .container {
    padding: 0 16px;
  }
}

.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
  flex-wrap: wrap;
}
.page-header h1 {
  margin: 0 0 4px;
  font-size: 30px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
}
.page-header p {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
}
.page-header__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  margin: 32px 0 16px;
  letter-spacing: -0.01em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.01em;
}
.btn:hover {
  text-decoration: none;
}
.btn:active {
  transform: translateY(1px);
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.btn:focus-visible {
  outline: 2px solid #1a6b3c;
  outline-offset: 2px;
}
.btn--primary {
  background: #1a6b3c;
  color: #fff;
  border-color: #145530;
  box-shadow: 0 1px 3px rgba(26, 107, 60, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.btn--primary:hover {
  background: #145530;
  border-color: #0f4024;
  box-shadow: 0 3px 8px rgba(26, 107, 60, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: #fff;
}
.btn--secondary {
  background: #3b82f6;
  color: #fff;
  border-color: #1469f4;
  box-shadow: 0 1px 3px rgba(59, 130, 246, 0.3);
}
.btn--secondary:hover {
  filter: brightness(0.92);
  color: #fff;
}
.btn--success {
  background: #16a34a;
  color: #fff;
  border-color: #12883e;
  box-shadow: 0 1px 3px rgba(22, 163, 74, 0.3);
}
.btn--success:hover {
  filter: brightness(0.92);
  color: #fff;
}
.btn--success.btn--active {
  filter: brightness(0.85);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
}
.btn--danger {
  background: #dc2626;
  color: #fff;
  border-color: #c42020;
  box-shadow: 0 1px 3px rgba(220, 38, 38, 0.3);
}
.btn--danger:hover {
  filter: brightness(0.92);
  color: #fff;
}
.btn--danger.btn--active {
  filter: brightness(0.85);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
}
.btn--outline {
  background: #fff;
  color: #1a6b3c;
  border-color: #e5e7eb;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.btn--outline:hover {
  background: #f5fbf7;
  border-color: rgba(26, 107, 60, 0.3);
  color: #145530;
}
.btn--ghost {
  background: transparent;
  color: #6b7280;
  border-color: transparent;
}
.btn--ghost:hover {
  background: #f3f4f6;
  color: #111827;
}
.btn--full {
  width: 100%;
}
.btn--sm {
  padding: 6px 12px;
  font-size: 12px;
}
.btn--xs {
  padding: 4px 8px;
  font-size: 12px;
}

.rsvp {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}
.rsvp form {
  margin: 0;
}
.rsvp__confirmed {
  font-size: 14px;
  font-weight: 600;
  color: #16a34a;
}
.rsvp__declined {
  font-size: 14px;
  font-weight: 600;
  color: #dc2626;
}
.rsvp__change {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font-size: 11px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  color: #6b7280;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}
.rsvp__change:hover {
  color: #dc2626;
}
.rsvp__change--yes {
  color: #6b7280;
}
.rsvp__change--yes:hover {
  color: #16a34a;
}

.card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07), 0 1px 2px rgba(0, 0, 0, 0.04);
  border: 1px solid #e5e7eb;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}
.card--narrow {
  max-width: 640px;
}
.card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.04);
}
.card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid #e5e7eb;
  gap: 16px;
  background: #f9fafb;
}
.card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
}
.card__body {
  padding: 24px;
}
.card__footer {
  padding: 16px 24px;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
  font-size: 14px;
  color: #6b7280;
}

.dashboard-grid, .settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 768px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07), 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.25s ease;
}
.stat-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.04);
}
.stat-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #edf7f1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.stat-card__value {
  font-size: 30px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-card__label {
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 3px;
}

.alert {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 14px;
  border-width: 1px;
  border-style: solid;
}
.alert--success {
  background: #f0fdf4;
  color: #15803d;
  border-color: #bbf7d0;
}
.alert--danger {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}
.alert--info {
  background: #f0f9ff;
  color: #0369a1;
  border-color: #bae6fd;
}
.alert--warning {
  background: #fffbeb;
  color: #92400e;
  border-color: #fde68a;
}
.alert__close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  opacity: 0.6;
  flex-shrink: 0;
  padding: 0;
  color: inherit;
}
.alert__close:hover {
  opacity: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.badge--success {
  background: #dcfce7;
  color: #15803d;
}
.badge--danger {
  background: #fee2e2;
  color: #b91c1c;
}
.badge--warning {
  background: #fef9c3;
  color: #854d0e;
}
.badge--info {
  background: #e0f2fe;
  color: #075985;
}
.badge--neutral {
  background: #f3f4f6;
  color: #6b7280;
}
.badge--outline {
  background: transparent;
  border: 1px solid #e5e7eb;
  color: #6b7280;
}
.badge--primary {
  background: #edf7f1;
  color: #1a6b3c;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.table th {
  text-align: left;
  padding: 10px 16px;
  font-weight: 600;
  color: #6b7280;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-bottom: 1.5px solid #e5e7eb;
  white-space: nowrap;
  background: #f9fafb;
}
.table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
}
.table tr:last-child td {
  border-bottom: none;
}
.table tbody tr:hover td {
  background: #f5fbf7;
}
.table--compact th, .table--compact td {
  padding: 4px 8px;
}
.table__actions {
  white-space: nowrap;
  display: flex;
  gap: 4px;
  justify-content: flex-end;
}

.row--cancelled {
  opacity: 0.55;
}

.row--cancelled td:not(:last-child) {
  text-decoration: line-through;
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}
.table-responsive .table th:first-child {
  padding-left: 24px;
}
.table-responsive .table td:first-child {
  padding-left: 24px;
}
.table-responsive .table th:last-child {
  padding-right: 24px;
}
.table-responsive .table td:last-child {
  padding-right: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #111827;
}

.form-control {
  display: block;
  width: 100%;
  padding: 9px 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #111827;
  background: #ffffff;
  border: 1.5px solid #e5e7eb;
  border-radius: 6px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.form-control:focus {
  outline: none;
  border-color: #1a6b3c;
  box-shadow: 0 0 0 3px rgba(26, 107, 60, 0.1);
}
.form-control:hover:not(:focus) {
  border-color: #c8ccd5;
}
.form-control--sm {
  padding: 6px 10px;
  font-size: 12px;
}
.form-control.is-invalid {
  border-color: #dc2626;
}
.form-control.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}
.form-control::placeholder {
  color: #9ca3af;
}

select.form-control {
  cursor: pointer;
}

textarea.form-control {
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.form-check-input {
  width: 17px;
  height: 17px;
  cursor: pointer;
  accent-color: #1a6b3c;
}

.form-check-label {
  font-size: 14px;
  cursor: pointer;
}

.form-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 24px;
  flex-wrap: wrap;
}

.btn--block {
  display: block;
  width: 100%;
  text-align: center;
}

.guardian-form-divider {
  text-align: center;
  font-size: 12px;
  color: #6b7280;
  margin: 8px 0;
  position: relative;
}
.guardian-form-divider::before, .guardian-form-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: #e5e7eb;
}
.guardian-form-divider::before {
  left: 0;
}
.guardian-form-divider::after {
  right: 0;
}

.input-group {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.input-group .form-control {
  flex: 1;
  min-width: 0;
}
.input-group .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.form-section-title {
  font-size: 14px;
  font-weight: 700;
  margin: 24px 0 8px;
  color: #111827;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
}

.form-error {
  color: #dc2626;
  font-size: 12px;
  margin-top: 4px;
}

body.auth-page {
  background: radial-gradient(ellipse at 20% 50%, rgba(26, 107, 60, 0.12) 0%, transparent 60%), radial-gradient(ellipse at 80% 20%, rgba(34, 139, 78, 0.08) 0%, transparent 60%), linear-gradient(135deg, #0d4024 0%, #1a6b3c 45%, #1e7a47 100%);
  min-height: 100vh;
}
body.auth-page .main {
  padding-top: 0;
  min-height: 100vh;
}
body.auth-page .container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 24px 16px;
}

.auth-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2), 0 8px 16px rgba(0, 0, 0, 0.12);
  padding: 48px 32px;
  width: 100%;
  max-width: 420px;
}
.auth-card__logo {
  text-align: center;
  font-size: 44px;
  margin-bottom: 16px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
}
.auth-card__title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
  color: #111827;
}
.auth-card__subtitle {
  text-align: center;
  color: #6b7280;
  margin: 0 0 32px;
  font-size: 14px;
}
.auth-card__footer {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: #6b7280;
}

.event-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.event-card {
  display: flex;
  gap: 24px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07), 0 1px 2px rgba(0, 0, 0, 0.04);
  border: 1px solid #e5e7eb;
  padding: 24px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.event-card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.07), 0 4px 6px rgba(0, 0, 0, 0.04);
  transform: translateY(-1px);
}
.event-card--cancelled {
  opacity: 0.6;
}
.event-card--cancelled:hover {
  transform: none;
}
.event-card__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 52px;
  background: #edf7f1;
  border-radius: 10px;
  padding: 8px;
  text-align: center;
  flex-shrink: 0;
  align-self: flex-start;
}
.event-card__day {
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: #1a6b3c;
}
.event-card__month {
  font-size: 12px;
  color: #1a6b3c;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
}
.event-card__year {
  font-size: 10px;
  color: #9ca3af;
}
.event-card__content {
  flex: 1;
  min-width: 0;
}
.event-card__title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
  color: #111827;
}
.event-card__meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 8px;
  align-items: center;
}
.event-card__notes {
  background: #f5fbf7;
  border-left: 3px solid #1a6b3c;
  padding: 8px 16px;
  border-radius: 0 6px 6px 0;
  font-size: 14px;
  margin-bottom: 8px;
  color: #6b7280;
}
.event-card__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.event-card__status-label {
  font-size: 12px;
  color: #6b7280;
}
@media (max-width: 576px) {
  .event-card {
    padding: 16px;
    gap: 16px;
  }
  .event-card__day {
    font-size: 20px;
  }
  .event-card__date {
    min-width: 44px;
  }
}

.event-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}
.event-item:last-child {
  border-bottom: none;
}
.event-item__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 38px;
}
.event-item__day {
  font-size: 18px;
  font-weight: 700;
  color: #1a6b3c;
  line-height: 1;
}
.event-item__month {
  font-size: 10px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.event-item__info {
  flex: 1;
  min-width: 0;
}
.event-item__title {
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.event-item__meta {
  font-size: 12px;
  color: #6b7280;
}
.event-item__attendance {
  flex-shrink: 0;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
}

.quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  background: #f9fafb;
  border-radius: 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1.5px solid #e5e7eb;
  letter-spacing: 0.01em;
}
.quick-action:hover {
  background: #edf7f1;
  color: #145530;
  transform: translateY(-2px);
  text-decoration: none;
  border-color: rgba(26, 107, 60, 0.25);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.04);
}
.quick-action__icon {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border: 1px solid #e5e7eb;
  transition: all 0.15s ease;
}
.quick-action:hover .quick-action__icon {
  background: #edf7f1;
  border-color: rgba(26, 107, 60, 0.2);
}

.notification-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.notification-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 24px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  transition: box-shadow 0.15s ease;
}
.notification-item:hover {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07), 0 1px 2px rgba(0, 0, 0, 0.04);
}
.notification-item--unread {
  background: #f5fbf7;
  border-color: rgba(26, 107, 60, 0.2);
  position: relative;
}
.notification-item--unread .notification-item__title {
  font-weight: 700;
  color: #111827;
}
.notification-item--unread::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: #1a6b3c;
  border-radius: 9999px;
}
.notification-item__content {
  flex: 1;
  padding-left: 4px;
}
.notification-item__title {
  margin-bottom: 3px;
  font-size: 14px;
}
.notification-item__body {
  font-size: 12px;
  color: #6b7280;
}
.notification-item__meta {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 4px;
}

.attendance-radio {
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.attendance-radio--attending {
  accent-color: #16a34a;
}
.attendance-radio--not_attending {
  accent-color: #dc2626;
}

.payment-toggle {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #16a34a;
}

.detail-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 24px;
  font-size: 14px;
}
.detail-list dt {
  font-weight: 600;
  color: #6b7280;
  white-space: nowrap;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.detail-list dd {
  margin: 0;
  color: #111827;
}

.notes-box {
  background: #f5fbf7;
  border-left: 3px solid #1a6b3c;
  padding: 8px 16px;
  border-radius: 0 6px 6px 0;
  font-size: 14px;
  color: #6b7280;
}

.match-score {
  background: #1a6b3c;
  color: #fff;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.payment-instructions {
  font-size: 14px;
  white-space: pre-line;
  color: #6b7280;
}

.empty-state {
  text-align: center;
  padding: 64px 16px;
  color: #6b7280;
}
.empty-state__icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.4;
}
.empty-state__title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}
.empty-state__text {
  font-size: 14px;
  max-width: 320px;
  margin: 0 auto 24px;
}
.empty-state > *:not([class]) {
  font-size: 18px;
}

@media (max-width: 768px) {
  .navbar__toggle {
    display: flex;
  }
  .navbar__nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #124a2a;
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    gap: 2px;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    z-index: 99;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.08), 0 8px 10px rgba(0, 0, 0, 0.04);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .navbar__nav.is-open {
    display: flex;
  }
  .navbar__link {
    padding: 10px 16px;
    border-radius: 6px;
  }
  .navbar__dropdown-menu {
    position: static;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.07);
    border: none;
    border-radius: 6px;
    display: none;
    margin: 2px 0 4px 16px;
    animation: none;
  }
  .navbar__dropdown-menu.is-open {
    display: block;
  }
  .navbar__dropdown-menu a {
    color: rgba(255, 255, 255, 0.82);
    border-radius: 6px;
  }
  .navbar__dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
  }
  .navbar__dropdown-header {
    color: rgba(255, 255, 255, 0.5);
  }
  .page-header h1 {
    font-size: 22px;
  }
}
@media (max-width: 576px) {
  .main--with-navbar {
    padding-top: calc(64px + 16px);
  }
  .dashboard-grid, .settings-grid {
    grid-template-columns: 1fr;
  }
}
.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 5px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  background: #1a6b3c;
  color: #fff;
  vertical-align: middle;
}
.nav-badge--warn {
  background: #e85d04;
}

.dashboard-alert {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff8f0 0%, #fff3e0 100%);
  border: 1px solid #f0a500;
  border-left: 4px solid #e85d04;
  border-radius: 14px;
  font-size: 14px;
}
.dashboard-alert__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}
.dashboard-alert__body {
  flex: 1;
  color: #111827;
}
.dashboard-alert .btn {
  flex-shrink: 0;
}

.upcoming-events {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.event-card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 24px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  transition: box-shadow 0.15s ease, transform 0.25s ease;
}
.event-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.04);
  transform: translateY(-1px);
}
.event-card--training {
  border-left: 4px solid #1a6b3c;
}
.event-card--match {
  border-left: 4px solid #c0392b;
}
.event-card--camp {
  border-left: 4px solid #d97706;
}
.event-card--confirmed {
  background: #f0fdf4;
}
.event-card--declined {
  background: #fef2f2;
  opacity: 0.85;
}
.event-card__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  flex-shrink: 0;
}
.event-card__day {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  color: #111827;
}
.event-card__month {
  font-size: 10px;
  text-transform: uppercase;
  color: #6b7280;
  letter-spacing: 0.5px;
}
.event-card__content {
  min-width: 0;
}
.event-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}
.event-card__type-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
}
.event-card__type-badge--training {
  background: #dcfce7;
  color: #166534;
}
.event-card__type-badge--match {
  background: #fee2e2;
  color: #991b1b;
}
.event-card__type-badge--camp {
  background: #fef3c7;
  color: #92400e;
}
.event-card__player {
  font-size: 11px;
  color: #6b7280;
  font-weight: 600;
}
.event-card__title {
  font-weight: 600;
  color: #111827;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.event-card__time {
  font-size: 14px;
  font-weight: 400;
  color: #6b7280;
}
.event-card__location {
  font-size: 14px;
  color: #6b7280;
  margin-top: 2px;
}
.event-card__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}
.event-card__actions form {
  margin: 0;
}
@media (max-width: 768px) {
  .event-card {
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
  }
  .event-card__actions {
    grid-column: 1/-1;
    flex-direction: row;
    justify-content: flex-end;
    padding-top: 4px;
    border-top: 1px solid #e5e7eb;
  }
}
@media (max-width: 576px) {
  .event-card {
    padding: 8px 16px;
  }
}

/*# sourceMappingURL=app.output.css.map */
