/* =========================
   LEADS LIST UI (MODERN DARK)
========================= */

.leads-container {
    max-width: 1200px;
    margin: 0 auto;
    color: #e5e7eb;
    font-family: 'Inter', 'Poppins', sans-serif;
}

/* =========================
   HEADER
========================= */
.leads-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.leads-header h2 {
    margin: 0;
    font-size: 26px;
    color: #ffffff;
}

.leads-header a {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}

/* =========================
   DESKTOP TABLE
========================= */
.leads-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255,255,255,0.04);
    border-radius: 14px;
    overflow: hidden;
}

.leads-table th,
.leads-table td {
    padding: 14px 16px;
    text-align: left;
}

.leads-table th {
    background: rgba(255,255,255,0.06);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #9ca3af;
}

.leads-table td {
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 14px;
}

.leads-table tr:hover {
    background: rgba(255,255,255,0.06);
}

/* =========================
   STATUS BADGE
========================= */
.leads-table .status,
.lead-card .status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.status.new {
    background: rgba(34,197,94,0.15);
    color: #22c55e;
}

/* =========================
   ACTION BUTTON
========================= */
.leads-table a,
.lead-card a {
    background: #2563eb;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
}

/* =========================
   MOBILE CARDS
========================= */
.lead-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 14px;
}

.lead-card .name {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 6px;
    color: #ffffff;
}

.lead-card .meta {
    font-size: 14px;
    color: #cbd5f5;
    margin-top: 4px;
}

.lead-card .actions {
    margin-top: 12px;
}

.lead-card a {
    display: block;
    text-align: center;
    margin-top: 10px;
}

/* =========================
   RESPONSIVE SWITCH
========================= */
@media (max-width: 768px) {
    .leads-table {
        display: none;
    }

    .leads-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (min-width: 769px) {
    .lead-card {
        display: none;
    }
}
