.nowl-report-download__trigger {
    cursor: pointer;
    border: none;
    font: inherit;
}

body.nowl-lead-modal-open {
    overflow: hidden;
}

.nowl-lead-modal[hidden] {
    display: none;
}

.nowl-lead-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.nowl-lead-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.nowl-lead-modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 460px;
    background: var(--global-palette8);
    color: var(--global-palette3);
    border: 1px solid var(--outline-color);
    border-radius: 10px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    padding: 2rem 1.75rem 1.75rem;
    animation: nowl-lead-modal-in 0.18s ease-out;
}

@keyframes nowl-lead-modal-in {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.nowl-lead-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: transparent;
    border: none;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    color: var(--muted-text);
    padding: 0.35rem;
    border-radius: 6px;
    transition: background 0.15s ease, color 0.15s ease;
}

.nowl-lead-modal__close:hover {
    background: var(--portal-card-hover);
    color: var(--global-palette3);
}

.nowl-lead-modal__title {
    margin: 0 0 0.35rem;
    font-size: 1.4rem;
    color: var(--global-palette3);
}

.nowl-lead-modal__subtitle {
    margin: 0 0 1.25rem;
    color: var(--muted-text);
    font-size: 0.95rem;
    line-height: 1.45;
}

.nowl-lead-form__field {
    margin-bottom: 0.9rem;
    display: flex;
    flex-direction: column;
}

.nowl-lead-form__field label {
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    color: var(--global-palette4);
}

.nowl-lead-form__req {
    color: var(--error-highlight);
}

.nowl-lead-form__field input {
    width: 100%;
    padding: 0.6rem 0.75rem;
    background: var(--global-palette9);
    border: 1px solid var(--outline-color);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--global-palette3);
}

.nowl-lead-form__field input::placeholder {
    color: var(--muted-text);
}

.nowl-lead-form__field input:focus {
    outline: none;
    border-color: var(--green-highlight);
    box-shadow: 0 0 0 3px rgba(25, 201, 134, 0.2);
}

.nowl-lead-form__message {
    margin: 0.5rem 0 0.75rem;
}

.nowl-lead-form__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1rem;
}

.nowl-lead-form__submit {
    width: 100%;
    justify-content: center;
    color: var(--text-on-accent);
}

.nowl-lead-form__submit:hover,
.nowl-lead-form__submit:active,
.nowl-lead-form__submit:focus {
    color: var(--text-on-accent);
}

.nowl-lead-form__skip {
    background: none;
    border: none;
    color: var(--muted-text);
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.15s ease;
}

.nowl-lead-form__skip:hover {
    color: var(--global-palette3);
}

.nowl-lead-form__submit[disabled],
.nowl-lead-form__skip[disabled] {
    opacity: 0.6;
    cursor: default;
}
