﻿/* Hide on mobile */
@media (max-width: 767px) {
    .desktop-only {
        display: none !important;
    }
}

/* Hide on desktop */
@media (min-width: 768px) {
    .mobile-only {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
}

/* Card spacing */
.lead-card {
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.lead-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .lead-details {
        grid-template-columns: 1fr 1fr;
    }
}

.infinite-scroll {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.card {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.lead-data-table {
    width: 100%;
    border-collapse: collapse;
}

    .lead-data-table th {
        text-align: left;
        background: #f3f3f3;
        padding: 6px;
        width: 30%;
    }

    .lead-data-table td {
        padding: 6px;
        border-bottom: 1px solid #ddd;
        word-break: break-word;
    }


.status-badge {
    padding: 0.35em 0.65em;
    font-size: 0.75rem;
    border-radius: 12px;
    font-weight: 500;
}

/* Status colors */

.status-new {
    background-color: #0a58ca;
    color: #ffffff;
}

.status-contacted {
    background-color: #ffd800;
    color: #000000;
}

.status-qualified {
    background-color: #23734e;
    color: #ffffff;
}

.status-converted {
    background-color: #f15d00;
    color: #ffffff;
}

.status-closed,
.status-completed {
    background-color: #2a9b00;
    color: #ffffff;
}

.status-default {
    background-color: #eceff1;
    color: #455a64;
}

/* ELDER-FRIENDLY CSS */
.status-checkbox {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

    .status-checkbox input {
        width: 22px;
        height: 22px;
    }

textarea {
    font-size: 1rem;
}

.timeline {
    list-style: none;
    padding-left: 0;
}

    .timeline li {
        display: flex;
        margin-bottom: 16px;
    }

.timeline-badge {
    width: 36px;
    height: 36px;
    background: #198754;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    font-weight: bold;
    margin-right: 12px;
}

.timeline-panel {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    width: 100%;
}
