/* Event Ticket Design - Simple & Clean */
.event-ticket {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  padding: 0;
  margin: 20px 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  display: flex;
  min-height: 200px;
  transition: all 0.3s ease;
}

.event-ticket:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Perforation line */
.event-ticket::before {
  content: '';
  position: absolute;
  top: 0;
  left: 180px;
  width: 2px;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.3) 0px,
    rgba(255, 255, 255, 0.3) 6px,
    transparent 6px,
    transparent 12px
  );
  z-index: 1;
}

/* Ticket stub (left side) */
.ticket-stub {
  width: 180px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  border-right: 2px dashed rgba(255, 255, 255, 0.3);
}

.ticket-stub .date {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.ticket-stub .month {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ticket-stub .time {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 4px;
  font-weight: 500;
}

.ticket-stub .year {
  font-size: 0.85rem;
  opacity: 0.8;
  font-weight: 500;
}

/* Main ticket content */
.ticket-main {
  flex: 1;
  padding: 24px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.ticket-attendees {
  display: flex;
  align-items: center;
  gap: 8px;
}

.attendee-count {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  min-width: 24px;
  text-align: center;
}

.attendee-photos {
  display: flex;
  gap: -4px;
}

.attendee-photos img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  margin-left: -4px;
}

.attendee-photos img:first-child {
  margin-left: 0;
}

.attendee-photos .attendee-placeholder {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: white;
  margin-left: -4px;
}

.attendee-photos .attendee-placeholder:first-child {
  margin-left: 0;
}

.ticket-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ticket-author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.ticket-author .name {
  font-weight: 600;
  font-size: 0.9rem;
}

.ticket-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}

.ticket-details {
  margin-bottom: 16px;
}

.ticket-location {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  opacity: 0.9;
  font-size: 0.9rem;
}

.ticket-description {
  opacity: 0.9;
  line-height: 1.4;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.ticket-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.ticket-actions button {
  background: rgba(255, 255, 255, 0.2) !important;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  padding: 10px !important;
  border-radius: 10px !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  backdrop-filter: blur(5px) !important;
  transition: all 0.3s ease !important;
  width:auto;
}

.ticket-actions button:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-1px) !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .event-ticket {
    flex-direction: column;
    min-height: auto;
  }
  
  .event-ticket::before {
    top: 140px;
    left: 0;
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(
      to right,
      rgba(255, 255, 255, 0.3) 0px,
      rgba(255, 255, 255, 0.3) 6px,
      transparent 6px,
      transparent 12px
    );
  }
  
  .ticket-stub {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    padding: 20px 24px;
    border-right: none;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.3);
  }
  
  .ticket-stub .date {
    font-size: 2rem;
  }
  
  .ticket-main {
    padding: 20px 24px;
  }
  
  .ticket-title {
    font-size: 1.3rem;
  }
}