:root {
    --primary-color: #0d6efd;
    --bg-color: #f0f2f5;
    --card-radius: 16px;
}

body {
    background-color: var(--bg-color);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    padding-bottom: 80px;
    /* Space for bottom nav */
}

/* Navbar */
.dashboard-nav {
    background: linear-gradient(135deg, #0d6efd, #0043a8);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    padding-bottom: 1rem;
}

.logo-sm {
    height: 30px;
    filter: brightness(0) invert(1);
}

/* Cards */
.card {
    border: none;
    border-radius: var(--card-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
    overflow: hidden;
}

.lead-card {
    margin-bottom: 1rem;
    border-left: 5px solid transparent;
}

.lead-card.status-pending {
    border-left-color: #dc3545;
}

.lead-card.status-process {
    border-left-color: #ffc107;
}

.lead-card.status-done {
    border-left-color: #198754;
}

/* Status Badges */
.badge-soft {
    padding: 6px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.badge-soft.pending {
    background: #fde8e8;
    color: #c81e1e;
}

.badge-soft.process {
    background: #fdf6b2;
    color: #8f6b0d;
}

.badge-soft.done {
    background: #def7ec;
    color: #03543f;
}

/* Mobile Bottom Nav */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 1000;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.nav-item-mobile {
    text-align: center;
    color: #6c757d;
    font-size: 0.8rem;
    background: none;
    border: none;
    flex: 1;
}

.nav-item-mobile.active {
    color: var(--primary-color);
    font-weight: bold;
}

.nav-item-mobile i {
    display: block;
    font-size: 1.4rem;
    margin-bottom: 2px;
}

/* Floating Action Button (FAB) */
.fab {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.4);
    font-size: 24px;
    z-index: 999;
    border: none;
}

.fab:hover {
    background: #0b5ed7;
    color: white;
}

/* Desktop overrides */
@media (min-width: 992px) {
    .bottom-nav {
        display: none;
    }

    body {
        padding-bottom: 0;
    }

    .fab {
        bottom: 40px;
    }
}

@media (max-width: 991px) {
    .desktop-only {
        display: none !important;
    }
}