/* Event Admin Index Page - Extended Styles */
:root {
    --ez-primary: #6366f1;
    --ez-primary-hover: #4f46e5;
    --ez-bg-light: #f8fafc;
    --ez-card-border: #e2e8f0;
}

.event-container {
    padding: 24px;
    background-color: #f8fafc;
    min-height: calc(100vh - 70px);
}

.event-card {
    background: #ffffff;
    border: 1px solid var(--ez-card-border);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px;
}

.stat-card {
    border: 1px solid var(--ez-card-border);
    border-radius: 12px;
    padding: 16px 20px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.stat-icon.purple {
    background: #eef2ff;
    color: #6366f1;
}

.stat-icon.green {
    background: #ecfdf5;
    color: #10b981;
}

.stat-icon.yellow {
    background: #fffbeb;
    color: #f59e0b;
}

.stat-icon.red {
    background: #fef2f2;
    color: #ef4444;
}

.stat-label {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.badge-status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.badge-draft {
    background: #f1f5f9;
    color: #64748b;
}

.badge-active {
    background: #ecfdf5;
    color: #047857;
}

.badge-paused {
    background: #fffbeb;
    color: #b45309;
}

.badge-closed {
    background: #fef2f2;
    color: #b91c1c;
}

.badge-completed {
    background: #eef2ff;
    color: #4338ca;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.badge-draft .badge-dot {
    background: #64748b;
}

.badge-active .badge-dot {
    background: #10b981;
}

.badge-paused .badge-dot {
    background: #f59e0b;
}

.badge-closed .badge-dot {
    background: #ef4444;
}

.badge-completed .badge-dot {
    background: #6366f1;
}

.table-event th {
    background: #f8fafc;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 600;
    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;
}

.event-thumb {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.btn-action {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all 0.15s ease;
    text-decoration: none;
}

.btn-action:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.btn-action.edit:hover {
    border-color: #6366f1;
    color: #6366f1;
    background: #eef2ff;
}

.btn-action.delete:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

.btn-action.view:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    background: #eff6ff;
}

/* Approval badge button */
.btn-approval {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #475569;
    text-decoration: none;
    position: relative;
    transition: all 0.15s ease;
}

.btn-approval:hover {
    border-color: #f59e0b;
    color: #b45309;
    background: #fffbeb;
}

.approval-badge {
    position: absolute;
    top: -5px;
    right: -7px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #fff;
    line-height: 18px;
    text-align: center;
    pointer-events: none;
}

.toast-container-custom {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast-custom {
    background: #fff;
    border-radius: 10px;
    padding: 12px 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border-left: 4px solid #6366f1;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    animation: slideInRight 0.3s ease;
}

.toast-custom.success {
    border-left-color: #10b981;
}

.toast-custom.error {
    border-left-color: #ef4444;
}

.toast-custom.warning {
    border-left-color: #f59e0b;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
