body {
    background: #f8fafc;
    overflow-y: auto !important;
}

#content {
    height: auto !important;
    min-height: 100vh;
    overflow-y: auto !important;
    overflow-x: hidden;
}

.event-container {
    padding: 24px;
    background-color: #f8fafc;
    min-height: calc(100vh - 70px);
}

.event-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
    padding: 20px;
    margin-bottom: 20px;
}

.event-stepper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 22px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.18);
}

.event-step {
    color: rgba(255, 255, 255, 0.86);
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    border: 1px solid transparent;
}

.event-step:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.event-step.active {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(67, 56, 202, 0.32);
}

.event-step.done .event-step-number {
    background: #ffffff;
    color: #4f46e5;
}

.event-step-number {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: #0f172a;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.event-step-label {
    font-weight: 700;
    font-size: 0.9rem;
}

.event-section-title {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
}

.event-muted {
    color: #64748b;
}

.event-required {
    color: #ef4444;
}

.event-help {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 5px;
}

.event-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.table-event th {
    background: #f8fafc;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 16px;
}

.table-event td {
    padding: 14px 16px;
    vertical-align: middle;
    font-size: 0.875rem;
    color: #334155;
}

.ticket-row-card {
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.ticket-row-card:hover {
    border-color: #22c55e;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.ticket-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #ecfdf5;
    color: #059669;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.btn-event-primary {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border: none;
    color: #fff;
    font-weight: 700;
}

.btn-event-primary:hover {
    color: #fff;
    filter: brightness(0.96);
}

.btn-action {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.btn-action:hover {
    background: #f8fafc;
    color: #0f172a;
}

.event-empty {
    text-align: center;
    color: #64748b;
    padding: 52px 16px;
}

.event-empty i {
    font-size: 42px;
    color: #cbd5e1;
    margin-bottom: 12px;
}

.staff-role-badge {
    border-radius: 999px;
    padding: 4px 10px;
    font-weight: 700;
    font-size: 0.76rem;
    background: #eef2ff;
    color: #4338ca;
}

.event-image-preview {
    min-height: 160px;
    height: 220px;
    border: 1px dashed #94a3b8;
    border-radius: 12px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #64748b;
}

.event-image-upload {
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.event-image-upload:hover {
    border-color: #22c55e;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.event-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .event-stepper {
        grid-template-columns: 1fr;
    }

    .event-container {
        padding: 16px;
    }

    .ticket-row-card {
        align-items: flex-start;
        flex-direction: column;
    }
}
