/* ===== EVENT DASHBOARD STYLES ===== */

/* Sidebar overrides */
.event-sidebar {
    width: 260px;
}

.client-dashboard-btn-wrap {
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.client-dashboard-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid rgba(255,255,255,0.2);
    background: transparent;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
}

.client-dashboard-btn:hover {
    background: rgba(255,255,255,0.06);
    border-color: var(--primary);
    color: var(--primary);
}

.event-context {
    padding: 14px 18px;
    background: rgba(212, 160, 23, 0.08);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.event-context-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.event-context-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.event-context-meta {
    font-size: 11px;
    color: var(--sidebar-text);
}

/* Nav groups (collapsible sections) */
.event-nav {
    overflow-y: auto;
    flex: 1;
    padding: 8px 0;
}

.nav-group {
    margin-top: 4px;
}

.nav-group-header {
    width: 100%;
    background: none;
    border: none;
    color: rgba(255,255,255,0.95);
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 12px 20px 8px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background var(--transition);
}

.nav-group-header:hover {
    background: rgba(255,255,255,0.04);
}

.nav-group-chevron {
    font-size: 10px;
    transition: transform var(--transition);
    color: var(--sidebar-text);
}

.nav-group.collapsed .nav-group-chevron {
    transform: rotate(180deg);
}

.nav-group.collapsed .nav-group-items {
    display: none;
}

.nav-group-items {
    display: flex;
    flex-direction: column;
    background: rgba(0,0,0,0.15);
    padding: 4px 0;
}

.nav-sub {
    padding: 8px 20px 8px 36px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    border-radius: 0 !important;
    border-left: 3px solid transparent;
}

.nav-sub.active {
    background: rgba(212, 160, 23, 0.15) !important;
    color: var(--primary) !important;
    border-left-color: var(--primary);
    font-weight: 600 !important;
}

.nav-sub:hover {
    background: rgba(255,255,255,0.04) !important;
    color: #fff !important;
}

/* Top breadcrumb */
.topbar-breadcrumb {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.topbar-breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition);
}

.topbar-breadcrumb a:hover {
    color: var(--primary);
}

.topbar-breadcrumb i {
    font-size: 10px;
    color: var(--text-muted);
}

.topbar-breadcrumb span:last-child {
    color: var(--text);
    font-weight: 600;
}

/* Section panels */
.section-panel {
    display: none;
    padding: 32px;
    max-width: 1100px;
}

.section-panel.active {
    display: block;
}

.section-header-bar {
    margin-bottom: 24px;
}

.section-header-bar h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 6px;
}

.section-header-bar p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* Editor card */
.editor-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
}

.editor-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.editor-card h3 i {
    color: var(--primary);
    font-size: 14px;
}

/* Helper text */
.help-text {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
    line-height: 1.4;
}

/* Switch */
.switch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.switch-row:last-child { border-bottom: none; }

.switch-row .label {
    font-size: 14px;
    font-weight: 600;
}

.switch-row .help-text {
    margin-top: 2px;
    font-size: 12px;
}

.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    background: var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: background var(--transition);
    flex-shrink: 0;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform var(--transition);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.toggle-switch.on {
    background: var(--primary);
}

.toggle-switch.on::after {
    transform: translateX(20px);
}

/* Status badges in lists */
.list-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    background: var(--bg-white);
}

.list-row-info { flex: 1; }
.list-row-title { font-weight: 600; font-size: 14px; }
.list-row-meta { font-size: 13px; color: var(--text-light); margin-top: 2px; }

/* Steps progress (for Edit Information wizard-style) */
.steps-progress {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.step-pill {
    flex: 1;
    padding: 8px 14px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
}

.step-pill.done {
    background: #c6f6d5;
    color: #276749;
}

.step-pill.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary-dark);
}

.step-pill .step-num {
    display: inline-block;
    background: rgba(255,255,255,0.3);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    line-height: 20px;
    margin-right: 6px;
    font-size: 11px;
}

/* Reports grid */
.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.report-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    cursor: pointer;
    transition: all var(--transition);
}

.report-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.report-card-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(212, 160, 23, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 12px;
}

.report-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.report-card p {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.4;
}

/* Stats charts placeholder */
.stat-chart {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
}

.stat-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.stat-chart-header h4 { font-size: 14px; font-weight: 700; }

.stat-chart-canvas {
    height: 220px;
    background: linear-gradient(180deg, transparent 0%, rgba(212,160,23,0.05) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: end;
    padding: 16px;
    gap: 8px;
}

.bar {
    flex: 1;
    background: var(--primary);
    border-radius: 4px 4px 0 0;
    opacity: 0.8;
    transition: all var(--transition);
}

.bar:hover { opacity: 1; }

/* Pixels list */
.pixel-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    background: var(--bg-white);
}

.pixel-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.pixel-info { flex: 1; }
.pixel-info h4 { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.pixel-info p { font-size: 12px; color: var(--text-light); }

.pixel-input {
    flex: 1;
    max-width: 300px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-family: inherit;
}

/* Forms builder */
.form-field-row {
    display: grid;
    grid-template-columns: 1fr 180px 100px 60px;
    gap: 8px;
    align-items: center;
    padding: 12px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

.form-field-row input, .form-field-row select {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-family: inherit;
}

/* Empty state */
.empty-state-large {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-white);
    border: 2px dashed var(--border);
    border-radius: var(--radius);
}

.empty-state-large i {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: block;
}

.empty-state-large h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.empty-state-large p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .event-context-title { font-size: 13px; }
    .section-panel { padding: 16px; }
    .form-field-row {
        grid-template-columns: 1fr 1fr;
    }
}
