/**
 * Moriah Events Styles
 * Styles for embedded events and calendar from Moriah
 */

/* Container */
.moriah-events-container {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  overflow: hidden;
}

/* Loading state */
.moriah-events-loading {
  text-align: center;
  padding: 40px 20px;
  color: #6b7280;
}

/* Error state */
.moriah-events-error,
.moriah-events-error-message {
  padding: 16px;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #dc2626;
  text-align: center;
}

/* Event List */
.moriah-events-list-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 16px;
}

.moriah-event-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: box-shadow 0.15s ease;
}

.moriah-event-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Event Date Badge */
.moriah-event-date-badge {
  flex-shrink: 0;
  width: 60px;
  text-align: center;
  padding: 8px;
  background-color: #eff6ff;
  border-radius: 8px;
}

.moriah-event-date-badge .month {
  font-size: 12px;
  font-weight: 600;
  color: #3b82f6;
  text-transform: uppercase;
}

.moriah-event-date-badge .day {
  font-size: 24px;
  font-weight: 700;
  color: #1e40af;
  line-height: 1.2;
}

.moriah-event-date-badge .weekday {
  font-size: 11px;
  color: #6b7280;
}

/* Event Details */
.moriah-event-details {
  flex: 1;
  min-width: 0;
}

.moriah-event-title {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 4px;
}

.moriah-event-title a {
  color: inherit;
  text-decoration: none;
}

.moriah-event-title a:hover {
  color: #3b82f6;
}

.moriah-event-time {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 8px;
}

.moriah-event-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 8px;
}

.moriah-event-location svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.moriah-event-description {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.moriah-event-description p,
.moriah-event-description h1,
.moriah-event-description h2,
.moriah-event-description h3,
.moriah-event-description h4,
.moriah-event-description h5,
.moriah-event-description h6,
.moriah-event-description ul,
.moriah-event-description ol,
.moriah-event-description blockquote,
.moriah-event-description div {
  margin: 0;
  padding: 0;
}

/* Event Meta */
.moriah-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.moriah-event-type {
  display: inline-block;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 500;
  background-color: #f3f4f6;
  color: #374151;
  border-radius: 4px;
  text-transform: capitalize;
}

.moriah-event-type.service {
  background-color: #dbeafe;
  color: #1d4ed8;
}

.moriah-event-type.meeting {
  background-color: #fef3c7;
  color: #b45309;
}

.moriah-event-type.social {
  background-color: #fce7f3;
  color: #be185d;
}

.moriah-event-type.outreach {
  background-color: #d1fae5;
  color: #047857;
}

.moriah-event-type.study,
.moriah-event-type.bible_study {
  background-color: #ede9fe;
  color: #6d28d9;
}

.moriah-event-type.prayer_meeting {
  background-color: #dbeafe;
  color: #1e40af;
}

.moriah-event-type.youth_event {
  background-color: #fce7f3;
  color: #9d174d;
}

.moriah-event-type.womens_ministry {
  background-color: #fdf2f8;
  color: #db2777;
}

.moriah-event-type.mens_ministry {
  background-color: #ecfdf5;
  color: #059669;
}

.moriah-event-type.fellowship {
  background-color: #fff7ed;
  color: #ea580c;
}

.moriah-event-type.conference {
  background-color: #f0fdf4;
  color: #15803d;
}

.moriah-event-type.workshop {
  background-color: #fef3c7;
  color: #d97706;
}

.moriah-event-type.fundraiser {
  background-color: #fef2f2;
  color: #dc2626;
}

.moriah-event-type.volunteer {
  background-color: #ecfeff;
  color: #0891b2;
}

.moriah-event-type.small_group {
  background-color: #faf5ff;
  color: #7c3aed;
}

.moriah-event-rsvp-count {
  font-size: 13px;
  color: #6b7280;
}

/* RSVP Button */
.moriah-event-rsvp-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #3b82f6;
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.moriah-event-rsvp-btn:hover {
  background-color: #dbeafe;
}

/* Event Cover Image */
.moriah-event-image {
  flex-shrink: 0;
  width: 180px;
  object-fit: cover;
  border-radius: 0 12px 12px 0;
  align-self: stretch;
  margin: -16px -16px -16px 0;
}

/* Cancelled Event */
.moriah-event-card.cancelled {
  opacity: 0.6;
}

.moriah-event-cancelled-badge {
  display: inline-block;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 600;
  color: #dc2626;
  background-color: #fef2f2;
  border-radius: 4px;
  text-transform: uppercase;
}

/* Empty State */
.moriah-events-empty {
  text-align: center;
  padding: 40px 20px;
  color: #6b7280;
}

.moriah-events-empty-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: #d1d5db;
}

/* Calendar View */
.moriah-calendar-content {
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.moriah-calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background-color: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.moriah-calendar-title {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}

.moriah-calendar-nav {
  display: flex;
  gap: 8px;
}

.moriah-calendar-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.moriah-calendar-nav-btn:hover {
  background-color: #f3f4f6;
}

.moriah-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.moriah-calendar-weekday {
  padding: 12px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  text-align: center;
  text-transform: uppercase;
  background-color: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.moriah-calendar-day {
  min-height: 100px;
  padding: 8px;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.moriah-calendar-day:nth-child(7n) {
  border-right: none;
}

.moriah-calendar-day-number {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 4px;
}

.moriah-calendar-day.other-month .moriah-calendar-day-number {
  color: #d1d5db;
}

.moriah-calendar-day.today .moriah-calendar-day-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: #3b82f6;
  color: #fff;
  border-radius: 50%;
}

.moriah-calendar-day-events {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.moriah-calendar-event {
  padding: 2px 4px;
  font-size: 11px;
  color: #fff;
  background-color: #3b82f6;
  border-radius: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.moriah-calendar-event:hover {
  background-color: #2563eb;
}

.moriah-calendar-event.service {
  background-color: #3b82f6;
}

.moriah-calendar-event.meeting {
  background-color: #f59e0b;
}

.moriah-calendar-event.social {
  background-color: #ec4899;
}

.moriah-calendar-event.outreach {
  background-color: #10b981;
}

.moriah-calendar-event.study,
.moriah-calendar-event.bible_study {
  background-color: #8b5cf6;
}

.moriah-calendar-event.prayer_meeting {
  background-color: #1e40af;
}

.moriah-calendar-event.youth_event {
  background-color: #db2777;
}

.moriah-calendar-event.womens_ministry {
  background-color: #ec4899;
}

.moriah-calendar-event.mens_ministry {
  background-color: #059669;
}

.moriah-calendar-event.fellowship {
  background-color: #ea580c;
}

.moriah-calendar-event.conference {
  background-color: #15803d;
}

.moriah-calendar-event.workshop {
  background-color: #d97706;
}

.moriah-calendar-event.fundraiser {
  background-color: #dc2626;
}

.moriah-calendar-event.volunteer {
  background-color: #0891b2;
}

.moriah-calendar-event.small_group {
  background-color: #7c3aed;
}

.moriah-calendar-more {
  font-size: 11px;
  color: #6b7280;
  cursor: pointer;
}

.moriah-calendar-more:hover {
  color: #3b82f6;
}

/* Event Detail Modal */
.moriah-event-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
}

.moriah-event-modal-content {
  background-color: #fff;
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.moriah-event-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.moriah-event-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  color: #6b7280;
}

.moriah-event-modal-close:hover {
  color: #111827;
}

.moriah-event-modal-body {
  padding: 20px;
}

.moriah-event-modal-body p {
  margin: 0 0 12px;
}

/* Modal: Cancelled Notice */
.moriah-event-cancelled-notice {
  padding: 12px 16px;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #dc2626;
  margin-bottom: 16px;
}

.moriah-event-cancelled-notice strong {
  display: block;
  margin-bottom: 4px;
}

.moriah-event-cancelled-notice p {
  margin: 8px 0 0;
  font-size: 14px;
}

/* Modal: Recurring Badge */
.moriah-event-recurring-badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 500;
  background-color: #dbeafe;
  color: #1d4ed8;
  border-radius: 12px;
  margin-left: 8px;
}

/* Modal: Deadline Passed */
.moriah-event-deadline-passed {
  color: #dc2626;
  font-size: 12px;
  font-weight: 500;
}

/* Modal: Tags */
.moriah-event-tag {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  background-color: #f3f4f6;
  color: #374151;
  border-radius: 12px;
  margin-right: 4px;
  margin-bottom: 4px;
}

/* Modal: Contact Info */
.moriah-event-contact {
  padding: 12px 16px;
  background-color: #f9fafb;
  border-radius: 8px;
  margin-bottom: 16px;
}

.moriah-event-contact p {
  margin: 4px 0;
}

.moriah-event-contact a {
  color: #3b82f6;
  text-decoration: none;
}

.moriah-event-contact a:hover {
  text-decoration: underline;
}

/* Modal: RSVP Info */
.moriah-event-rsvp-info {
  padding: 12px 16px;
  background-color: #eff6ff;
  border-radius: 8px;
}

.moriah-event-rsvp-info p {
  margin: 0 0 4px;
}

.moriah-event-rsvp-info p:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .moriah-event-card {
    flex-direction: column;
  }

  .moriah-event-date-badge {
    width: auto;
    display: flex;
    gap: 8px;
    align-items: center;
  }

  .moriah-event-date-badge .day {
    font-size: 18px;
  }

  .moriah-event-image {
    width: 100%;
    height: 160px;
  }

  .moriah-calendar-day {
    min-height: 60px;
    padding: 4px;
  }

  .moriah-calendar-event {
    font-size: 10px;
  }
}

/* =====================================================
   RSVP Modal Styles
   ===================================================== */

.moriah-rsvp-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  box-sizing: border-box;
}

.moriah-rsvp-modal-content {
  background-color: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.moriah-rsvp-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
}

.moriah-rsvp-modal-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #111827;
}

.moriah-rsvp-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: #6b7280;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.2s ease;
}

.moriah-rsvp-modal-close:hover {
  color: #111827;
}

.moriah-rsvp-form {
  padding: 24px;
}

.moriah-rsvp-field {
  margin-bottom: 20px;
}

.moriah-rsvp-field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 6px;
}

.moriah-rsvp-field input[type="text"],
.moriah-rsvp-field input[type="email"],
.moriah-rsvp-field input[type="number"],
.moriah-rsvp-field select,
.moriah-rsvp-field textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 15px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background-color: #fff;
  color: #111827;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.moriah-rsvp-field input:focus,
.moriah-rsvp-field select:focus,
.moriah-rsvp-field textarea:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.moriah-rsvp-field input[type="number"] {
  max-width: 120px;
}

.moriah-rsvp-field textarea {
  resize: vertical;
  min-height: 80px;
}

.moriah-rsvp-error {
  padding: 12px 16px;
  background-color: #fef2f2;
  border: 1px solid #fee2e2;
  border-radius: 8px;
  color: #dc2626;
  font-size: 14px;
  margin-bottom: 16px;
}

.moriah-rsvp-success {
  padding: 16px;
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  color: #16a34a;
  font-size: 15px;
  text-align: center;
}

.moriah-rsvp-success p {
  margin: 0;
}

.moriah-rsvp-actions {
  margin-top: 24px;
}

.moriah-rsvp-submit-btn {
  width: 100%;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background-color: #6366f1;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.moriah-rsvp-submit-btn:hover {
  background-color: #4f46e5;
}

.moriah-rsvp-submit-btn:disabled {
  background-color: #9ca3af;
  cursor: not-allowed;
}

/* RSVP Modal Responsive */
@media (max-width: 480px) {
  .moriah-rsvp-modal {
    padding: 10px;
  }

  .moriah-rsvp-modal-content {
    max-height: 95vh;
  }

  .moriah-rsvp-modal-header {
    padding: 16px 20px;
  }

  .moriah-rsvp-form {
    padding: 20px;
  }
}

/* =====================================================
   Week View
   ===================================================== */

.moriah-week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  border-top: 1px solid #e5e7eb;
}

.moriah-week-day {
  min-height: 120px;
  padding: 10px 8px;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.moriah-week-day:last-child {
  border-right: none;
}

.moriah-week-day.today {
  background-color: #eff6ff;
}

.moriah-week-day-header {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
}

.moriah-week-day-name {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
}

.moriah-week-day-number {
  font-size: 18px;
  font-weight: 700;
  color: #374151;
}

.moriah-week-day.today .moriah-week-day-number {
  color: #3b82f6;
}

.moriah-week-day-events {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.moriah-week-event {
  padding: 4px 6px;
  border-radius: 4px;
  background-color: #eff6ff;
  border-left: 3px solid #3b82f6;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.moriah-week-event:hover {
  background-color: #dbeafe;
}

.moriah-week-event-time {
  font-size: 11px;
  color: #6b7280;
}

.moriah-week-event-title {
  font-size: 12px;
  font-weight: 500;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Week view event type accent colors */
.moriah-week-event.service { border-left-color: #3b82f6; }
.moriah-week-event.bible_study { border-left-color: #8b5cf6; }
.moriah-week-event.prayer_meeting { border-left-color: #1e40af; }
.moriah-week-event.youth_event { border-left-color: #db2777; }
.moriah-week-event.outreach { border-left-color: #10b981; }
.moriah-week-event.fellowship { border-left-color: #ea580c; }
.moriah-week-event.conference { border-left-color: #15803d; }
.moriah-week-event.workshop { border-left-color: #d97706; }
.moriah-week-event.fundraiser { border-left-color: #dc2626; }
.moriah-week-event.volunteer { border-left-color: #0891b2; }
.moriah-week-event.small_group { border-left-color: #7c3aed; }
.moriah-week-event.womens_ministry { border-left-color: #ec4899; }
.moriah-week-event.mens_ministry { border-left-color: #059669; }

/* Calendar list view */
.moriah-calendar-list-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
}

/* Week view responsive */
@media (max-width: 768px) {
  .moriah-week-grid {
    grid-template-columns: 1fr;
  }

  .moriah-week-day {
    min-height: auto;
    padding: 12px;
    border-right: none;
  }

  .moriah-week-day-header {
    margin-bottom: 6px;
  }

  .moriah-week-day-number {
    font-size: 16px;
  }
}

/* =====================================================
   Theme: Minimal — Events
   ===================================================== */

.moriah-events-container[data-theme="minimal"] .moriah-event-card {
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
}

.moriah-events-container[data-theme="minimal"] .moriah-calendar-content {
  border-radius: 0;
}

.moriah-events-container[data-theme="minimal"] .moriah-calendar-header {
  background-color: transparent;
}

.moriah-events-container[data-theme="minimal"] .moriah-calendar-nav-btn {
  border-radius: 0;
}

.moriah-events-container[data-theme="minimal"] .moriah-week-event {
  border-radius: 0;
}

/* =====================================================
   Theme: Forest (Dark) — Events
   ===================================================== */

.moriah-events-container[data-theme="forest"] .moriah-event-card {
  background-color: #2d4a2d;
  border-color: #3d5a3d;
  color: #e5e7eb;
}

.moriah-events-container[data-theme="forest"] .moriah-event-title {
  color: #fff;
}

.moriah-events-container[data-theme="forest"] .moriah-event-time,
.moriah-events-container[data-theme="forest"] .moriah-event-location,
.moriah-events-container[data-theme="forest"] .moriah-event-description {
  color: #9ca3af;
}

.moriah-events-container[data-theme="forest"] .moriah-event-date-badge {
  background-color: #1a2e1a;
}

.moriah-events-container[data-theme="forest"] .moriah-event-date-badge .month {
  color: #22c55e;
}

.moriah-events-container[data-theme="forest"] .moriah-event-date-badge .day {
  color: #4ade80;
}

.moriah-events-container[data-theme="forest"] .moriah-event-date-badge .weekday {
  color: #9ca3af;
}

.moriah-events-container[data-theme="forest"] .moriah-calendar-content {
  background-color: #1a2e1a;
  border-color: #3d5a3d;
}

.moriah-events-container[data-theme="forest"] .moriah-calendar-header {
  background-color: #2d4a2d;
  border-bottom-color: #3d5a3d;
}

.moriah-events-container[data-theme="forest"] .moriah-calendar-title {
  color: #fff;
}

.moriah-events-container[data-theme="forest"] .moriah-calendar-nav-btn {
  background-color: #1a2e1a;
  border-color: #3d5a3d;
  color: #e5e7eb;
}

.moriah-events-container[data-theme="forest"] .moriah-calendar-nav-btn:hover {
  background-color: #3d5a3d;
}

.moriah-events-container[data-theme="forest"] .moriah-calendar-weekday {
  background-color: #2d4a2d;
  border-bottom-color: #3d5a3d;
  color: #9ca3af;
}

.moriah-events-container[data-theme="forest"] .moriah-calendar-day {
  border-color: #3d5a3d;
}

.moriah-events-container[data-theme="forest"] .moriah-calendar-day-number {
  color: #d1d5db;
}

.moriah-events-container[data-theme="forest"] .moriah-calendar-day.other-month .moriah-calendar-day-number {
  color: #4b5563;
}

.moriah-events-container[data-theme="forest"] .moriah-calendar-day.today {
  background-color: rgba(34, 197, 94, 0.1);
}

.moriah-events-container[data-theme="forest"] .moriah-calendar-day.today .moriah-calendar-day-number {
  background-color: #22c55e;
  color: #fff;
}

.moriah-events-container[data-theme="forest"] .moriah-calendar-more {
  color: #9ca3af;
}

.moriah-events-container[data-theme="forest"] .moriah-calendar-more:hover {
  color: #22c55e;
}

.moriah-events-container[data-theme="forest"] .moriah-events-empty {
  color: #9ca3af;
}

/* Forest: Week view */
.moriah-events-container[data-theme="forest"] .moriah-week-grid {
  border-top-color: #3d5a3d;
}

.moriah-events-container[data-theme="forest"] .moriah-week-day {
  border-color: #3d5a3d;
}

.moriah-events-container[data-theme="forest"] .moriah-week-day.today {
  background-color: rgba(34, 197, 94, 0.1);
}

.moriah-events-container[data-theme="forest"] .moriah-week-day-name {
  color: #9ca3af;
}

.moriah-events-container[data-theme="forest"] .moriah-week-day-number {
  color: #d1d5db;
}

.moriah-events-container[data-theme="forest"] .moriah-week-day.today .moriah-week-day-number {
  color: #22c55e;
}

.moriah-events-container[data-theme="forest"] .moriah-week-event {
  background-color: rgba(34, 197, 94, 0.15);
  border-left-color: #22c55e;
}

.moriah-events-container[data-theme="forest"] .moriah-week-event:hover {
  background-color: rgba(34, 197, 94, 0.25);
}

.moriah-events-container[data-theme="forest"] .moriah-week-event-time {
  color: #9ca3af;
}

.moriah-events-container[data-theme="forest"] .moriah-week-event-title {
  color: #e5e7eb;
}

/* Forest: RSVP button */
.moriah-events-container[data-theme="forest"] .moriah-event-rsvp-btn {
  color: #22c55e;
  background-color: rgba(34, 197, 94, 0.15);
  border-color: #3d5a3d;
}

.moriah-events-container[data-theme="forest"] .moriah-event-rsvp-btn:hover {
  background-color: rgba(34, 197, 94, 0.25);
}

.moriah-events-container[data-theme="forest"] .moriah-event-rsvp-count {
  color: #9ca3af;
}

/* =====================================================
   Theme: Slate (Dark) — Events
   ===================================================== */

.moriah-events-container[data-theme="slate"] .moriah-event-card {
  background-color: #334155;
  border-color: #475569;
  color: #e5e7eb;
}

.moriah-events-container[data-theme="slate"] .moriah-event-title {
  color: #fff;
}

.moriah-events-container[data-theme="slate"] .moriah-event-time,
.moriah-events-container[data-theme="slate"] .moriah-event-location,
.moriah-events-container[data-theme="slate"] .moriah-event-description {
  color: #9ca3af;
}

.moriah-events-container[data-theme="slate"] .moriah-event-date-badge {
  background-color: #1e293b;
}

.moriah-events-container[data-theme="slate"] .moriah-event-date-badge .month {
  color: #6366f1;
}

.moriah-events-container[data-theme="slate"] .moriah-event-date-badge .day {
  color: #818cf8;
}

.moriah-events-container[data-theme="slate"] .moriah-event-date-badge .weekday {
  color: #9ca3af;
}

.moriah-events-container[data-theme="slate"] .moriah-calendar-content {
  background-color: #1e293b;
  border-color: #475569;
}

.moriah-events-container[data-theme="slate"] .moriah-calendar-header {
  background-color: #334155;
  border-bottom-color: #475569;
}

.moriah-events-container[data-theme="slate"] .moriah-calendar-title {
  color: #fff;
}

.moriah-events-container[data-theme="slate"] .moriah-calendar-nav-btn {
  background-color: #1e293b;
  border-color: #475569;
  color: #e5e7eb;
}

.moriah-events-container[data-theme="slate"] .moriah-calendar-nav-btn:hover {
  background-color: #475569;
}

.moriah-events-container[data-theme="slate"] .moriah-calendar-weekday {
  background-color: #334155;
  border-bottom-color: #475569;
  color: #9ca3af;
}

.moriah-events-container[data-theme="slate"] .moriah-calendar-day {
  border-color: #475569;
}

.moriah-events-container[data-theme="slate"] .moriah-calendar-day-number {
  color: #d1d5db;
}

.moriah-events-container[data-theme="slate"] .moriah-calendar-day.other-month .moriah-calendar-day-number {
  color: #4b5563;
}

.moriah-events-container[data-theme="slate"] .moriah-calendar-day.today {
  background-color: rgba(99, 102, 241, 0.1);
}

.moriah-events-container[data-theme="slate"] .moriah-calendar-day.today .moriah-calendar-day-number {
  background-color: #6366f1;
  color: #fff;
}

.moriah-events-container[data-theme="slate"] .moriah-calendar-more {
  color: #9ca3af;
}

.moriah-events-container[data-theme="slate"] .moriah-calendar-more:hover {
  color: #6366f1;
}

.moriah-events-container[data-theme="slate"] .moriah-events-empty {
  color: #9ca3af;
}

/* Slate: Week view */
.moriah-events-container[data-theme="slate"] .moriah-week-grid {
  border-top-color: #475569;
}

.moriah-events-container[data-theme="slate"] .moriah-week-day {
  border-color: #475569;
}

.moriah-events-container[data-theme="slate"] .moriah-week-day.today {
  background-color: rgba(99, 102, 241, 0.1);
}

.moriah-events-container[data-theme="slate"] .moriah-week-day-name {
  color: #9ca3af;
}

.moriah-events-container[data-theme="slate"] .moriah-week-day-number {
  color: #d1d5db;
}

.moriah-events-container[data-theme="slate"] .moriah-week-day.today .moriah-week-day-number {
  color: #6366f1;
}

.moriah-events-container[data-theme="slate"] .moriah-week-event {
  background-color: rgba(99, 102, 241, 0.15);
  border-left-color: #6366f1;
}

.moriah-events-container[data-theme="slate"] .moriah-week-event:hover {
  background-color: rgba(99, 102, 241, 0.25);
}

.moriah-events-container[data-theme="slate"] .moriah-week-event-time {
  color: #9ca3af;
}

.moriah-events-container[data-theme="slate"] .moriah-week-event-title {
  color: #e5e7eb;
}

/* Slate: RSVP button */
.moriah-events-container[data-theme="slate"] .moriah-event-rsvp-btn {
  color: #6366f1;
  background-color: rgba(99, 102, 241, 0.15);
  border-color: #475569;
}

.moriah-events-container[data-theme="slate"] .moriah-event-rsvp-btn:hover {
  background-color: rgba(99, 102, 241, 0.25);
}

.moriah-events-container[data-theme="slate"] .moriah-event-rsvp-count {
  color: #9ca3af;
}
