/* Block: pl-blocks/report-banner */
/* Layout is Tailwind (render.php / index.js). This file only styles the
   markup HubSpot injects, which Tailwind classes can't reach. Adapted from
   the theme's parts/blocks/byg-magazine.php. */

.pl-report-banner__form form.hs-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    background: none;
    box-shadow: none;
    border: none;
}
.pl-report-banner__form form.hs-form  .hs-submit{
    width:100%;
}

.pl-report-banner__form form.hs-form fieldset {
    max-width: 100% !important;
}

.pl-report-banner__form form.hs-form .hs-form-field {
    flex: 0 0 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
    order: 0;
}

/* Placeholder-only design — keep labels for screen readers. */
.pl-report-banner__form form.hs-form .hs-form-field > label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.pl-report-banner__form form.hs-form .hs-form-field input,
.pl-report-banner__form form.hs-form .hs-form-field select,
.pl-report-banner__form form.hs-form .hs-form-field textarea {
    width: 100% !important;
    height: 44px;
    padding: 10px 14px;
    background-color: #FFFFFF;
    border: 1px solid #D0D5DD;
    border-radius: 8px;
    box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
    font-size: 14px;
    line-height: 20px;
    color: #101828;
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    outline: none;
}

.pl-report-banner__form form.hs-form .hs-form-field input:focus,
.pl-report-banner__form form.hs-form .hs-form-field select:focus,
.pl-report-banner__form form.hs-form .hs-form-field textarea:focus {
    box-shadow: 0 0 0 2px #24B770;
}

.pl-report-banner__form form.hs-form .hs-form-field input::placeholder,
.pl-report-banner__form form.hs-form .hs-form-field textarea::placeholder {
    font-size: 14px;
    color: #667085;
}

/* Submit */
.pl-report-banner__form form.hs-form .actions {
    order: 1;
    width: 100%;
    margin: 0;
    padding: 0;
}

.pl-report-banner__form form.hs-form .hs-submit input[type="submit"] {
    display: block;
    width: 100%;
    margin: 0;
    padding: 16px 22px;
    background-color: #24B770;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
    transition: background-color .2s ease;
}

.pl-report-banner__form form.hs-form .hs-submit input[type="submit"]:hover {
    background-color: #1F9E61;
}

.pl-report-banner__form form.hs-form .hs-submit input[type="submit"]:focus-visible {
    outline: 2px solid #1F9E61;
    outline-offset: 2px;
}

/* Privacy text — below the button */
.pl-report-banner__form .legal-consent-container {
    order: 2;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
}

.pl-report-banner__form .legal-consent-container .hs-richtext,
.pl-report-banner__form .legal-consent-container .hs-richtext p,
.pl-report-banner__form .legal-consent-container .hs-richtext span {
    display: block;
    margin: 0;
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    line-height: 18px !important;
    font-weight: 400 !important;
    color: #6E759F !important;
    text-align: center !important;
}

.pl-report-banner__form .legal-consent-container .hs-richtext a {
    color: #6E759F !important;
    text-decoration: underline;
}

/* Errors */
.pl-report-banner__form form.hs-form .hs-error-msgs {
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
}

.pl-report-banner__form form.hs-form .hs-error-msgs .hs-error-msg,
.pl-report-banner__form form.hs-form .hs_error_rollup .hs-main-font-element {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    line-height: 16px;
    color: #F04438;
}

.pl-report-banner__form form.hs-form .hs_error_rollup {
    order: 3;
    width: 100%;
    text-align: center;
}

.pl-report-banner__form form.hs-form [class*="cofeedback"] .feedback_msg {
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    line-height: 16px !important;
    color: #F04438 !important;
    text-align: left;
    margin-top: 4px;
}

.pl-report-banner__form form.hs-form [class*="cofeedback"] .feedback_msg a {
    color: #0270e0 !important;
}

/* Thank-you message */
.pl-report-banner__form .submitted-message > div:first-child {
    color: #0F1556;
    font-size: 30px;
    line-height: 38px;
    font-weight: 700;
    padding-bottom: 16px;
}

.pl-report-banner__form .submitted-message > div:last-child {
    color: #667085;
    font-size: 16px;
    line-height: 24px;
}

.pl-report-banner__form .submitted-message a {
    color: #24B770;
    text-decoration: underline;
}
