/* Event Details — fun, clean, scoped */
.event-details,
.event-details-highlight {
    --accent: #7c3aed;   /* violet-600 */
    --accent-50: #f5f3ff;
    --accent-100: #ede9fe;
    --accent-700: #6d28d9;
    --muted: #6b7280;    /* gray-500 */

    position: relative;
    border-radius: 16px;
    padding: 20px;
    background:
      linear-gradient(#ffffff, #ffffff) padding-box,
      linear-gradient(120deg, #e9d5ff, #c7d2fe, #bfdbfe) border-box; /* playful border */
    border: 2px solid transparent;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

.event-details h1 {
    margin: 0 0 6px 0;
    background: linear-gradient(90deg, var(--accent-700), #22c55e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.event-header p {
    color: var(--muted);
    margin: 2px 0;
}

.event-details img {
    display: block;
    width: 100%;
    max-width: 56rem; /* ~896px */
    border-radius: 12px;
    box-shadow: 0 10px 18px rgba(0,0,0,0.10);
    margin: 12px 0 16px;
}

.event-details p {
    line-height: 1.6;
}

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    background: var(--accent-50);
    color: var(--accent-700);
    border: 1px solid var(--accent-100);
}

.status-badge.status-cancelled {
    background: #fee2e2;     /* red-100 */
    color: #b91c1c;          /* red-700 */
    border-color: #fecaca;   /* red-200 */
}

.event-status {
    color: var(--muted);
    margin-top: 8px;
}

/* Attend section card */
.attend-card {
    margin-top: 20px;
    padding: 16px;
    background: #f8fafc;     /* slate-50 */
    border-radius: 12px;
    border: 1px solid #e5e7eb; /* gray-200 */
}

.attend-card h2 {
    margin: 0 0 12px 0;
    color: #111827; /* gray-900 */
}

/* Forms: keep it clean and friendly */
.event-details label {
    display: block;
    font-weight: 600;
    color: #374151; /* gray-700 */
    margin-bottom: 4px;
}

.event-details .form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb; /* gray-200 */
    border-radius: 10px;
    background: #ffffff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.event-details .form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

/* Buttons: slightly more rounded for a friendly feel */
.event-details button,
.event-details a[role="button"] {
    border-radius: 9999px !important;
}
