/* SalesPal v2 - App-level overrides and navbar styling */

/* Nav icon buttons */
.sp-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0;
    text-decoration: none;
    transition: background 0.2s;
    position: relative;
}

.sp-nav-icon:hover,
.sp-nav-icon:focus {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.sp-nav-icon svg {
    stroke: white;
}

/* Badges on nav icons */
.sp-msg-badge,
.sp-notif-badge {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.6rem;
}

/* Flash message container */
.sp-flash-container {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    width: 90%;
    max-width: 500px;
}

@media (min-width: 769px) {
    .sp-flash-container {
        top: 100px;
    }
}

/* Brand color utility */
.sp-brand-color {
    color: var(--sp-green);
}

/* Filter pills */
.sp-filter-pill {
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
}

.sp-filter-pill.active {
    background-color: var(--sp-green);
    border-color: var(--sp-green);
    color: #fff;
}
