/* ══════════════════════════════════════
   EVENT DETAILS — FULL STYLESHEET
══════════════════════════════════════ */

.ed-wrap {
  max-width: 960px;
  margin: 0 auto;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
}

.ed-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #5c6473;
  margin-bottom: 20px;
}
.ed-back-link {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #5c6473;
  text-decoration: none;
}
.ed-back-link:hover {
  color: #0a0f1e;
}
.ed-breadcrumb-sep {
  color: #cbd5e1;
}
.ed-breadcrumb-current {
  color: #0a0f1e;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
}

.ed-title {
  color: #0f172a;
  margin-bottom: 32px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 700;
  font-size: 30px;
  line-height: 36px;
  letter-spacing: 0%;
}

.ed-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}

.ed-section {
  margin-bottom: 32px;
}
.ed-section-label {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ed-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 18px;
}
.ed-meta-row--top {
  align-items: flex-start;
}

.ed-location-name {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: #334155;
}
.ed-location-addr {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #475569;
  margin-top: 2px;
}

.ed-cal-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 8px 14px;
  background: #fff;
  color: #0a0a0a;
  cursor: pointer;
}
.ed-cal-btn:hover {
  border-color: #1a56db;
  color: #1a56db;
}

.ed-booking-open {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #059669;
}
.ed-booking-closed {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #dc2626;
}
.ed-booking-link {
  display: block;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #00a3e0;
  margin-top: 8px;
}
.ed-booking-link:hover {
  text-decoration: underline;
}

.ed-about-title {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 16px;
  color: #0f172a;
}
.ed-about-text {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #475569;
}

.ed-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ed-tag {
  font-size: 12px;
  font-weight: 500;
  background: #f1f3f7;
  color: #5c6473;
  border-radius: 999px;
  padding: 4px 12px;
}

.ed-response-box {
  display: flex;
  gap: 12px;
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1);
  background: #ffffff;
  padding: 16px 16px 56px;
  border-radius: 12px;
}
.ed-response-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1a56db;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ed-response-input {
  flex: 1;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  padding: 12px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-size: 14px;
  color: #0a0f1e;
  resize: none;
  height: 80px;
  outline: none;
}
.ed-response-input:focus {
  border-color: #1a56db;
}
.ed-response-input::placeholder {
  color: #94a3b8;
}

/* ── Registration Card ── */
.ed-reg-card {
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1);
}
.ed-reg-title {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.45px;
  color: #0a0a0a;
  margin-bottom: 24px;
}
.ed-reg-ticket-name {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: #0a0a0a;
}
.ed-reg-price {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #475569;
}
.ed-reg-spots {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #475569;
  margin-top: 16px;
}
.ed-reg-closed {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  margin-top: 16px;
  color: #dc2626;
}
.ed-reg-btn {
  width: 100%;
  margin-top: 14px;
  padding: 10px;
  background: #1a56db;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.ed-reg-btn:hover {
  background: #1447b8;
}

/* ── Attendees Card ── */
.ed-attendees-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  padding: 28px 24px 52px 24px;
  font-size: 14px;
  font-weight: 500;
  color: #0a0a0a;
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1);
}

/* ── Not found ── */
.ed-not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  gap: 12px;
}
.ed-not-found h2 {
  font-size: 22px;
  font-weight: 600;
  color: #0a0f1e;
}
.ed-not-found p {
  font-size: 14px;
  color: #5c6473;
}
.ed-btn-back {
  margin-top: 8px;
  font-size: 14px;
  color: #1a56db;
  text-decoration: none;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .ed-grid {
    grid-template-columns: 1fr;
  }
  .ed-right {
    order: -1;
  }
  .ed-title {
    font-size: 22px;
  }
}

/* ══════════════════════════════════════
   BOOKING FORM SECTION WRAPPER
══════════════════════════════════════ */

#ed-booking-form-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 24px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
}

#ed-booking-form-section * {
  box-sizing: border-box;
}

#ed-booking-form-section .ed-about-title {
  margin-top: 0;
  font-size: 22px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.35px;
}

/* ══════════════════════════════════════
   PLUGIN — TOP SECTION (WHEN + BOOKINGS META)
══════════════════════════════════════ */

.em-item-header {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
}

.em-item-meta {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

/* WHEN block */
.em-event-when {
  display: none !important; /* Hide original block, we'll restyle it in place */
  background: #ffffff !important;
  border: 1px solid #e4e7ec !important;
  border-radius: 12px !important;
  padding: 20px !important;
  margin-bottom: 16px !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06) !important;
}

/* WHERE block */
.em-event-when {
  display: none !important; /* Hide original block, we'll restyle it in place */
  background: #ffffff !important;
  border: 1px solid #e4e7ec !important;
  border-radius: 12px !important;
  padding: 20px !important;
  margin-bottom: 16px !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06) !important;
}

.em-event-when h3 {
  display: none !important; /* Hide original block, we'll restyle it in place */
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  color: #5c6473 !important;
  margin: 0 0 12px 0 !important;
}

/* Date and time rows */
.em-event-date,
.em-item-meta-line {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 14px !important;
  color: #334155 !important;
  margin-bottom: 6px !important;
}

.em-event-content {
  display: none !important; /* Hide original block, we'll restyle it in place */
}

/* Add To Calendar button */
.em-event-add-to-calendar.em-tooltip-ddm.em-clickable.input,
button.em-event-add-to-calendar {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 14px !important;
  padding: 8px 14px !important;
  background: #ffffff !important;
  border: 1px solid #e4e7ec !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #0a0f1e !important;
  cursor: pointer !important;
}
button.em-event-add-to-calendar:hover {
  border-color: #1a56db !important;
  color: #1a56db !important;
}

/* Calendar dropdown container — let plugin control visibility */
.em-tooltip-ddm-content,
.em-event-add-to-calendar-content {
  border: 1px solid #e4e7ec !important;
  border-radius: 8px !important;
  padding: 8px 12px !important;
  background: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  min-width: 160px !important;
}

/* Calendar dropdown links — no display override */
.em-tooltip-ddm-content a,
.em-event-add-to-calendar-content a {
  font-size: 13px !important;
  color: #1a56db !important;
  padding: 5px 0 !important;
  text-decoration: none !important;
}
.em-tooltip-ddm-content a:hover,
.em-event-add-to-calendar-content a:hover {
  text-decoration: underline !important;
}

/* Bookings meta block */
.em-event-bookings-meta {
  display: none !important; /* Hide original block, we'll restyle it in place */
  background: #ffffff !important;
  border: 1px solid #e4e7ec !important;
  border-radius: 12px !important;
  padding: 20px !important;
  margin-bottom: 16px !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06) !important;
}

.em-event-bookings-meta h3 {
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  color: #5c6473 !important;
  margin: 0 0 12px 0 !important;
}

/* Price row */
.em-event-prices {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #0a0f1e !important;
  margin-bottom: 14px !important;
}

/* Book Now button */
.em-event-bookings-meta a.button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 9px 18px !important;
  background: #1a56db !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  cursor: pointer !important;
}
.em-event-bookings-meta a.button:hover {
  background: #1447b8 !important;
}

/* Hide duplicate outer Bookings h2 */
.em-event-bookings > h2 {
  display: none !important;
}

/* ══════════════════════════════════════
   PLUGIN — BOOKING FORM
══════════════════════════════════════ */

/* Section wrappers */
.em-booking-form-section-tickets,
.em-booking-form-section-details,
.em-booking-form-section-summary,
.em-booking-form-section-confirm {
  border: 1px solid #e4e7ec !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  margin-bottom: 16px !important;
  background: #ffffff !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06) !important;
}

/* Hide tickets section when it only contains hidden inputs */
.em-booking-form-section-tickets:has(.em-ticket-select[type="hidden"]):not(
    :has(select.em-ticket-select)
  ) {
  display: none !important;
}

/* Section headers */
.em-booking-form-section-tickets .em-booking-section-title,
.em-booking-form-section-details .em-booking-section-title,
.em-booking-form-section-summary .em-booking-section-title,
.em-booking-form-section-confirm .em-booking-section-title {
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  color: #5c6473 !important;
  background: #f8f9fb !important;
  border: none !important;
  border-bottom: 1px solid #e4e7ec !important;
  padding: 10px 16px !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

/* Section body padding */
.em-booking-form-section-tickets .em-booking-section,
.em-booking-form-section-details .em-booking-section,
.em-booking-form-section-summary .em-booking-section,
.em-booking-form-section-confirm .em-booking-section {
  padding: 20px !important;
}

/* Spaces label */
.em-tickets-spaces label,
label[for="booking_comment"] {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #475569 !important;
  display: block !important;
  margin-bottom: 6px !important;
}

/* Spaces select */
.em-ticket-select {
  width: 100% !important;
  padding: 9px 12px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  background: #ffffff !important;
  color: #0a0f1e !important;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
}
.em-ticket-select:focus {
  border-color: #1a56db !important;
  outline: none !important;
}

/* Comment textarea */
textarea[name="booking_comment"] {
  width: 100% !important;
  padding: 10px 12px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  background: #ffffff !important;
  color: #0a0f1e !important;
  resize: vertical !important;
  min-height: 80px !important;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  box-sizing: border-box !important;
}
textarea[name="booking_comment"]:focus {
  border-color: #1a56db !important;
  outline: none !important;
}

.em-booking-form-section-details .input-field-data_privacy_consent label {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  color: #475569 !important;
  line-height: 1.5 !important;
  cursor: pointer !important;
  margin: 0 !important;
  padding: 0 !important;
}

.em-booking-form-section-details
  .input-field-data_privacy_consent
  input[type="checkbox"] {
  flex-shrink: 0 !important;
  margin: 0 !important;
  width: 14px !important;
  height: 14px !important;
  vertical-align: middle !important;
  position: relative !important;
  top: -6px !important; /* nudge up to optically center */
}

.input-field-data_privacy_consent a {
  color: #1a56db !important;
}

/* Booking summary rows */
.em-bs-row {
  display: flex !important;
  justify-content: space-between !important;
  padding: 6px 0 !important;
  font-size: 14px !important;
  color: #0a0f1e !important;
}
.em-bs-cell-desc {
  color: #475569 !important;
}
.em-bs-row-total {
  border-top: 1px solid #e4e7ec !important;
  padding-top: 10px !important;
  margin-top: 6px !important;
  font-weight: 600 !important;
}

/* Submit button */
.em-form-submit,
input[type="submit"].em-form-submit,
input[type="submit"][class*="em-booking-submit"],
.em-booking-section .em-booking-buttons input[type="submit"] {
  width: 100% !important;
  padding: 11px 20px !important;
  background: #1a56db !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  margin-top: 16px !important;
  letter-spacing: 0.2px !important;
}
.em-form-submit:hover,
input[type="submit"].em-form-submit:hover,
.em-booking-section .em-booking-buttons input[type="submit"]:hover {
  background: #1447b8 !important;
}

/*05-25-2026 (start) - code added by anuj*/
.ed-reg-popup-btn {
  display: block;
  width: 100%;
  padding: 13px 20px;
  background: #1d4ed8;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 12px;
  text-align: center;
  transition: background 0.15s;
}

.ed-reg-popup-btn:hover {
  background: #1e40af;
}

#ed-booking-form-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #f1f5f9;
}

#ed-booking-form-section .ed-about-title {
  margin-bottom: 20px;
}

.ed-response-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.ed-response-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1d4ed8;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.ed-response-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ed-response-input {
  width: 100%;
  min-height: 80px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  box-sizing: border-box;
  background: #f8fafc;
}

.ed-response-input:focus {
  outline: none;
  border-color: #3b82f6;
  background: #fff;
}

.ed-response-input::placeholder {
  color: #94a3b8;
}

.ed-response-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ed-response-char {
  font-size: 12px;
  color: #94a3b8;
}

.ed-response-submit {
  padding: 8px 18px;
  background: #1d4ed8;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.15s,
    opacity 0.15s;
}

.ed-response-submit:hover {
  background: #1e40af;
}

.ed-response-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.ed-status-msg {
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 8px;
  display: none;
  margin-top: 4px;
}

.ed-status-msg.success {
  display: block;
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.ed-status-msg.error {
  display: block;
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.ed-comments-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ed-comment-item {
  display: flex;
  gap: 12px;
}

.ed-comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}

.ed-comment-bubble {
  flex: 1;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 10px;
  padding: 10px 14px;
}

.ed-comment-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 4px;
}

.ed-comment-author {
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}

.ed-comment-time {
  font-size: 12px;
  color: #94a3b8;
}

.ed-comment-text {
  font-size: 14px;
  color: #334155;
  line-height: 1.6;
  margin: 0;
  word-break: break-word;
}

.ed-comment-empty {
  font-size: 14px;
  color: #94a3b8;
  padding: 16px 0;
  margin: 0;
}

.em-item-meta-column:has(.em-event-where) {
  display: none;
}
/*05-25-2026 (end) - code added by anuj*/

#ed-booking-form-section {
  margin-bottom: 40px;
}

.em-event-location {
  display: none !important;
}

.em-item-header {
  display: none !important;
}

.em-event-booking-form a[href*="attending"] {
  display: none !important;
}