/* Edwards Summit Manager - Public Styles */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

.esm-summit-wrapper {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: #f9fafb;
  color: #111827;
  line-height: 1.6;
}

.esm-summit-wrapper * {
  box-sizing: border-box;
}

.esm-font-inter {
  font-family: 'Inter', sans-serif;
}

/* Announcement Banner */
.esm-announcement {
  background: linear-gradient(135deg, #2563eb, #1e3a5f);
  padding: 12px 16px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.esm-announcement.hidden {
  display: none;
}

.esm-pulse {
  color: #dbeafe;
  animation: esmPulseAnim 2s infinite;
}

@keyframes esmPulseAnim {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.esm-announcement p {
  font-size: 13px;
  color: #ffffff;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 0;
}

.esm-announcement button {
  position: absolute;
  right: 16px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 16px;
  transition: color 0.3s;
}

.esm-announcement button:hover {
  color: #ffffff;
}

/* Header */
.esm-header {
  background: #ffffff;
  padding: 48px 24px;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
  overflow: hidden;
}

.esm-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #1e3a5f);
}

.esm-logo-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #2563eb;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.esm-header h1 {
  font-size: clamp(36px, 7vw, 52px);
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.esm-subtitle {
  font-size: 18px;
  color: #6b7280;
  font-weight: 500;
  margin-bottom: 24px;
}

/* Countdown Timer */
.esm-countdown {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 32px 0 24px;
  flex-wrap: wrap;
}

.esm-countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
}

.esm-countdown-value {
  font-size: 36px;
  font-weight: 700;
  color: #2563eb;
  font-family: 'Inter', sans-serif;
  line-height: 1;
}

.esm-countdown-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7280;
  margin-top: 8px;
  font-weight: 600;
}

.esm-tagline {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
  flex-wrap: wrap;
}

.esm-tagline .esm-dot {
  width: 6px;
  height: 6px;
  background: #60a5fa;
  border-radius: 50%;
}

/* Featured Speakers Section */
.esm-featured-speakers {
  background: #ffffff;
  padding: 48px 24px;
  border-bottom: 1px solid #e5e7eb;
}

.esm-container {
  max-width: 900px;
  margin: 0 auto;
}

.esm-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.esm-section-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1e3a5f;
  white-space: nowrap;
  margin: 0;
}

.esm-line {
  flex: 1;
  height: 2px;
  background: #e5e7eb;
  border-radius: 1px;
}

.esm-speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.esm-speaker-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
}

.esm-speaker-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.esm-speaker-card.esm-expanded {
  border-color: #60a5fa;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
}

.esm-speaker-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
}

.esm-speaker-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #dbeafe;
}

.esm-speaker-info {
  flex: 1;
}

.esm-speaker-info h3 {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 4px 0;
}

.esm-speaker-info .esm-title {
  font-size: 13px;
  color: #2563eb;
  font-weight: 500;
  margin: 0;
}

.esm-speaker-info .esm-role {
  font-size: 12px;
  color: #6b7280;
  margin: 2px 0 0 0;
}

.esm-speaker-toggle {
  color: #9ca3af;
  transition: transform 0.3s;
  font-size: 12px;
}

.esm-speaker-card.esm-expanded .esm-speaker-toggle {
  transform: rotate(180deg);
}

.esm-speaker-details {
  display: none;
  padding: 0 16px 16px;
  border-top: 1px solid #f3f4f6;
  padding-top: 16px;
  margin-top: 0;
  animation: esmFadeIn 0.3s ease-out;
}

.esm-speaker-card.esm-expanded .esm-speaker-details {
  display: block;
}

.esm-speaker-details p {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 12px;
  line-height: 1.6;
}

.esm-speaker-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.esm-topic-tag {
  font-size: 12px;
  font-weight: 500;
  background: #eff6ff;
  color: #2563eb;
  padding: 6px 12px;
  border-radius: 20px;
}

/* Navigation */
.esm-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.esm-nav-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.esm-day-btn {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
  color: #6b7280;
}

.esm-day-btn:hover {
  color: #2563eb;
  background: #eff6ff;
}

.esm-day-btn.esm-active {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.esm-day-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
  margin-bottom: 2px;
  font-weight: 500;
}

/* Main Content */
.esm-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 16px;
}

/* Day Header */
.esm-day-header {
  margin-bottom: 32px;
  animation: esmFadeIn 0.4s ease-out;
}

@keyframes esmFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.esm-day-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 8px;
}

.esm-day-meta {
  font-size: 14px;
  color: #4b5563;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
}

.esm-location-icon {
  color: #3b82f6;
}

.esm-day-theme {
  margin-top: 12px;
  padding: 12px 16px;
  background: #eff6ff;
  border-left: 3px solid #3b82f6;
  border-radius: 0 8px 8px 0;
  color: #1e3a5f;
  font-size: 14px;
  font-weight: 500;
}

/* Sessions */
.esm-sessions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 48px;
}

.esm-session {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid;
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  gap: 16px;
  transition: all 0.2s;
  animation: esmFadeIn 0.4s ease-out;
}

.esm-session:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.esm-session-keynote {
  border-left-color: #3b82f6;
  background: linear-gradient(to right, #eff6ff, #ffffff);
}

.esm-session-main {
  border-left-color: #9ca3af;
}

.esm-session-panel {
  border-left-color: #10b981;
  background: linear-gradient(to right, #ecfdf5, #ffffff);
}

.esm-session-social {
  border-left-color: #8b5cf6;
  background: linear-gradient(to right, #f5f3ff, #ffffff);
}

.esm-session-break {
  border-left-color: #d1d5db;
  background: #f9fafb;
}

.esm-session-time {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  width: 85px;
  flex-shrink: 0;
  padding-top: 2px;
}

.esm-session-content {
  flex: 1;
}

.esm-session-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}

.esm-session-speaker {
  font-size: 13px;
  color: #2563eb;
  font-weight: 600;
  margin-bottom: 6px;
}

.esm-session-desc {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.5;
  margin: 0;
}

.esm-session-duration {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #9ca3af;
  flex-shrink: 0;
  background: #f3f4f6;
  padding: 4px 10px;
  border-radius: 20px;
  height: fit-content;
}

.esm-live-qa-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  background: #dcfce7;
  color: #166534;
  padding: 6px 12px;
  border-radius: 20px;
}

.esm-live-qa-badge .esm-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: esmPulseAnim 1.5s infinite;
}

/* Quick Info Cards */
.esm-quick-info {
  display: grid;
  gap: 16px;
  margin: 32px 0;
}

@media (max-width: 768px) {
  .esm-quick-info {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 500px) {
  .esm-quick-info {
    grid-template-columns: 1fr !important;
  }
}

.esm-info-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.esm-info-card label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7280;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.esm-info-card .esm-value {
  font-size: 28px;
  font-weight: 700;
  color: #2563eb;
}

.esm-info-card .esm-value.esm-text {
  font-size: 18px;
  color: #374151;
}

/* Day 1 Intent Box */
.esm-intent-box {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 2px solid #93c5fd;
  border-radius: 12px;
  padding: 24px;
  margin: 32px 0;
}

.esm-intent-box h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 12px;
}

.esm-intent-content {
  font-size: 14px;
  color: #374151;
  line-height: 1.8;
}

/* Q&A Section */
.esm-qa-section {
  background: #ffffff;
  border: 2px solid #d1fae5;
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 48px;
}

.esm-qa-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.esm-qa-header .esm-icon {
  width: 40px;
  height: 40px;
  background: #dcfce7;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.esm-qa-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.esm-qa-desc {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 20px;
  margin-left: 52px;
}

.esm-qa-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.esm-qa-form input,
.esm-qa-form textarea {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px 16px;
  color: #111827;
  transition: border-color 0.2s, background 0.2s;
}

.esm-qa-form input::placeholder,
.esm-qa-form textarea::placeholder {
  color: #9ca3af;
}

.esm-qa-form input:focus,
.esm-qa-form textarea:focus {
  outline: none;
  border-color: #60a5fa;
  background: #ffffff;
}

.esm-qa-form textarea {
  resize: none;
  min-height: 100px;
}

.esm-qa-form button {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  background: #16a34a;
  color: #ffffff;
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-start;
}

.esm-qa-form button:hover {
  background: #15803d;
}

.esm-qa-form button:disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
}

.esm-qa-success {
  text-align: center;
  padding: 40px;
  animation: esmFadeIn 0.4s ease-out;
}

.esm-qa-success.esm-hidden {
  display: none;
}

.esm-qa-success .esm-check {
  width: 60px;
  height: 60px;
  background: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
}

.esm-qa-success h3 {
  color: #166534;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.esm-qa-success p {
  font-size: 14px;
  color: #6b7280;
  margin-top: 4px;
}

/* Footer */
.esm-footer {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  padding: 32px;
  text-align: center;
}

.esm-footer p {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
  margin: 0 0 4px 0;
}

.esm-footer p:last-child {
  color: #9ca3af;
  margin-top: 4px;
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .esm-session {
    flex-direction: column;
    gap: 8px;
  }

  .esm-session-time {
    width: auto;
  }

  .esm-session-duration {
    align-self: flex-start;
  }

  .esm-tagline {
    gap: 16px;
  }

  .esm-countdown {
    gap: 16px;
  }
}

/* Print Styles */
@media print {
  .esm-announcement,
  .esm-qa-section,
  .esm-countdown {
    display: none !important;
  }

  .esm-session {
    page-break-inside: avoid;
  }

  .esm-day-content {
    display: block !important;
  }

  .esm-nav {
    display: none;
  }

  body {
    background: white !important;
  }
}
