/**
 * Event Program Styles für Joomla 5
 * File: /templates/[your-template]/css/event-program.css
 */

/* Base Container */
.event-program-main {
  font-family: 'Roboto Condensed', sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  color: var(--schrift)
}

.event-program-wrapper {
  font-family: 'Roboto Condensed', sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  color: var(--schrift)
}

/* Day Tabs */
.event-program-tabs {
  display: flex;
  background-color: #fff;
  border-radius: 0.75rem;
  padding: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  overflow: hidden;
}

.event-program-tab {
  flex: 1;
  padding: 1rem 1.5rem;
  text-align: center;
  font-weight: 400;
  color: #12114a;
  background: none;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.event-program-tab:hover {
  color: #ff007a;
  transform: translateY(-1px);
}

.event-program-tab.active {
  color: #fff;
  background: linear-gradient(135deg, #ff007a 0%, #12114a 100%);
  box-shadow: 0 4px 8px rgba(255, 0, 122, 0.3);
}

/* Loading Indicator */
.event-program-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  text-align: center;
}

.event-program-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #ff007a;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spinner 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

/* Error Display */
.event-program-error {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  text-align: center;
}

.event-program-error-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #f87171;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.event-program-error h3 {
  font-size: 1.2rem;
  font-weight: 400;
  color: #12114a;
  margin-bottom: 0.5rem;
  font-family: 'Bebas Neue', sans-serif;
}

.event-program-error p {
  color: #666;
  max-width: 400px;
  margin-bottom: 1rem;
}

.event-program-retry {
  background-color: #ff007a;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.event-program-retry:hover {
  background-color: #e6006d;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(255, 0, 122, 0.3);
}

/* Time Slot Groups */
.event-program-time-group {
  margin-bottom: 3rem;
}

.event-program-time-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.event-program-time-header h3 {
  font-size: 1.8rem;
  font-weight: 400;
  color: #12114a;
  margin: 0 1rem;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.05em;
}

.event-program-icon {
  color: #ff007a;
  flex-shrink: 0;
}

.event-program-time-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, #ff007a 0%, rgba(255, 0, 122, 0.3) 50%, transparent 100%);
}

.event-program-sessions-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .event-program-sessions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .event-program-sessions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Session Cards */
.event-program-card {
  background-color: #fff;
  border-radius: 0rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #f3f4f6;
  overflow: hidden;
  position: relative;
}

.event-program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff007a, #12114a);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.event-program-card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.event-program-card:hover::before {
  opacity: 1;
}

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

.event-program-card-header {
/* display: flex;
  flex-direction: column;
  gap: 0.75rem; */
}

@media (min-width: 640px) {
  .event-program-card-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.event-program-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #12114a;
  line-height: 1.3;
  margin: 10px 0 0 0;
 padding-top: 8px;
 font-family: "Roboto Condensed", sans-serif;
}

.event-program-focus-theme {

  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 400;
  white-space: nowrap;
  background-color: rgba(255, 0, 122, 0.1);
  color: #ff007a;
  border: 1px solid rgba(255, 0, 122, 0.2);
}

.event-program-icon-small {
  margin-right: 0.3rem;
  flex-shrink: 0;
}

.event-program-card-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .event-program-card-details {
    grid-template-columns: repeat(2, 1fr);
  }
}

.event-program-card-detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.4;
}

.event-program-card-detail svg {
  flex-shrink: 0;
  color: #ff007a;
}

.event-program-card-mentors {
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
}

.event-program-card-mentors p {
  color: #6b7280;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.event-program-mentor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.event-program-mentor {
  display: inline-block;
  background-color: #f8fafc;
  color: #475569;
  padding: 0.3rem 0.6rem;
  border-radius: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.event-program-mentor:hover {
  background-color: #e2e8f0;
  border-color: #cbd5e1;
}

.event-program-no-sessions {
  text-align: center;
  padding: 4rem 2rem;
  color: #6b7280;
  font-size: 1.25rem;
  background-color: #f9fafb;
  border-radius: 1rem;
  border: 2px dashed #d1d5db;
}

/* Animation Classes */
.event-program-fade-in {
  animation: fadeIn 0.4s ease-out;
}

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

/* Responsive adjustments */
@media (max-width: 767px) {
  .event-program-tabs {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .event-program-tab {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }
  
  .event-program-time-header h3 {
    font-size: 1.5rem;
  }
  
  .event-program-card-content {
    padding: 1.25rem;
  }
}

/* Joomla 5 Integration */
.event-program-article {
  margin-bottom: 2rem;
}

.event-program-article .page-header {
  margin-bottom: 2rem;
  text-align: center;
}

.event-intro, .event-outro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: #6b7280;
  line-height: 1.6;
}