.ef-btn-sm {
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: #f3f4f6; /* light neutral */
  color: #0f172a;
}

.ef-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.ef-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
}

.ef-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
  gap: 2rem;
  position: relative;
}

.ef-header-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.ef-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ef-logo-img {
  height: 56px;
  width: 56px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid #f97316;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.25);
}

.ef-logo-text {
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #020617;
}

.ef-logo-text span {
  color: #f97316; /* orange accent from logo */
}

.ef-nav {
  display: flex;
  gap: 0.5rem;
}

.ef-nav-link {
  border: none;
  background: transparent;
  color: #4b5563;
  padding: 0.4rem 0.4rem;
  border-radius: 0;
  font-size: 0.88rem;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
  border-bottom: 2px solid transparent;
}

.ef-nav-link:hover {
  color: #111827;
  border-color: rgba(15, 23, 42, 0.2);
}

.ef-nav-link.active {
  color: #0f172a;
  border-color: #f97316;
}

.ef-header-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.ef-notification-menu {
  position: relative;
  display: flex;
  align-items: center;
}

.ef-icon-btn {
  position: relative;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #0f172a;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.08s ease;
}

.ef-icon-btn:hover {
  background: #f3f4f6;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14);
  transform: translateY(-1px);
}

.ef-notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.ef-notification-menu-panel {
  position: absolute;
  top: 115%;
  right: 0;
  min-width: 220px;
  border-radius: 0.9rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
  padding: 0.45rem 0.4rem;
  display: none;
  z-index: 32;
}

.ef-notification-menu-item {
  padding: 0.35rem 0.4rem;
  border-radius: 0.55rem;
  font-size: 0.8rem;
  color: #111827;
  cursor: default;
}

.ef-notification-menu-item-title {
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.ef-notification-menu-item-meta {
  font-size: 0.75rem;
  color: #6b7280;
}

.ef-notification-menu-empty {
  padding: 0.35rem 0.4rem;
  font-size: 0.78rem;
  color: #6b7280;
}

body.ef-notifications-open .ef-notification-menu-panel {
  display: block;
}

.ef-user-menu {
  position: relative;
  display: flex;
  align-items: center;
}

.ef-user-pill {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 76, 129, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.8);
  font-size: 0.78rem;
  color: #0f172a;
  max-width: 180px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.ef-user-pill-avatar {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f4c81, #f97316);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
  font-size: 0.75rem;
  font-weight: 600;
}

.ef-user-pill-name {
  overflow: hidden;
  text-overflow: ellipsis;
}

.ef-user-menu-panel {
  position: absolute;
  top: 115%;
  right: 0;
  min-width: 180px;
  border-radius: 0.9rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
  padding: 0.4rem 0.3rem;
  display: none;
  z-index: 30;
}

.ef-user-menu-panel button {
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  padding: 0.35rem 0.6rem;
  font-size: 0.8rem;
  color: #1f2937;
  border-radius: 0.6rem;
  cursor: pointer;
}

.ef-user-menu-panel button:hover {
  background: rgba(15, 76, 129, 0.06);
}

body.ef-user-menu-open .ef-user-menu-panel {
  display: block;
}

@media (max-width: 700px) {
  .ef-user-pill {
    max-width: 130px;
  }
}

/* --- Admin login --- */
.ef-admin-login {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  padding: 2.5rem;
  border-radius: 28px;
  background: radial-gradient(
      circle at top right,
      rgba(14, 165, 233, 0.4),
      rgba(14, 165, 233, 0)
    )
    #0f172a;
  overflow: hidden;
  isolation: isolate;
}

.ef-admin-login::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 20%,
    rgba(248, 250, 252, 0.15),
    transparent 55%
  );
  pointer-events: none;
  z-index: -1;
}

.ef-admin-login-hero {
  color: #e2e8f0;
  padding-right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ef-admin-login-chip {
  align-self: flex-start;
  background: rgba(248, 250, 252, 0.15);
  color: #f8fafc;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ef-admin-login-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.ef-admin-login-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
}

.ef-admin-login-list li::before {
  content: "•";
  color: #f97316;
  font-size: 1.5rem;
  line-height: 1;
}

.ef-admin-login-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.2);
}

.ef-admin-login-badge {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0f172a;
  margin-bottom: 1rem;
}

.ef-admin-login-subtitle {
  color: #475569;
  margin-bottom: 1.5rem;
}

.ef-admin-login-form .ef-form-group {
  margin-bottom: 1.2rem;
}

.ef-input-icon {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}

.ef-input-icon span {
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.95rem;
}

.ef-input-icon input {
  border: none;
  background: transparent;
  padding: 0;
  font-size: 1rem;
  color: #0f172a;
}

.ef-input-icon input:focus {
  outline: none;
}

.ef-admin-login-helpers {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.5rem 0 1rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.ef-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #475569;
  cursor: pointer;
}

.ef-checkbox input {
  width: 16px;
  height: 16px;
}

.ef-link-btn {
  background: none;
  border: none;
  color: #f97316;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  font-size: 0.9rem;
}

.ef-link-btn:hover {
  text-decoration: underline;
}

.ef-admin-login-demo {
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
}

@media (max-width: 768px) {
  .ef-admin-login {
    padding: 1.75rem;
  }

  .ef-admin-login-card {
    padding: 1.75rem;
  }
}

.ef-nav-toggle {
  display: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.18rem;
  padding: 0;
  cursor: pointer;
}

.ef-nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  border-radius: 999px;
  background: #0f172a;
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

body.ef-nav-open .ef-nav-toggle span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

body.ef-nav-open .ef-nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.ef-nav-open .ef-nav-toggle span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

.ef-auth-btn {
  border-radius: 999px;
  padding: 0.35rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease, transform 0.08s ease;
}

.ef-auth-btn-ghost {
  background: #ffffff;
  color: #111827;
  border-color: #e5e7eb;
}

.ef-auth-btn-ghost:hover {
  background: #f3f4f6;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.ef-auth-btn-primary {
  background: #f97316;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.25);
}

.ef-auth-btn-primary:hover {
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.35);
  transform: translateY(-1px);
}


.ef-main {
  padding: 1.5rem 0 2.5rem;
  background: #f3f4f6;
}

@media (max-width: 768px) {
  .ef-main {
    padding: 0.75rem 0 1.5rem;
  }
}

.ef-view {
  display: none;
}

.ef-view.active {
  display: block;
}

.ef-view-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.ef-hero {
  position: relative;
  margin: 0 0 1.5rem;
  border-radius: 0 0 1.4rem 1.4rem;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 4vw;
  transform-origin: center;
  transition: transform 0.6s ease, opacity 0.6s ease;
  background-image: linear-gradient(
      to right,
      rgba(15, 23, 42, 0.85),
      rgba(15, 23, 42, 0.7)
    ),
    url("../images/kyrenia.jpg");
  background-size: cover;
  background-position: center center;
  color: #f9fafb;
}

@media (max-width: 768px) {
  .ef-hero {
    min-height: 360px;
    padding: 2rem 1.25rem 2.4rem;
    border-radius: 0 0 1.1rem 1.1rem;
  }
}

.ef-hero-rotate-out {
  animation: ef-hero-rotate-out 0.45s ease-in forwards;
}

.ef-hero-rotate-in {
  animation: ef-hero-rotate-in 0.45s ease-out forwards;
}

@keyframes ef-hero-rotate-out {
  0% {
    transform: perspective(1400px) rotateY(0deg) scale(1);
    opacity: 1;
  }
  100% {
    transform: perspective(1400px) rotateY(90deg) scale(0.9);
    opacity: 0;
  }
}

@keyframes ef-hero-rotate-in {
  0% {
    transform: perspective(1400px) rotateY(-90deg) scale(0.9);
    opacity: 0;
  }
  100% {
    transform: perspective(1400px) rotateY(0deg) scale(1);
    opacity: 1;
  }
}

.ef-hero-text h1 {
  margin: 0 0 0.5rem;
  font-size: 2.1rem;
  color: #f9fafb;
}

.ef-hero-text {
  max-width: 720px;
  margin-left: auto;
  margin-right: 4vw;
  text-align: left;
}

@media (max-width: 768px) {
  .ef-hero-text {
    margin: 0;
    text-align: left;
  }

  .ef-hero-text h1 {
    font-size: 1.6rem;
  }
}

.ef-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
}

.ef-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(248, 250, 252, 0.35);
  cursor: default;
  pointer-events: none;
  transition: background 0.2s ease, width 0.2s ease;
}

.ef-hero-dot.active {
  width: 18px;
  background: #f97316;
}

.ef-hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin: 0 0 0.35rem;
  color: #fde68a;
}

.ef-hero-text p {
  margin: 0;
  color: #cbd5f5;
  max-width: 640px;
  font-size: 0.98rem;
}

.ef-hero-cta {
  margin-top: 1.1rem;
  padding-inline: 1.6rem;
}

.ef-hero-cta-arrow {
  font-size: 0.9rem;
  opacity: 0.9;
}

.ef-hero-cta-animate .ef-hero-cta-arrow {
  animation: ef-hero-arrow-pulse 0.55s ease-out;
}

@keyframes ef-hero-arrow-pulse {
  0% {
    transform: translate(0, -50%);
    opacity: 0.8;
  }
  40% {
    transform: translate(7px, -50%);
    opacity: 1;
  }
  100% {
    transform: translate(0, -50%);
    opacity: 0.4;
  }
}

.ef-view-header h1 {
  margin: 0;
  font-size: 1.6rem;
  color: #020617;
}

.ef-view-header p {
  margin: 0.35rem 0 0;
  color: #6b7280;
  font-size: 0.95rem;
}

.ef-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ef-filter-hidden {
  display: none;
}

.ef-category-bar {
  background: #f9fafb;
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  margin-bottom: 1.2rem;
  border: 1px solid #e5e7eb;
}

.ef-category-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.7rem;
}

.ef-category-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #111827;
}

.ef-category-pill-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  -webkit-overflow-scrolling: touch;
}

.ef-category-pill {
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  padding: 0.4rem 0.9rem;
  background: #ffffff;
  font-size: 0.85rem;
  color: #374151;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: background 0.15s ease, color 0.15s ease,
    border-color 0.15s ease, transform 0.08s ease;
}

.ef-category-pill:hover {
  background: #e0f2fe;
  border-color: #60a5fa;
}

.ef-category-pill.active {
  background: linear-gradient(135deg, #f97316, #f97316);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-1px);
}

select,
input[type="date"],
input[type="time"],
input[type="text"],
input[type="number"],
input[type="url"],
textarea {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 0.6rem;
  padding: 0.5rem 0.7rem;
  color: #111827;
  font-family: inherit;
  font-size: 0.9rem;
  min-width: 0;
}

select:focus,
input:focus,
textarea:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 1px rgba(248, 181, 82, 0.45);
}

textarea {
  resize: vertical;
}

.ef-btn {
  border-radius: 999px;
  border: none;
  padding: 0.5rem 1.1rem;
  background: #f97316;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  transition: transform 0.1s ease, box-shadow 0.15s ease,
    background 0.2s ease, opacity 0.2s ease;
}

.ef-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 76, 129, 0.3);
}

.ef-btn:disabled {
  opacity: 0.6;
  cursor: default;
  box-shadow: none;
}

.ef-btn-ghost {
  background: transparent;
  color: #475569;
  border: 1px solid #cbd5e1;
  box-shadow: none;
  font-weight: 500;
}

.ef-btn-ghost:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f4c81;
}

.ef-btn-sm {
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
}


.ef-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.ef-event-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .ef-event-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .ef-event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ef-event-grid {
    grid-template-columns: 1fr;
  }
}

.ef-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ef-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .ef-grid-2,
  .ef-grid-3 {
    grid-template-columns: 1fr;
  }
}

.ef-notifications {
  margin-bottom: 1.25rem;
}

.ef-notification-card {
  border-radius: 0.9rem;
  background: #ffffff;
  border-left: 4px solid #f97316;
  border-top: 1px solid rgba(37, 99, 235, 0.35);
  border-right: 1px solid rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
  padding: 0.8rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.ef-notification-card strong {
  color: #111827;
}

.ef-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #111827;
}

.ef-badge-success {
  border-color: rgba(34, 197, 94, 0.8);
  color: #166534;
}

.ef-badge-muted {
  color: #6b7280;
}

.ef-card {
  border-radius: 1.25rem;
  background: #ffffff;
  border: 1px solid transparent;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
  transition: border-color 0.25s ease, box-shadow 0.25s ease,
    transform 0.25s ease;
}

.ef-card::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 28px;
  right: 28px;
  height: 24px;
  background: radial-gradient(
    circle,
    rgba(15, 76, 129, 0.15),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.2s ease;
}

.ef-card:hover {
  border-color: #0f4c81;
  box-shadow: 0 18px 40px rgba(15, 76, 129, 0.15);
  transform: translateY(-6px);
}

.ef-card:hover::after {
  opacity: 1;
}

.ef-card-header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.ef-card-header-main {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1 1 auto;
  min-width: 0;
}

.ef-card-category {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f97316;
}

.ef-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.15rem;
}

.ef-card-meta {
  font-size: 0.8rem;
  color: #1f2937;
}

.ef-card-meta-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.1rem;
}

.ef-card-meta-icon {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  background: #f1f5f9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: #0f172a;
}

.ef-icon-location::before {
  content: "📍";
}

.ef-icon-calendar::before {
  content: "📅";
}

.ef-icon-clock::before {
  content: "⏰";
}

.ef-card-meta-text {
  font-size: 0.78rem;
  color: #4b5563;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ef-card-body {
  font-size: 0.88rem;
  color: #4b5563;
}

.ef-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: auto;
}

.ef-card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.ef-card-actions .ef-btn-sm {
  flex: 1;
  text-align: center;
}

.ef-capacity {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ef-capacity-bar {
  flex: 1;
  height: 0.35rem;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

.ef-capacity-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #f97316, #f97316);
}

.ef-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ef-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 1.5rem;
  border-radius: 0.75rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  margin-bottom: 0.5rem;
}

.ef-list-item:hover {
  border-color: #0f4c81;
  box-shadow: 0 2px 8px rgba(15, 76, 129, 0.12);
  transform: translateY(-1px);
  background: #f8fafc;
}

.ef-list-item-main {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.ef-list-item-title {
  color: #111827;
  font-weight: 600;
  font-size: 0.95rem;
}

.ef-list-item-meta {
  color: #64748b;
  font-size: 0.8rem;
}

.ef-list-item-actions {
  display: inline-flex;
  gap: 0.3rem;
}

/* Registration Cards */
.ef-registration-card {
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.ef-registration-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.ef-registration-card-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.ef-registration-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ef-registration-card-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.ef-registration-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ef-registration-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.ef-registration-card-main {
  flex: 1;
}

.ef-registration-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.75rem 0;
  line-height: 1.4;
}

.ef-registration-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ef-registration-card-date,
.ef-registration-card-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
}

.ef-registration-card-date svg,
.ef-registration-card-location svg {
  flex-shrink: 0;
  color: #94a3b8;
}

.ef-registration-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  background: #f1f5f9;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  white-space: nowrap;
}

.ef-registration-card-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0f4c81;
}

.ef-registration-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.ef-registration-card-progress {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.ef-registration-card-progress-bar {
  flex: 1;
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}

.ef-registration-card-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0f4c81 0%, #1e6fd9 100%);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.ef-registration-card-progress-text {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
  white-space: nowrap;
}

.ef-btn-danger {
  background: #ef4444;
  color: #ffffff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ef-btn-danger:hover {
  background: #dc2626;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

.ef-btn-danger:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .ef-registration-card-header {
    flex-direction: column;
  }

  .ef-registration-card-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .ef-registration-card-progress {
    width: 100%;
  }

  .ef-btn-danger {
    width: 100%;
  }
}

.ef-section-title {
  margin: 0 0 0.8rem;
  font-size: 1.05rem;
  color: #f9fafb;
}

/* Modern section title for admin */
#admin-section-create > .ef-section-title,
#admin-section-users > .ef-section-title {
  color: #0f172a;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* Modern section title for admin */
#admin-section-create > .ef-section-title,
#admin-section-users > .ef-section-title {
  color: #0f172a;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.ef-form {
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(30, 64, 175, 0.85);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Modern form style for admin section */
#admin-section-create .ef-form,
#admin-section-users .ef-form {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  gap: 1.25rem;
}

.ef-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.ef-form-group label {
  font-size: 0.85rem;
  color: #e5e7eb;
}

/* Modern labels for admin forms */
#admin-section-create .ef-form-group label,
#admin-section-users .ef-form-group label {
  color: #374151;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.ef-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

/* Modern input styles for admin forms */
#admin-section-create .ef-form input,
#admin-section-create .ef-form select,
#admin-section-create .ef-form textarea,
#admin-section-users .ef-form input,
#admin-section-users .ef-form select {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0.625rem 0.875rem;
  font-size: 0.9rem;
  color: #111827;
  transition: all 0.2s ease;
}

#admin-section-create .ef-form input:focus,
#admin-section-create .ef-form select:focus,
#admin-section-create .ef-form textarea:focus,
#admin-section-users .ef-form input:focus,
#admin-section-users .ef-form select:focus {
  outline: none;
  border-color: #0f4c81;
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.1);
}

#admin-section-create .ef-form input::placeholder,
#admin-section-create .ef-form textarea::placeholder {
  color: #9ca3af;
}

#admin-section-create .ef-form textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

#admin-section-create .ef-form small {
  color: #64748b;
  font-size: 0.75rem;
  margin-top: 0.375rem;
  display: block;
  line-height: 1.4;
}

/* Modern form actions for admin */
#admin-section-create .ef-form-actions,
#admin-section-users .ef-form-actions {
  margin-top: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e5e7eb;
  gap: 0.75rem;
}

#admin-section-create .ef-form-actions .ef-btn,
#admin-section-users .ef-form-actions .ef-btn {
  padding: 0.625rem 1.5rem;
  font-weight: 500;
  border-radius: 0.5rem;
}

#admin-section-create .ef-form-actions .ef-btn-ghost,
#admin-section-users .ef-form-actions .ef-btn-ghost {
  border: 1px solid #d1d5db;
  color: #475569;
}

#admin-section-create .ef-form-actions .ef-btn-ghost:hover,
#admin-section-users .ef-form-actions .ef-btn-ghost:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

@media (max-width: 700px) {
  .ef-header-inner {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }

  .ef-header-left {
    flex: 1;
    justify-content: flex-start;
  }

  .ef-nav-toggle {
    display: inline-flex;
  }

  .ef-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0.45rem 1.25rem 0.7rem;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
    border-bottom: 1px solid #e5e7eb;
    gap: 0.25rem;
    flex-direction: column;
    z-index: 25;
  }

  body.ef-nav-open .ef-nav {
    display: flex;
  }

  .ef-nav-link {
    flex: 0;
    text-align: left;
    padding: 0.35rem 0.1rem;
    border-bottom-width: 0;
  }

  .ef-form-row {
    grid-template-columns: 1fr;
  }
}

.ef-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.ef-stat-card {
  border-radius: 1rem;
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.ef-stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0f4c81 0%, #1e6fd9 100%);
}

.ef-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border-color: #cbd5e1;
}

.ef-stat-card h3 {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ef-stat-value {
  margin: 0;
  font-size: 2.25rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.ef-mt-lg {
  margin-top: 1.5rem;
}

.ef-footer {
  border-top: 1px solid #fde6cf;
  padding: 1.5rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #fff4e8 80%);
  color: #475569;
  font-size: 0.85rem;
}

.ef-footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.ef-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ef-footer-title {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f172a;
}

.ef-footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.ef-footer-links a {
  color: #0f4c81;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.1rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.ef-footer-links a:hover {
  color: #f97316;
  border-color: #f97316;
}

.ef-footer-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  color: #64748b;
}

.ef-footer-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.15rem 0.65rem;
  background: rgba(249, 115, 22, 0.15);
  color: #b45309;
  font-size: 0.75rem;
  font-weight: 600;
}

.ef-about-list {
  margin: 0.4rem 0 0;
  padding-left: 1rem;
  color: #4b5563;
  font-size: 0.9rem;
}

.ef-about-list li + li {
  margin-top: 0.2rem;
}

.ef-place-thumb {
  width: 100%;
  display: block;
  border-radius: 1rem;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  margin-bottom: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.ef-place-thumb:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.25);
}

.ef-place-card {
  position: relative;
  overflow: hidden;
}

.ef-place-overlay {
  position: absolute;
  inset: 1.2rem;
  border-radius: 0.9rem;
  background: rgba(15, 23, 42, 0.78);
  color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.2rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.ef-place-card--no-events .ef-place-overlay {
  opacity: 1;
  transform: translateY(0);
}

.ef-place-overlay-content strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.ef-place-overlay-content span {
  font-size: 0.85rem;
  color: #cbd5f5;
}

.ef-place-card .ef-section-title {
  color: #0f172a;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.ef-place-card p {
  color: #374151;
  line-height: 1.45;
}

.ef-place-events {
  margin-top: 0;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.9);
  font-size: 0.8rem;
  color: #4b5563;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.25s ease, opacity 0.2s ease, margin-top 0.2s ease;
}

.ef-place-card.ef-place-card--expanded .ef-place-events {
  margin-top: 0.6rem;
  max-height: 220px;
  opacity: 1;
}

.ef-place-events-item + .ef-place-events-item {
  margin-top: 0.25rem;
}

.ef-place-events-title {
  font-weight: 600;
}

.ef-place-events-meta {
  color: #6b7280;
}

.ef-place-highlight {
  margin-top: 0.3rem;
  padding: 0.65rem 0.8rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(59, 130, 246, 0.25);
  background: linear-gradient(
    135deg,
    rgba(15, 76, 129, 0.08),
    rgba(59, 130, 246, 0.08)
  );
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.1);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-6px);
  transition: max-height 0.25s ease, opacity 0.25s ease,
    transform 0.25s ease;
}

.ef-place-card--highlight .ef-place-highlight {
  max-height: 160px;
  opacity: 1;
  transform: translateY(0);
}

.ef-place-highlight-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2563eb;
  margin-bottom: 0.2rem;
  display: inline-block;
}

.ef-place-highlight-body {
  font-size: 0.85rem;
  color: #0f172a;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.ef-place-highlight-body span {
  font-size: 0.78rem;
  color: #475569;
}

.ef-empty-state {
  padding: 0.9rem 1rem;
  border-radius: 0.8rem;
  border: 1px dashed rgba(148, 163, 184, 0.9);
  font-size: 0.86rem;
  color: #6b7280;
}

.ef-calendar-card {
  margin-bottom: 1.5rem;
}

.ef-calendar-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.ef-calendar-toolbar-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ef-calendar-nav-group {
  display: inline-flex;
  gap: 0.25rem;
}

.ef-calendar-month {
  margin: 0;
}

.ef-calendar-toolbar-right {
  display: inline-flex;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}

.ef-calendar-view-btn {
  border: none;
  background: transparent;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  color: #64748b;
}

.ef-calendar-view-btn.active {
  background: #0f4c81;
  color: #ffffff;
}

.ef-calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.ef-calendar-header-nav {
  display: flex;
  gap: 0.4rem;
}

.ef-calendar-list {
  display: grid;
  gap: 0.4rem;
}

.ef-calendar-list[data-view="month"],
.ef-calendar-list[data-view="week"] {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.ef-calendar-list[data-view="day"] {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ef-calendar-weekday {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  text-align: center;
  padding-bottom: 0.25rem;
}

.ef-calendar-cell {
  min-height: 78px;
  background: #ffffff;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  padding: 0.35rem 0.4rem;
  display: flex;
  flex-direction: column;
}

.ef-calendar-cell--today {
  border-color: #0f4c81;
  box-shadow: 0 0 0 1px rgba(15, 76, 129, 0.2);
}

.ef-calendar-cell--empty {
  background: transparent;
  border-color: transparent;
}

.ef-calendar-cell-day {
  font-size: 0.78rem;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 0.15rem;
}

.ef-calendar-cell-events {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.ef-calendar-event {
  border: none;
  background: transparent;
  text-align: left;
  padding: 0;
  font-size: 0.78rem;
  cursor: pointer;
  color: #111827;
}

.ef-calendar-event:hover {
  text-decoration: underline;
}

.ef-calendar-event-meta {
  font-size: 0.7rem;
  color: #6b7280;
}

.ef-calendar-event-more {
  font-size: 0.7rem;
  color: #6b7280;
}

.ef-calendar-hint {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: #6b7280;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.4rem;
}

.ef-calendar-day-card {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  padding: 1.1rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.ef-calendar-day-card--today {
  border-color: #0f4c81;
  box-shadow: 0 0 0 1px rgba(15, 76, 129, 0.2);
}

.ef-calendar-day-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem;
  margin-bottom: 0.85rem;
}

.ef-calendar-day-heading-weekday {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
}

.ef-calendar-day-heading-date {
  font-size: 0.9rem;
  color: #475569;
}

.ef-calendar-day-events {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.ef-calendar-day-event {
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  background: #f8fafc;
  padding: 0.65rem 0.75rem;
  width: 100%;
  font: inherit;
  color: inherit;
  display: block;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ef-calendar-day-event:hover {
  background: #eef2ff;
  border-color: #0f4c81;
}

.ef-calendar-day-event-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
}

.ef-calendar-day-event-meta {
  margin-top: 0.25rem;
  font-size: 0.82rem;
  color: #475569;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.ef-calendar-day-empty {
  font-size: 0.85rem;
  color: #94a3b8;
}

.ef-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.ef-tag {
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid rgba(59, 130, 246, 0.5);
  font-size: 0.7rem;
  color: #0f4c81;
}

.ef-tag-outline {
  border-style: dashed;
  color: #c2410c;
}

.ef-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-size: 0.8rem;
  font-weight: 500;
  color: #475569;
}

.ef-chip-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #0f4c81;
}

.ef-chip-dot-muted {
  background: #94a3b8;
}

.ef-text-muted {
  color: #475569;
}

.ef-text-danger {
  color: #fca5a5;
}

.ef-btn-danger {
  background: #ef4444;
  border: 1px solid #ef4444;
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(239, 68, 68, 0.2);
  font-weight: 500;
}

.ef-btn-danger:hover {
  background: #dc2626;
  border-color: #dc2626;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

.ef-badge-full {
  border-color: rgba(220, 38, 38, 0.9);
  color: #b91c1c;
}

.ef-card-image {
  width: 100%;
  border-radius: 0.8rem;
  object-fit: cover;
  height: 240px;
}

.ef-card-image-wrapper {
  position: relative;
  border-radius: 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(209, 213, 219, 0.8);
}

.ef-card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.7),
    rgba(15, 23, 42, 0.15)
  );
}

.ef-card-image-labels {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  right: 0.75rem;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}

.ef-card-image-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f9fafb;
}

.ef-card-image-meta {
  font-size: 0.8rem;
  color: #fef3c7;
}

.ef-card-date {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: #f97316;
  color: #ffffff;
  border-radius: 1rem;
  padding: 0.4rem 0.75rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
}

.ef-card-date-day {
  font-size: 1rem;
  font-weight: 700;
}

.ef-card-date-month {
  font-size: 0.65rem;
  text-transform: uppercase;
}

/* Event detail panel */
.ef-detail-layer {
  position: fixed;
  inset: 0;
  background: radial-gradient(
    circle at top,
    rgba(148, 163, 184, 0.4),
    rgba(15, 23, 42, 0.85)
  );
  backdrop-filter: blur(8px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 4rem 1.25rem;
  z-index: 60;
  overflow-y: auto;
}

.ef-detail-layer.open {
  display: flex;
}

.ef-detail-panel {
  background: #ffffff;
  border-radius: 1.5rem;
  width: min(960px, 100%);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.25);
  padding: 2rem;
  position: relative;
}

@media (max-width: 640px) {
  .ef-detail-layer {
    padding: 3rem 0.75rem;
  }

  .ef-detail-panel {
    padding: 1.25rem 1rem;
    border-radius: 1.2rem;
  }
}

.ef-detail-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
  color: #94a3b8;
}

.ef-detail-hero-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.ef-detail-hero-image {
  border-radius: 1.2rem;
  background: linear-gradient(135deg, #f97316, #facc15);
  min-height: 220px;
}

.ef-detail-hero-body h2 {
  margin-top: 0.35rem;
  margin-bottom: 0.3rem;
}

.ef-detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.ef-detail-meta-grid strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #94a3b8;
}

.ef-detail-meta-grid span {
  font-weight: 600;
  color: #0f172a;
}

.ef-modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

#detail-registration-status {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

#detail-registration-status .ef-badge {
  margin: 0;
}

.ef-detail-register {
  flex-shrink: 0;
}

.ef-detail-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.ef-detail-tabs button {
  border: none;
  background: #f1f5f9;
  color: #475569;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  cursor: pointer;
}

.ef-detail-tabs button.active {
  background: #f97316;
  color: #ffffff;
}

.ef-detail-section {
  display: none;
  border-radius: 1rem;
  background: #f9fafb;
  padding: 1.25rem;
  line-height: 1.6;
}

.ef-detail-section.active {
  display: block;
}

.ef-detail-list {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
  color: #475569;
}

@media (max-width: 900px) {
  .ef-detail-hero-card {
    grid-template-columns: 1fr;
  }
}

/* Auth overlay */
.ef-auth-layer {
  align-items: center;
  background: radial-gradient(circle at top, rgba(148, 163, 184, 0.4), rgba(15, 23, 42, 0.8));
  backdrop-filter: blur(8px);
}

.ef-auth-panel {
  background: #ffffff;
  border-radius: 1rem;
  width: min(420px, 100%);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.18);
  padding: 1.4rem 1.5rem 1.4rem;
  position: relative;
}

.ef-auth-panel h2 {
  margin-top: 0;
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0f172a;
}

.ef-auth-panel p.ef-text-muted {
  color: #6b7280;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.ef-auth-tabs {
  display: inline-flex;
  padding: 0.16rem;
  border-radius: 999px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  margin-bottom: 0.9rem;
}

.ef-auth-tabs button {
  border: none;
  background: transparent;
  color: #4b5563;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.32rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.ef-auth-tabs button.active {
  background: #f97316;
  color: #111827;
}

.ef-auth-panel .ef-form-group label {
  color: #374151;
  font-size: 0.78rem;
}

.ef-auth-panel input {
  background: #ffffff;
  border-color: #d1d5db;
  color: #111827;
  font-size: 0.82rem;
  height: 2.2rem;
}

.ef-auth-panel input::placeholder {
  color: #9ca3af;
}

.ef-auth-panel input:focus {
  outline: none;
  border-color: #0f4c81;
  box-shadow: 0 0 0 1px rgba(15, 76, 129, 0.25),
    0 0 0 4px rgba(15, 76, 129, 0.12);
}

.ef-auth-panel .ef-form-actions {
  justify-content: flex-start;
  gap: 0.4rem;
  margin-top: 0.2rem;
}

.ef-auth-panel .ef-btn-ghost {
  border-color: #d1d5db;
  color: #374151;
}

.ef-auth-panel .ef-btn-ghost:hover {
  background: #f3f4f6;
}

.ef-auth-form {
  margin-top: 0.35rem;
  padding: 0.85rem 0.85rem 0.7rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}

.ef-password-field {
  position: relative;
  display: flex;
  align-items: center;
}

.ef-password-field .auth-input {
  padding-right: 3.1rem;
}

.ef-password-toggle {
  position: absolute;
  right: 0.35rem;
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 0.72rem;
  cursor: pointer;
}

.ef-password-toggle:hover {
  color: #111827;
}

.ef-signin-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.ef-forgot-link {
  font-size: 0.75rem;
  color: #2563eb;
  text-decoration: none;
}

.ef-forgot-link:hover {
  text-decoration: underline;
}

.ef-auth-help {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.2rem;
}

.ef-auth-error {
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 0.2rem;
}

.ef-auth-checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #4b5563;
  margin-top: 0.1rem;
}

.ef-auth-checkbox-row input {
  width: 14px;
  height: 14px;
}

.ef-auth-divider-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.7rem 0;
  font-size: 0.75rem;
  color: #6b7280;
}

.ef-auth-divider-row::before,
.ef-auth-divider-row::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.ef-auth-social-btn {
  width: 100%;
  border-radius: 0.6rem;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #111827;
  font-size: 0.78rem;
  padding: 0.45rem 0.75rem;
  margin-bottom: 0.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.ef-auth-social-btn:hover {
  background: #f3f4f6;
}

.ef-auth-status {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: #6b7280;
}

.ef-auth-footer {
  margin-top: 0.65rem;
  padding-top: 0.5rem;
  border-top: 1px solid #e5e7eb;
}

.ef-auth-note {
  margin: 0;
  font-size: 0.75rem;
  color: #6b7280;
}

.ef-auth-link {
  color: #2563eb;
  cursor: pointer;
}

.ef-auth-link:hover {
  text-decoration: underline;
}

/* Privacy overlay */
.ef-privacy-layer {
  align-items: center;
}

.ef-privacy-panel {
  background: #ffffff;
  border-radius: 1rem;
  width: min(520px, 100%);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.25);
  padding: 1.6rem 1.7rem 1.4rem;
  position: relative;
}

.ef-privacy-panel h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.ef-privacy-panel p {
  font-size: 0.85rem;
  color: #4b5563;
  line-height: 1.6;
}

.ef-auth-conditions {
  margin: 0.15rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.75rem;
  color: #6b7280;
  display: grid;
  gap: 0.15rem;
  list-style: disc;
}

/* Admin panel */
.ef-admin-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .ef-admin-layout {
    grid-template-columns: 1fr;
  }
}

.ef-admin-sidebar {
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  height: fit-content;
  position: sticky;
  top: 1rem;
}

.ef-admin-sidebar-title {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.ef-admin-link {
  border-radius: 0.6rem;
  border: none;
  background: transparent;
  padding: 0.65rem 0.85rem;
  text-align: left;
  font-size: 0.9rem;
  color: #475569;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ef-admin-link:hover {
  background: #f1f5f9;
  color: #0f4c81;
}

.ef-admin-link.active {
  background: #0f4c81;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 76, 129, 0.25);
  font-weight: 600;
}

.ef-admin-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: transparent;
  padding: 0;
}

.ef-admin-summary {
  margin-bottom: 0.3rem;
}

.ef-admin-section {
  display: none;
}

.ef-admin-section.active {
  display: block;
}

/* Statistics Section */
#admin-section-stats .ef-grid-2 {
  gap: 1.5rem;
  align-items: flex-start;
}

#admin-section-stats > .ef-section-title {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: #0f172a;
  font-weight: 700;
}

#admin-section-stats .ef-grid-2 > div {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  max-height: 600px;
}

#admin-section-stats .ef-grid-2 > div > h3 {
  flex-shrink: 0;
}

#admin-section-stats .ef-list {
  flex: 1;
  overflow-y: auto;
  padding-right: 0.5rem;
}

#admin-section-stats .ef-list::-webkit-scrollbar {
  width: 6px;
}

#admin-section-stats .ef-list::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}

#admin-section-stats .ef-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

#admin-section-stats .ef-list::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

#admin-section-stats .ef-grid-2 > div > h3 {
  margin: 0 0 1.25rem 0;
  font-size: 1rem;
  color: #0f172a;
  font-weight: 600;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f1f5f9;
}

#admin-section-stats .ef-list {
  gap: 0.75rem;
}

#admin-section-stats .ef-list-item {
  margin-bottom: 0;
  padding: 1rem 1.25rem;
  border-radius: 0.65rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

#admin-section-stats .ef-list-item:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

#admin-section-stats .ef-list-item-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.25rem;
}

#admin-section-stats .ef-list-item-meta {
  font-size: 0.8rem;
  color: #64748b;
}

#admin-section-stats .ef-list-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

#admin-section-stats .ef-list-item-actions .ef-text-muted {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}

#admin-section-stats .ef-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  padding: 0.4rem 0.75rem;
  border-radius: 0.5rem;
  background: #0f4c81;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(15, 76, 129, 0.2);
}

/* Users Section */
#admin-section-users .ef-grid-2 {
  gap: 1.5rem;
  align-items: flex-start;
}

#admin-section-users .ef-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

#admin-section-users .ef-card > h3 {
  margin: 0 0 1.25rem 0;
  font-size: 1rem;
  color: #0f172a;
  font-weight: 600;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f1f5f9;
}

#admin-section-users .ef-form {
  background: transparent;
  border: none;
  padding: 0;
}

#admin-section-users .ef-list {
  gap: 0.75rem;
  max-height: 500px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

#admin-section-users .ef-list::-webkit-scrollbar {
  width: 6px;
}

#admin-section-users .ef-list::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}

#admin-section-users .ef-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

#admin-section-users .ef-list::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

#admin-section-users .ef-list-item {
  margin-bottom: 0;
  padding: 1rem 1.25rem;
  border-radius: 0.65rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  min-width: 0;
  overflow: hidden;
}

#admin-section-users .ef-list-item:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

#admin-section-users .ef-list-item-main {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

#admin-section-users .ef-list-item-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#admin-section-users .ef-list-item-meta {
  font-size: 0.8rem;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#admin-section-users .ef-list-item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  flex-wrap: nowrap;
}

#admin-section-users .ef-list-item-actions .ef-btn {
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  white-space: nowrap;
}

#admin-section-users .ef-list-item-actions .ef-chip {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 900px) {
  #admin-section-stats .ef-grid-2,
  #admin-section-users .ef-grid-2 {
    grid-template-columns: 1fr;
  }
  
  #admin-section-stats .ef-grid-2 > div {
    padding: 1.25rem;
  }
}

/* Registration Form Styles */
.ef-registration-panel {
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.ef-registration-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.ef-registration-header h2 {
  color: #0f172a;
  font-size: 1.5rem;
  margin: 0 0 0.25rem 0;
}

.ef-registration-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.ef-registration-progress::before {
  content: "";
  position: absolute;
  bottom: 0.5rem;
  left: 0;
  right: 0;
  height: 2px;
  background: #e2e8f0;
  z-index: 0;
}

.ef-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
  flex: 1;
}

.ef-progress-step-number {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #e2e8f0;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.ef-progress-step.completed .ef-progress-step-number {
  background: #0f4c81;
  color: #ffffff;
}

.ef-progress-step.active .ef-progress-step-number {
  background: #0f4c81;
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.1);
}

.ef-progress-step-label {
  font-size: 0.75rem;
  color: #64748b;
  text-align: center;
}

.ef-progress-step.active .ef-progress-step-label {
  color: #0f4c81;
  font-weight: 600;
}

.ef-registration-section {
  margin-bottom: 2rem;
}

.ef-registration-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.ef-registration-section-hint {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}

.ef-participant-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.ef-participant-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}

.ef-participant-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ef-participant-icon {
  font-size: 1.5rem;
}

.ef-participant-title {
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.ef-participant-ticket-info {
  font-size: 0.875rem;
  color: #64748b;
}

.ef-participant-remove {
  width: 2rem;
  height: 2rem;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.ef-participant-remove:hover {
  background: #e2e8f0;
}

.ef-participant-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.ef-participant-fields .ef-form-group:last-child {
  grid-column: 1 / -1;
}

.ef-date-input-wrapper {
  position: relative;
}

.ef-date-input-wrapper input[type="date"] {
  padding-right: 2.5rem;
}

.ef-add-participant-btn {
  width: 100%;
  border: 2px dashed #cbd5e1;
  background: transparent;
  color: #64748b;
  padding: 0.75rem;
  border-radius: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.ef-add-participant-btn:hover {
  border-color: #0f4c81;
  color: #0f4c81;
  background: rgba(15, 76, 129, 0.05);
}

.ef-add-participant-btn span {
  font-size: 1.25rem;
  font-weight: 600;
}

.ef-registration-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
  margin-top: 2rem;
}

.ef-participant-count {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

@media (max-width: 768px) {
  .ef-participant-fields {
    grid-template-columns: 1fr;
  }

  .ef-registration-progress {
    gap: 0.5rem;
  }

  .ef-progress-step-label {
    font-size: 0.65rem;
  }

  .ef-registration-footer {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
}


