.nlspm-native-request[hidden],
.nlspm-native-profile[hidden],
.nlspm-native-expired[hidden] {
    display: none !important;
}

.nlspm-native-request.is-active,
.nlspm-native-profile.is-active,
.nlspm-native-expired.is-active {
    display: flex !important;
}

.nlspm-native-request,
.nlspm-native-profile,
.nlspm-native-expired {
    background: #f2f2f2;
    color: #212121;
    font-family: Lato, Arial, sans-serif;
    padding: clamp(2rem, 5vw, 4rem) 1.5rem clamp(3rem, 6vw, 5rem);
}

.nlspm-native-request > .brxe-container,
.nlspm-native-profile > .brxe-container,
.nlspm-native-expired > .brxe-container {
    background: #ffffff;
    border: 1px solid rgba(107, 107, 99, 0.24);
    border-radius: 8px;
    margin-inline: auto;
    max-width: 920px;
    padding: clamp(1.25rem, 3vw, 2rem);
}

.nlspm-native-request > .brxe-container {
    max-width: 680px;
}

.nlspm-native-request .brxe-heading,
.nlspm-native-profile .brxe-heading,
.nlspm-native-expired .brxe-heading {
    color: #212121;
    font-family: Lato, Arial, sans-serif;
    font-size: var(--text-l);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 0.65rem;
}

.nlspm-native-request .brxe-text-basic,
.nlspm-native-profile .brxe-text-basic,
.nlspm-native-expired .brxe-text-basic {
    color: #6b6b63;
    font-size: var(--text-m);
    line-height: 1.55;
    margin-block-end: 1.25rem;
    max-width: 62ch;
}

.nlspm-request-form,
.nlspm-profile-form {
    color: #212121;
    display: flex;
    gap: 0;
}

.nlspm-request-form .form-group,
.nlspm-profile-form .form-group {
    margin: 0;
    padding: 0 0 1rem;
}

.nlspm-request-form label,
.nlspm-profile-form label {
    color: #6b6b63;
    display: block;
    font-size: var(--text-s);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.3;
    margin: 0 0 0.4rem;
    text-transform: uppercase;
}

.nlspm-request-form input,
.nlspm-profile-form input,
.nlspm-profile-form select,
.nlspm-request-form select {
    background: #ffffff;
    border: 1px solid rgba(107, 107, 99, 0.32);
    border-radius: 4px;
    color: #212121;
    font-family: Lato, Arial, sans-serif;
    font-size: var(--text-m);
    line-height: 1.4;
    min-height: 3rem;
    padding: 0.75rem 0.85rem;
    width: 100%;
}

.nlspm-request-form input::placeholder,
.nlspm-profile-form input::placeholder {
    color: #7c7c74;
    opacity: 1;
    text-transform: uppercase;
}

.nlspm-request-form input:focus,
.nlspm-profile-form input:focus,
.nlspm-profile-form select:focus,
.nlspm-request-form select:focus {
    border-color: #8a6f3d;
    box-shadow: 0 0 0 2px rgba(138, 111, 61, 0.18);
    outline: none;
}

.nlspm-profile-form .form-group:has(input[type="checkbox"]),
.nlspm-profile-form .form-group:has(.options-wrapper) {
    border-top: 1px solid rgba(107, 107, 99, 0.2);
    padding-top: 1.15rem;
    width: 100%;
}

.nlspm-profile-form ul.options-wrapper,
.nlspm-profile-form .options-wrapper {
    display: grid;
    gap: 0.65rem 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.nlspm-profile-form .options-wrapper li {
    margin: 0;
}

.nlspm-profile-form .options-wrapper label,
.nlspm-profile-form label:has(input[type="checkbox"]) {
    align-items: flex-start;
    color: #212121;
    cursor: pointer;
    display: flex;
    font-size: var(--text-m);
    font-weight: 400;
    gap: 0.55rem;
    letter-spacing: 0;
    line-height: 1.35;
    margin: 0;
    text-transform: none;
}

.nlspm-profile-form input[type="checkbox"] {
    accent-color: #3f5f4a;
    flex: 0 0 auto;
    height: 1.05rem;
    margin: 0.1rem 0 0;
    min-height: 0;
    padding: 0;
    width: 1.05rem;
}

.nlspm-profile-form h3 {
    color: #212121;
    font-size: var(--text-m);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 0.35rem;
}

.nlspm-profile-form p {
    color: #6b6b63;
    font-size: var(--text-m);
    line-height: 1.55;
    margin: 0 0 0.9rem;
}

.nlspm-request-form .submit-button-wrapper,
.nlspm-profile-form .submit-button-wrapper {
    margin-top: 0.5rem;
    padding-bottom: 0;
    width: 100%;
}

.nlspm-request-form .submit-button-wrapper .bricks-button,
.nlspm-profile-form .submit-button-wrapper .bricks-button,
.nlspm-request-form .btn--action,
.nlspm-profile-form .btn--action {
    background: #212121;
    border: 1px solid #212121;
    border-radius: 4px;
    color: #ffffff;
    font-family: Lato, Arial, sans-serif;
    font-size: var(--text-m);
    font-weight: 700;
    line-height: 1.2;
    min-height: 3rem;
    padding: 0.75rem 1.15rem;
    text-transform: uppercase;
}

.nlspm-request-form .submit-button-wrapper .bricks-button:hover,
.nlspm-profile-form .submit-button-wrapper .bricks-button:hover,
.nlspm-request-form .btn--action:hover,
.nlspm-profile-form .btn--action:hover {
    background: #8a6f3d;
    border-color: #8a6f3d;
    color: #ffffff;
}

.nlspm-message {
    background: #eef7ef;
    border-left: 4px solid #557b58;
    margin: 0 0 1rem;
    padding: 0.8rem 1rem;
}

.nlspm-timeout-notice {
    background: #fff7e6;
    border-left-color: #8a6f3d;
    color: #212121;
}

.intl-tel-wrapper {
    align-items: stretch;
    display: flex;
    gap: 10px;
    width: 100%;
}

.intl-tel-wrapper select {
    flex: 0 0 auto;
    min-width: 7.5rem;
    width: auto;
}

.intl-tel-wrapper input {
    flex: 1;
    min-width: 0;
}

.is-valid-phone {
    border-color: #2e7d32 !important;
}

.is-invalid-phone {
    border-color: #c62828 !important;
}

@media (max-width: 767px) {
    .nlspm-native-request,
    .nlspm-native-profile,
    .nlspm-native-expired {
        padding-inline: 1rem;
    }

    .nlspm-native-request > .brxe-container,
    .nlspm-native-profile > .brxe-container,
    .nlspm-native-expired > .brxe-container {
        padding: 1rem;
    }

    .nlspm-profile-form ul.options-wrapper,
    .nlspm-profile-form .options-wrapper {
        grid-template-columns: 1fr;
    }

    .intl-tel-wrapper {
        flex-direction: column;
    }

    .intl-tel-wrapper select {
        width: 100% !important;
    }
}
