.lcps-apply__intro h1 {
    max-width: 12ch;
    font-size: 2.75rem;
}

#applynowfrmmain.lcps-apply__form {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 42px;
    border: 1px solid rgba(16, 42, 50, 0.07);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 22px 55px rgba(21, 50, 58, 0.1);
}

.lcps-apply__form .lcps-apply__section {
    min-width: 0;
    margin: 0;
    padding: 34px 0;
    border: 0;
    border-bottom: 1px solid var(--lcps-partnership-line);
}

.lcps-apply__form .row {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    margin: 0 0 20px;
}

.lcps-apply__form .row:last-child {
    margin-bottom: 0;
}

.lcps-apply__form .col,
.lcps-apply__form [class*="col-"] {
    width: auto;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.lcps-apply__form .col-12 {
    grid-column: span 12;
}

.lcps-apply__form .col-lg-6,
.lcps-apply__form .col-6 {
    grid-column: span 6;
}

.lcps-apply__form .col-lg-4 {
    grid-column: span 4;
}

.lcps-apply__form label,
.lcps-apply__form .custom-radio-group {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    color: var(--lcps-partnership-ink);
    font-size: 0.91rem;
    font-weight: 700;
    line-height: 1.45;
}

.lcps-apply__form label > span,
.lcps-apply__form .group-label > span {
    display: block;
    margin-bottom: 8px;
    color: var(--lcps-partnership-ink);
    font-size: 0.91rem;
    font-weight: 700;
}

.lcps-apply__form label > span span,
.lcps-apply__form .group-label > span span {
    display: inline;
    margin: 0;
    color: #b33b52 !important;
}

.lcps-apply__form input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]),
.lcps-apply__form select,
.lcps-apply__form textarea {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #cfdedb;
    border-radius: 6px;
    outline: none;
    background: #fbfdfc;
    color: #162f36;
    font: inherit;
    font-weight: 500;
    line-height: 1.45;
    box-shadow: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.lcps-apply__form input::placeholder,
.lcps-apply__form textarea::placeholder {
    color: #8b9a9e;
    opacity: 1;
}

.lcps-apply__form input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]):hover,
.lcps-apply__form select:hover,
.lcps-apply__form textarea:hover {
    border-color: #9dbbb6;
}

.lcps-apply__form input:not([type="hidden"]):focus,
.lcps-apply__form select:focus,
.lcps-apply__form textarea:focus {
    border-color: var(--lcps-partnership-teal);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(22, 143, 135, 0.13);
}

.lcps-apply__form input:user-invalid,
.lcps-apply__form select:user-invalid,
.lcps-apply__form textarea:user-invalid {
    border-color: #b33b52;
}

.lcps-apply__form .custom-radio-group {
    height: 100%;
    padding: 18px;
    border-radius: 6px;
    background: #f3f8f7;
}

.lcps-apply__form .group-label {
    margin-bottom: 12px;
}

.lcps-apply__form .radio-option {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    margin-top: 10px;
}

.lcps-apply__form .radio-option input[type="radio"] {
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
    accent-color: var(--lcps-partnership-teal);
}

.lcps-apply__form .radio-option label {
    width: auto;
    margin: 0;
    color: #36545d;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
}

.lcps-apply__form .custom-radio-group:has(input:checked) {
    background: #eaf6f3;
}

#applynowfrmmain #agency-name {
    display: none;
}

.lcps-apply__form .custom-radio-group:has(input.invalid) > label::after,
.lcps-apply__form label:has(select.invalid) > span::after,
.lcps-apply__form label:has(input.invalid) > span::after {
    content: "Required";
    display: inline-block;
    margin-left: 8px;
    padding: 3px 6px;
    border-radius: 4px;
    background: #fbe9ec;
    color: #8b2e41 !important;
    font-size: 0.67rem;
    font-weight: 700;
    vertical-align: middle;
}

.lcps-apply__section--confirmation {
    padding-bottom: 24px;
}

.lcps-apply__form .lcps-apply__confirmation-row {
    margin-bottom: 12px;
}

.lcps-apply__confirmation-row label {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 14px 15px;
    border-radius: 6px;
    background: #f3f8f7;
    cursor: pointer;
}

.lcps-apply__confirmation-row input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
    accent-color: var(--lcps-partnership-teal);
}

.lcps-apply__confirmation-row label > span {
    margin: 0;
    color: #36545d;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.55;
}

.lcps-apply__confirmation-row a {
    color: var(--lcps-partnership-teal-dark);
    font-weight: 800;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.lcps-apply__form .lcps-apply__submit-row {
    margin: 0;
    padding-top: 30px;
}

.lcps-apply__submit-row .col {
    display: flex;
    grid-column: 1 / -1;
    gap: 22px;
    align-items: center;
    justify-content: space-between;
}

.lcps-apply__submit-row p {
    max-width: 360px;
    margin: 0;
    color: #657a80;
    font-size: 0.8rem;
    line-height: 1.55;
}

#applynowfrmmain .lcps-apply__button {
    display: inline-flex;
    gap: 14px;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    margin: 0;
    padding: 12px 18px 12px 22px;
    border: 0;
    border-radius: 6px;
    background: var(--lcps-partnership-ink);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 180ms ease, box-shadow 180ms ease;
}

#applynowfrmmain .lcps-apply__button .material-symbols-rounded {
    display: grid;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--lcps-partnership-teal);
    color: #ffffff;
    font-size: 18px;
    place-items: center;
    transition: transform 180ms ease, background-color 180ms ease;
}

#applynowfrmmain .lcps-apply__button:hover,
#applynowfrmmain .lcps-apply__button:focus-visible {
    background: #173c45;
    box-shadow: 0 12px 24px rgba(16, 42, 50, 0.18);
}

#applynowfrmmain .lcps-apply__button:hover .material-symbols-rounded,
#applynowfrmmain .lcps-apply__button:focus-visible .material-symbols-rounded {
    background: #1eb0a6;
    transform: translateX(3px);
}

#applynowfrmmain .lcps-apply__button:focus-visible {
    outline: 3px solid rgba(22, 143, 135, 0.24);
    outline-offset: 3px;
}

#applynowfrmmain .lcps-apply__button:disabled {
    cursor: wait;
    opacity: 0.72;
}

@media (max-width: 1120px) and (min-width: 981px) {
    .lcps-apply__form .col-lg-4 {
        grid-column: span 12;
    }
}

@media (max-width: 980px) {
    .lcps-apply__intro h1 {
        max-width: none;
    }
}

@media (max-width: 720px) {
    #applynowfrmmain.lcps-apply__form {
        padding: 28px 20px;
    }

    .lcps-apply__form .row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .lcps-apply__form .col-12,
    .lcps-apply__form .col-lg-6,
    .lcps-apply__form .col-6,
    .lcps-apply__form .col-lg-4 {
        grid-column: auto;
    }

    .lcps-apply__form .custom-radio-group {
        padding: 16px;
    }

    .lcps-apply__submit-row .col {
        align-items: stretch;
        flex-direction: column;
    }

    #applynowfrmmain .lcps-apply__button {
        width: 100%;
    }
}

@media (max-width: 420px) {
    #applynowfrmmain.lcps-apply__form {
        padding-right: 16px;
        padding-left: 16px;
    }
}
