
:root {
    --brand: #4f46e5;
    --brand-dark: #4338ca;
    --brand-light: #eef2ff;
}

body {
    font-family: 'Figtree', system-ui, sans-serif;
    background-color: #f5f6fa;
}

a {
    color: var(--brand);
}
a:hover {
    color: var(--brand-dark);
}

.btn-primary {
    --bs-btn-bg: var(--brand);
    --bs-btn-border-color: var(--brand);
    --bs-btn-hover-bg: var(--brand-dark);
    --bs-btn-hover-border-color: var(--brand-dark);
    --bs-btn-active-bg: var(--brand-dark);
    --bs-btn-active-border-color: var(--brand-dark);
    --bs-btn-focus-shadow-rgb: 79, 70, 229;
}

.text-brand {
    color: var(--brand) !important;
}

.bg-brand {
    background-color: var(--brand) !important;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background-color: var(--brand);
    color: #fff;
}

/* Auth pages */
.auth-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eef2ff 0%, #ffffff 55%, #ecfeff 100%);
    padding: 1.5rem 1rem;
}

.auth-card {
    width: 100%;
    max-width: 28rem;
    background: #fff;
    border: 1px solid #f1f1f4;
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px -10px rgba(79, 70, 229, 0.15);
    padding: 1.5rem;
}

/* Stat / dashboard cards */
.stat-card {
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    padding: 1.25rem;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #6b7280;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.panel {
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
}

/* Customer journey hero */
.journey-hero {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    padding: 1.5rem;
    color: #fff;
    background: linear-gradient(135deg, #4f46e5 0%, #2563eb 100%);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.journey-hero::before,
.journey-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.journey-hero::before {
    width: 12rem;
    height: 12rem;
    right: -2.5rem;
    top: -2.5rem;
}
.journey-hero::after {
    width: 6rem;
    height: 6rem;
    right: 2.5rem;
    bottom: -1.5rem;
    border-color: rgba(255, 255, 255, 0.1);
}

.stage-pill {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
}

/* Activity bar chart */
.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    height: 9rem;
}
.chart-bar-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}
.chart-bar {
    width: 100%;
    border-radius: 0.5rem 0.5rem 0 0;
    background-color: var(--brand-light);
    transition: background-color 0.15s ease-in-out;
}
.chart-bar.is-peak {
    background-color: #f97316;
}
.chart-bar-count {
    font-size: 0.65rem;
    font-weight: 600;
    color: #fff;
    background: #111827;
    border-radius: 999px;
    padding: 0.05rem 0.4rem;
    margin-bottom: 0.4rem;
}
.chart-bar-label {
    font-size: 0.65rem;
    color: #9ca3af;
    margin-top: 0.5rem;
}

.timeline-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.75rem;
    flex-shrink: 0;
}
