.leads-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(245, 158, 11, .18), transparent 35%),
        radial-gradient(circle at top right, rgba(59, 130, 246, .16), transparent 35%),
        linear-gradient(135deg, #fff7ed, #eff6ff, #ffffff);
    color: #1f2937;
}

.leads-hero {
    background: linear-gradient(135deg, #7c2d12, #d97706);
    color: #ffffff;
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 24px 60px rgba(124, 45, 18, .28);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.leads-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .18);
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 800;
    margin-bottom: 14px;
}

.leads-hero h1 {
    font-weight: 950;
    font-size: clamp(32px, 4vw, 48px);
    margin: 0 0 8px;
}

.leads-hero p {
    margin: 0;
    color: rgba(255, 255, 255, .88);
}

.leads-actions .btn {
    border-radius: 999px;
    font-weight: 800;
    padding: 12px 18px;
    white-space: nowrap;
}

.stat-card {
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 22px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, .08);
}

.stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex: 0 0 auto;
}

.stat-total {
    background: #eff6ff;
    color: #2563eb;
}

.stat-new {
    background: #fff7ed;
    color: #d97706;
}

.stat-confirmed {
    background: #ecfdf5;
    color: #059669;
}

.stat-delivered {
    background: #f0fdf4;
    color: #16a34a;
}

.stat-card span {
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
}

.stat-card h3 {
    margin: 2px 0 0;
    font-weight: 950;
    color: #111827;
}

.leads-card {
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 26px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .10);
    overflow: hidden;
}

.leads-card-header {
    padding: 24px;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.leads-card-header h4 {
    margin: 0 0 4px;
    font-weight: 900;
    color: #111827;
}

.leads-card-header p {
    margin: 0;
    color: #6b7280;
}

.leads-card-header .btn {
    border-radius: 999px;
    font-weight: 800;
    white-space: nowrap;
}

.leads-table {
    margin: 0;
}

.leads-table thead th {
    background: #fff7ed !important;
    color: #7c2d12 !important;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
    border-bottom: 1px solid rgba(124, 45, 18, .16) !important;
    padding: 14px 18px;
}

.leads-table tbody td {
    padding: 18px;
    vertical-align: middle;
    border-bottom: 1px solid rgba(15, 23, 42, .06) !important;
}

.lead-name {
    font-weight: 900;
    color: #111827;
    margin-bottom: 4px;
}

.lead-address,
.lead-remarks,
.date-text {
    color: #6b7280;
    font-size: 13px;
}

.lead-remarks {
    margin-top: 6px;
    background: #f9fafb;
    border-radius: 10px;
    padding: 6px 8px;
}

.lead-mobile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2563eb;
    font-weight: 800;
    text-decoration: none;
}

.lead-mobile:hover {
    text-decoration: underline;
}

.product-name {
    font-weight: 700;
    color: #374151;
}

.qty-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #111827;
    font-weight: 900;
}

.status-form {
    display: flex;
    gap: 8px;
    align-items: center;
}

.status-form .form-select {
    min-width: 125px;
    border-radius: 999px;
    font-weight: 700;
}

.status-form .btn {
    border-radius: 999px;
    font-weight: 800;
    padding-left: 14px;
    padding-right: 14px;
}

.empty-state {
    color: #6b7280;
}

.empty-state i {
    font-size: 42px;
    color: #d97706;
    margin-bottom: 12px;
}

.empty-state h5 {
    color: #111827;
    font-weight: 900;
}

.empty-state .btn {
    border-radius: 999px;
    font-weight: 800;
}

@media (max-width: 768px) {
    .leads-hero,
    .leads-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .leads-actions,
    .leads-actions .btn,
    .leads-card-header .btn {
        width: 100%;
    }

    .status-form {
        flex-direction: column;
        align-items: stretch;
    }
}