body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    background: #f7f8fb;
    color: #111827;
    font-size: 22px;
    padding-bottom: 150px;
}

.header {
    background: #111827;
    color: white;
    text-align: center;
    padding: 18px;
    font-size: 34px;
    font-weight: bold;
}

.container {
    max-width: 1400px;
    margin: auto;
    background: white;
    padding: 22px;
}

h2 {
    font-size: 34px;
    margin: 20px 0;
}

label {
    display: block;
    font-size: 22px;
    font-weight: bold;
    margin-top: 18px;
    margin-bottom: 8px;
}

input,
select,
textarea {
    width: 100%;
    font-size: 24px;
    padding: 16px;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px solid #bbb;
}

textarea {
    min-height: 150px;
}

button {
    width: 100%;
    margin-top: 25px;
    padding: 20px;
    font-size: 28px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    background: #0b5ed7;
    color: white;
    cursor: pointer;
}

.save-button {
    position: sticky;
    bottom: 115px;
    z-index: 500;
    box-shadow: 0 4px 14px rgba(0,0,0,.25);
}

.delete-lead-button {
    background: #dc2626;
    margin-bottom: 40px;
}

.checkbox-row {
    font-size: 24px;
    margin: 14px 0;
}

.checkbox-row input {
    width: auto;
    transform: scale(1.8);
    margin-right: 18px;
}

.big-button {
    display: block;
    background: #0b5ed7;
    color: white;
    text-decoration: none;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    padding: 22px;
    margin: 18px 0;
    border-radius: 10px;
}

.search-box {
    background: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    background: white;
}

th {
    background: #111827;
    color: white;
    padding: 14px;
    font-size: 20px;
}

td {
    border: 1px solid #ccc;
    padding: 14px;
    font-size: 20px;
    vertical-align: top;
}

.phone-link {
    color: #0b5ed7;
    font-weight: bold;
    text-decoration: none;
    font-size: 19px;
}

.compact-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.call-button {
    background: #2563eb;
}

.whatsapp-button {
    background: #25d366;
}

.edit-button {
    background: #6b7280;
}

.mobile-results {
    display: none;
}

.lead-card {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.lead-card-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.lead-card-name {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 6px;
}

.lead-card-phone {
    color: #0b5ed7;
    font-weight: bold;
    text-decoration: none;
    font-size: 20px;
}

.lead-card-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.lead-card-details {
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 20px;
}

.lead-card-notes {
    margin-top: 14px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 10px;
    font-size: 20px;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 8px;
    background: #111827;
    border-top: 1px solid #374151;
}

.bottom-nav a {
    flex: 1;
    min-width: 0;
    text-align: center;
    padding: 10px 4px;
    font-size: 16px;
    line-height: 1.25;
    text-decoration: none;
    color: white;
    font-weight: bold;
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 8px;
}

@media (max-width:700px) {
    .header {
        font-size: 30px;
    }

    .container {
        padding: 14px;
    }

    input,
    select,
    textarea {
        font-size: 26px;
    }

    button {
        font-size: 28px;
    }

    label {
        font-size: 24px;
    }

    .desktop-results {
        display: none;
    }

    .mobile-results {
        display: block;
    }

    .icon-button {
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}
.grappy-banner {
    background: #dcfce7;
    border: 2px solid #22c55e;
    color: #14532d;
    padding: 18px;
    border-radius: 12px;
    font-size: 22px;
    margin-bottom: 20px;
}
.role-section{margin-top:18px;padding:16px;border:1px solid #d1d5db;border-radius:12px;background:#f9fafb}.error{color:#b91c1c;font-weight:bold}
