/* Enhanced Lead List Styles */

/* Lead Item Header */
.lead-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.lead-name-container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.lead-name {
    font-weight: 600;
    color: var(--text-color);
    display: inline-block;
    max-width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Lead Status Badge */
.lead-status {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    background-color: var(--light-bg);
    color: var(--text-color);
    border-left: 3px solid;
    font-weight: 500;
}

/* Lead Item Body */
.lead-item-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
    font-size: 0.85rem;
    color: var(--secondary-text);
}

.lead-email, .lead-company, .lead-phone, .lead-date {
    display: flex;
    align-items: center;
    gap: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lead-email i, .lead-company i, .lead-phone i, .lead-date i {
    color: var(--primary-color);
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Activity Indicator */
.activity-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 0.7rem;
}

/* Tasks Badge */
.tasks-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    background-color: var(--warning-color);
    color: #fff;
    font-size: 0.7rem;
    padding: 0 5px;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .lead-item-body {
        grid-template-columns: 1fr;
    }
}

/* Fix z-index for fullscreen toggle on mobile */
.fullscreen-toggle {
    z-index: 1060;
}
