.lead-modal {
    position: fixed;
    inset: 0;
    z-index: 5200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 15, 35, 0.55);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.lead-modal.show {
    opacity: 1;
    pointer-events: auto;
}

.lead-card {
    width: min(360px, 92vw);
    max-height: 84vh;
    overflow: hidden;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.35);
    position: relative;
    display: flex;
    flex-direction: column;
}

.lead-header {
    padding: 16px 18px 12px;
    background: linear-gradient(135deg, #0f2f6b 0%, #2563eb 52%, #4f8cff 100%);
    color: #ffffff;
}

.lead-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.lead-subtitle {
    font-size: 12px;
    opacity: 0.85;
    margin-top: 4px;
}

.lead-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.lead-brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.9);
}

.lead-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.lead-brand-name {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lead-brand-tag {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.82);
}

.lead-form {
    padding: 14px 18px 18px;
    display: grid;
    gap: 10px;
    overflow-y: auto;
}

.lead-field label {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
    display: block;
    margin-bottom: 4px;
}

.lead-field input,
.lead-field select {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 10px;
    font-size: 13px;
    background: #f8fafc;
    color: #0f172a;
}

.lead-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.lead-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 4px;
}

.lead-submit {
    flex: 1;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 9px 12px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}

.lead-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.lead-skip {
    flex: 1;
    background: transparent;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 9px 12px;
    border-radius: 12px;
    font-size: 12px;
    text-decoration: none;
    text-align: center;
}

.lead-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lead-disclaimer {
    font-size: 11px;
    color: #94a3b8;
    text-align: center;
}

@media (max-width: 480px) {
    .lead-row {
        grid-template-columns: 1fr;
    }
}
