/* Organizers page – scoped styles */

.org-page {
  min-height: 100vh;
  background: #fbf5ec;
  color: #2f241f;
}

.org-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px 56px;
}

.org-page-header h1 {
  font-size: 32px;
  margin-bottom: 8px;
}

.org-page-header p {
  font-size: 14px;
  color: #7b6c64;
}

/* Filters */
.org-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  margin-bottom: 26px;
}

.org-filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #7b6c64;
}

.org-filter-label {
  font-weight: 600;
  color: #2f241f;
}

.org-filter-select,
.org-filter-input {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #eee2d4;
  background: #fff;
  font-size: 14px;
  outline: none;
  min-width: 150px;
}

.org-filter-input {
  min-width: 260px;
}

.org-reset-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #eee2d4;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
}

/* Grid */
.org-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

/* Card */
.org-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  padding: 14px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.org-card-badge {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f5e3c3;
  color: #c08a3e;
  font-size: 11px;
  font-weight: 600;
}

.org-card-image {
  background: #f7f0e4;
  border-radius: 16px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.org-card-image span {
  font-size: 42px;
}

.org-card-title {
  font-weight: 600;
  margin-top: 2px;
}

.org-card-meta {
  font-size: 12px;
  color: #7b6c64;
}

.org-card-actions {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.org-small-link {
  font-size: 12px;
  color: #c08a3e;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

.org-btn-download {
  flex: 1;
  text-align: center;
  padding: 10px 12px;
  border-radius: 999px;
  border: none;
  background: #c08a3e;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.org-btn-download[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
  .org-page-header h1 {
    font-size: 26px;
  }
  .org-filter-input {
    min-width: 200px;
  }
}

/* ======================================
   ORGANIZERS PAGE — DARK MODE (BLUE + RED)
   Clean • Modern • Techy
====================================== */

body.dark .org-page {
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(59,130,246,0.18), transparent 45%),
    radial-gradient(700px 400px at 90% 10%, rgba(239,68,68,0.15), transparent 45%),
    #000;
  color: #e5e7eb;
}

/* Header */
body.dark .org-page-header h1 {
  color: #f9fafb;
  text-shadow:
    0 0 20px rgba(59,130,246,0.25),
    0 0 28px rgba(239,68,68,0.15);
}

body.dark .org-page-header p {
  color: #9ca3af;
}

/* =========================
   FILTERS — GLASS STYLE
========================= */
body.dark .org-filter-group {
  color: #9ca3af;
}

body.dark .org-filter-label {
  color: #e5e7eb;
}

body.dark .org-filter-select,
body.dark .org-filter-input,
body.dark .org-reset-btn {
  background: rgba(255,255,255,0.05);
  color: #e5e7eb;
  border-color: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
}

body.dark .org-filter-select:focus,
body.dark .org-filter-input:focus {
  border-color: #3b82f6;
  box-shadow:
    0 0 0 2px rgba(59,130,246,0.35),
    0 0 18px rgba(59,130,246,0.25);
}

body.dark .org-reset-btn:hover {
  background: rgba(59,130,246,0.15);
}

/* =========================
   CARD — NEON DEPTH
========================= */
body.dark .org-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(0,0,0,0.95));
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 18px 45px rgba(0,0,0,0.85);
  transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}

/* glow outline */
body.dark .org-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 22px;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(59,130,246,0.45),
    rgba(239,68,68,0.35),
    transparent
  );
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

body.dark .org-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(59,130,246,0.5);
  box-shadow:
    0 30px 70px rgba(0,0,0,0.95),
    0 0 40px rgba(59,130,246,0.25);
}

body.dark .org-card:hover::before {
  opacity: 1;
}

/* Badge */
body.dark .org-card-badge {
  background: rgba(59,130,246,0.18);
  color: #93c5fd;
  box-shadow: 0 0 14px rgba(59,130,246,0.5);
}

/* Image */
body.dark .org-card-image {
  background:
    radial-gradient(circle at center,
      rgba(59,130,246,0.25),
      rgba(0,0,0,0.95)
    );
}

/* =========================
   TEXT
========================= */
body.dark .org-card-title {
  color: #f9fafb;
  letter-spacing: 0.3px;
}

body.dark .org-card-meta {
  color: #9ca3af;
}

/* =========================
   ACTIONS
========================= */
body.dark .org-small-link {
  color: #93c5fd;
}

body.dark .org-btn-download {
  background: linear-gradient(
    135deg,
    #3b82f6,
    #6366f1,
    #ef4444
  );
  color: #fff;
  box-shadow:
    0 8px 26px rgba(59,130,246,0.55),
    inset 0 -2px 0 rgba(0,0,0,0.35);
  transition: transform .25s ease, box-shadow .25s ease;
}

body.dark .org-btn-download:hover {
  transform: translateY(-3px);
  box-shadow:
    0 14px 40px rgba(239,68,68,0.55),
    0 0 30px rgba(59,130,246,0.45);
}

body.dark .org-btn-download[disabled] {
  opacity: 0.4;
}
