.event-details-page {
  padding: 2rem 0;

  // Loading State
  .loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    gap: 1.5rem;

    .spinner {
      width: 50px;
      height: 50px;
      border: 4px solid var(--border-color);
      border-top-color: var(--primary-color, #0066cc);
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
    }

    p {
      color: var(--greyForeground);
      font-size: 1rem;
      margin: 0;
    }
  }
  .actionButtons{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    padding: 20px;
    margin-right: 15px;
    gap: 20px;
  }

  // .btn-secondaryCancel {
  //   background: transparent;
  //   border: 1px solid #3a3a3a;
  //   color: #e5e5e5;
  //   height: 50px;
  //   width: 110px;
  //   border-color: #f48c42;

  //   &:hover {
  //     border-color: #f48c42;
  //     color: #f48c42;
  //   }
  // }
  .submit-btn {
    padding: 0.75rem 1.5rem;
    background: #f48c42;
    border: 1px solid #f48c42;
    color: #121212;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: fit-content;

    &:hover {
      background: #ff9d57;
      border-color: #ff9d57;
    }
  }

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

  // Not Found State
  .not-found-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    gap: 1.5rem;
    text-align: center;
    padding: 2rem;

    .not-found-icon {
      font-size: 5rem;
      margin-bottom: 1rem;
    }

    h2 {
      margin: 0 0 0.5rem 0;
      color: var(--mainForeground);
      font-size: 1.75rem;
      font-weight: 700;
    }

    p {
      margin: 0 0 1.5rem 0;
      color: var(--greyForeground);
      font-size: 1rem;
      max-width: 400px;
    }
  }

  // Main Content Grid
  .event-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;

    @media (max-width: 1024px) {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
  }

  // Thumbnail Section
  .event-thumbnail-section {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--greyBackground);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);

    .event-thumbnail {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .thumbnail-overlay {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: flex-start;
      justify-content: flex-start;
      padding: 1rem;
      background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, transparent 100%);
    }

    .status-badge {
      display: inline-block;
      padding: 0.5rem 1rem;
      border-radius: 6px;
      font-size: 0.8rem;
      font-weight: 700;
      letter-spacing: 0.5px;
      background: rgba(0, 0, 0, 0.5);
      color: #ffffff;

      &.active {
        background: #10b981;
      }
    }
  }

  // Details Section
  .event-details-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  // Card Styling
  .details-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;

    &:hover {
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }
  }

  .description-card {
    .description-text {
      color: var(--mainForeground);
      font-size: 1rem;
      line-height: 1.7;
      white-space: pre-wrap;
      word-wrap: break-word;
    }
  }

  .metadata-card {
    background: var(--bg-secondary);
  }

  // Title
  .event-title {
    margin: 0 0 1.5rem 0;
    color: var(--mainForeground);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;

    @media (max-width: 768px) {
      font-size: 1.5rem;
    }
  }

  // Info Grid
  .info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;

    @media (max-width: 768px) {
      grid-template-columns: 1fr;
      gap: 1rem;
    }
  }

  .info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;

    .info-label {
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--greyForeground);
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .info-value {
      font-size: 1.1rem;
      color: var(--mainForeground);
      font-weight: 500;
    }
  }

  // Section Title
  .section-title {
    margin: 0 0 1rem 0;
    color: var(--mainForeground);
    font-size: 1.25rem;
    font-weight: 700;
  }

  // Metadata Grid
  .metadata-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;

    @media (max-width: 768px) {
      grid-template-columns: 1fr;
      gap: 1rem;
    }
  }

  .metadata-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);

    &:last-child {
      border-bottom: none;
    }

    .metadata-label {
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--greyForeground);
      text-transform: uppercase;
      letter-spacing: 0.3px;
    }

    .metadata-value {
      font-size: 1rem;
      color: var(--mainForeground);
      font-weight: 500;
      font-family: 'Courier New', monospace;
    }
  }

  // Status Badge Inline
  .status-badge-inline {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.1);
    color: var(--mainForeground);

    &.active {
      background: rgba(16, 185, 129, 0.15);
      color: #10b981;
    }
  }

  // Action Buttons
  .action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);

    @media (max-width: 768px) {
      flex-direction: column;
    }
  }

  .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;

    &:active {
      transform: scale(0.98);
    }
  }

  .btn-primary {
    background: var(--primary-color, #0066cc);
    color: #ffffff;

    &:hover {
      opacity: 0.9;
    }
  }

  // Responsive
  @media (max-width: 768px) {
    .event-thumbnail-section {
      aspect-ratio: 16 / 9;
    }

    .details-card {
      padding: 1.5rem;
    }

    .event-title {
      font-size: 1.5rem;
    }

    .info-grid,
    .metadata-grid {
      grid-template-columns: 1fr;
    }
  }
}
