/* ============================================
   ORGANIZER & USER DASHBOARD STYLES
   ============================================ */

/* ORGANIZER DASHBOARD */
.organizer-dashboard {
  padding: 2rem 0;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #e5e7eb;
}

.dashboard-header-content h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #111827;
}

.dashboard-welcome {
  font-size: 1.1rem;
  color: #6b7280;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stat-card-featured {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.9;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
}

.dashboard-partner-promo {
  background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.partner-promo-content h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
}

.partner-promo-content p {
  margin: 0;
  opacity: 0.8;
}

.dashboard-section {
  margin-top: 3rem;
}

.dashboard-section h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: #111827;
}

.organizer-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.organizer-event-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.organizer-event-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.organizer-event-card.highlighted {
  border-color: #fbbf24;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.organizer-event-card.past {
  opacity: 0.7;
}

.event-highlight-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.event-card-header {
  margin-bottom: 1rem;
}

.event-card-header h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  color: #111827;
}

.event-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.meta-item svg {
  flex-shrink: 0;
}

.event-card-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* MY EVENTS PAGE (USER) */
.my-events-page {
  padding: 2rem 0;
}

.my-events-header {
  margin-bottom: 2rem;
  text-align: center;
}

.my-events-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #111827;
}

.my-events-subtitle {
  font-size: 1.1rem;
  color: #6b7280;
}

.my-events-section {
  margin-bottom: 3rem;
}

.my-events-section h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: #111827;
}

.my-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.my-event-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.my-event-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.my-event-card-past {
  opacity: 0.7;
}

.my-event-image {
  position: relative;
  height: 180px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  overflow: hidden;
}

.my-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.my-event-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: rgba(255, 255, 255, 0.5);
}

.my-event-content {
  padding: 1.25rem;
}

.my-event-content h3 {
  margin: 0 0 1rem 0;
  font-size: 1.25rem;
  color: #111827;
}

.my-event-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.my-event-organizer {
  margin-bottom: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e5e7eb;
}

.my-event-organizer small {
  font-size: 0.8rem;
  color: #6b7280;
}

.my-event-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-unattend {
  flex: 1;
}

.event-past-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ATTENDEES PAGE */
.organizer-attendees-page {
  padding: 2rem 0;
}

.attendees-header {
  margin-bottom: 2rem;
}

.btn-back {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #f3f4f6;
  border-radius: 6px;
  color: #374151;
  text-decoration: none;
  margin-bottom: 1rem;
  transition: background 0.2s;
}

.btn-back:hover {
  background: #e5e7eb;
}

.attendees-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #111827;
}

.event-title-context {
  background: #f9fafb;
  padding: 1.5rem;
  border-radius: 12px;
  margin-top: 1rem;
}

.event-title-context h2 {
  margin: 0.5rem 0 0.5rem 0;
  font-size: 1.5rem;
  color: #111827;
}

.event-date {
  color: #6b7280;
  font-size: 0.95rem;
}

.attendees-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.attendees-table-wrapper {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.attendees-table {
  width: 100%;
  border-collapse: collapse;
}

.attendees-table thead {
  background: #f9fafb;
}

.attendees-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: #374151;
  border-bottom: 2px solid #e5e7eb;
}

.attendees-table td {
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
  color: #6b7280;
}

.attendees-table tbody tr:hover {
  background: #f9fafb;
}

.attendee-name {
  display: flex;
  align-items: center;
  font-weight: 500;
  color: #111827;
}

/* PARTNER APPLICATION PAGE */
.partner-application-page {
  padding: 2rem 0;
  max-width: 900px;
  margin: 0 auto;
}

.partner-header {
  text-align: center;
  margin-bottom: 3rem;
}

.partner-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #111827;
}

.partner-subtitle {
  font-size: 1.1rem;
  color: #6b7280;
}

.partner-pending-notice {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.partner-pending-notice h2 {
  margin: 0.5rem 0;
  font-size: 1.5rem;
  color: #111827;
}

.partner-pending-notice p {
  margin: 0;
  color: #6b7280;
}

.partner-benefits {
  margin-bottom: 3rem;
}

.partner-benefits h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #111827;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.benefit-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1.1rem;
  color: #111827;
}

.benefit-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.5;
}

.partner-requirements {
  background: #f9fafb;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 3rem;
}

.partner-requirements h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #111827;
}

.requirements-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.requirements-list li {
  padding: 0.75rem 0;
  font-size: 1rem;
  color: #374151;
}

.partner-form-wrapper {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.partner-form-wrapper h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #111827;
}

.partner-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.partner-label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.partner-label span {
  font-weight: 500;
  color: #374151;
}

.partner-input {
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.partner-input:focus {
  outline: none;
  border-color: #667eea;
}

.partner-label small {
  font-size: 0.85rem;
  color: #6b7280;
}

/* PROFILE PAGES */
.profile-page {
  padding: 2rem 0;
}

.profile-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #e5e7eb;
}

.profile-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #111827;
}

.profile-subtitle {
  font-size: 1.1rem;
  color: #6b7280;
}

.featured-partner-badge {
  display: inline-block;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 1rem;
}

.profile-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.profile-main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.profile-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.profile-card h2 {
  font-size: 1.5rem;
  margin: 0 0 1.5rem 0;
  color: #111827;
}

.profile-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.profile-label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.profile-label span {
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.25rem;
}

.profile-input {
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.profile-input:focus {
  outline: none;
  border-color: #667eea;
}

.profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.profile-stats-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.profile-stats-card h3 {
  font-size: 1.25rem;
  margin: 0 0 1rem 0;
  color: #111827;
}

.stat-item {
  text-align: center;
  padding: 1rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.stat-item:last-child {
  border-bottom: none;
}

/* AUTH BADGE VARIANTS */
.auth-badge-organizer {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* EMPTY STATE */
.empty-state {
  text-align: center;
  padding: 3rem 2rem;
  background: #f9fafb;
  border-radius: 12px;
}

.empty-state p {
  font-size: 1.1rem;
  color: #6b7280;
  margin: 0 0 1.5rem 0;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .dashboard-header {
    flex-direction: column;
    gap: 1rem;
  }

  .organizer-events-grid,
  .my-events-grid {
    grid-template-columns: 1fr;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .dashboard-header-content h1,
  .my-events-header h1,
  .attendees-header h1,
  .partner-header h1,
  .profile-header h1 {
    font-size: 2rem;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
  }

  .event-card-actions,
  .my-event-actions {
    flex-direction: column;
  }

  .attendees-table-wrapper {
    overflow-x: auto;
  }

  .attendees-table {
    min-width: 600px;
  }
}

/* ============================================
   ONLINE TICKETING STYLES
   ============================================ */

/* Ticketing Card on Event Page */
.event-meta-card--ticketing {
  border-left: 4px solid #10b981;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.event-meta-card--ticketing .event-meta-card-title {
  color: #047857;
}

.event-meta-card--ticketing .event-meta-value {
  color: #065f46;
  font-weight: 600;
}

/* Checkbox Label Styling */
.create-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 1rem;
  color: #1f2937;
  padding: 0.75rem;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.create-checkbox-label:hover {
  background-color: #f9fafb;
}

.create-checkbox-label--highlight {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 2px solid #f59e0b;
  padding: 1rem;
}

.create-checkbox-label--highlight:hover {
  background: linear-gradient(135deg, #fde68a 0%, #fbbf24 100%);
}

.create-checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #667eea;
}

.create-checkbox-text {
  font-weight: 500;
}

/* Ticketing Info Box */
.ticketing-info-box {
  margin-top: 0.75rem;
  padding: 1rem;
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-left: 4px solid #dc2626;
  border-radius: 6px;
}

.ticketing-info-text {
  margin: 0;
  font-size: 0.95rem;
  color: #1f2937;
  line-height: 1.6;
}

/* Ticketing Method Details */
.ticketing-method-details {
  margin-top: 1rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 8px;
  border: 1px solid #0ea5e9;
}

.method-detail-item {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #bae6fd;
}

.method-detail-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.method-detail-item strong {
  display: block;
  color: #0c4a6e;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.method-detail-item p {
  margin: 0;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.6;
}
