/* NextWebGuide version 2 additions */
.signup-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 170px;
    padding: 24px 18px;
    text-align: center;
    color: #27364a;
}

.signup-success__icon {
    position: relative;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #28a745;
    box-shadow: 0 10px 22px rgba(40, 167, 69, 0.22);
}

.signup-success__icon::after {
    content: "";
    position: absolute;
    top: 13px;
    left: 20px;
    width: 14px;
    height: 25px;
    border: solid #fff;
    border-width: 0 4px 4px 0;
    transform: rotate(45deg);
}

.signup-success h4 {
    margin: 8px 0 0;
    font-family: ITCClearfaceStd, Georgia, serif;
    font-size: 28px;
    color: #187ed1;
}

.signup-success p {
    max-width: 360px;
    margin: 0 auto;
    color: #4c5870;
}

.inline-registration .thank-you {
    display: none !important;
}

.v2-field-error,
#contact-form .error {
    display: block;
    margin: -4px 0 8px;
    color: #d12a21;
    font-size: 13px;
    line-height: 1.3;
}

.v2-invalid,
#contact-form .error + input,
#contact-form .error + textarea {
    border-color: #d12a21 !important;
}

.contact-form-page {
    padding: 72px 20px 88px;
    background:
        radial-gradient(circle at 18% 0%, rgba(24, 126, 209, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(56, 126, 203, 0.12) 0%, rgba(255, 255, 255, 0.96) 78%);
}

.contact-form-shell {
    max-width: 1120px;
    margin: 0 auto;
}

.contact-form-title {
    margin-bottom: 54px;
    text-align: center;
}

.contact-form-title h1 {
    margin: 0;
    font-family: ITCClearfaceStd, Georgia, serif;
    font-size: 56px;
    font-weight: 400;
    color: #27364a;
}

.contact-form-title p {
    max-width: 620px;
    margin: 12px auto 0;
    color: #4c5870;
    font-size: 18px;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 44px;
}

.contact-field {
    display: flex;
    flex-direction: column;
}

.contact-field--full {
    grid-column: 1 / -1;
}

.contact-field label {
    margin-bottom: 8px;
    color: #111827;
    font-family: lexendBold, Arial, sans-serif;
    font-size: 18px;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    border: 1px solid #b7c0ce;
    border-radius: 3px;
    background: #fff;
    color: #1f2937;
    font-size: 17px;
    line-height: 1.4;
    box-shadow: inset 0 1px 4px rgba(31, 41, 55, 0.12);
}

.contact-field input {
    padding: 9px 12px;
}

.contact-field textarea {
    min-height: 260px;
    padding: 14px;
    resize: vertical;
}

.contact-form-actions {
    display: flex;
    justify-content: center;
    grid-column: 1 / -1;
    margin-top: 8px;
}

.contact-submit {
    min-width: 220px;
    border: 2px solid #387ecb;
    border-radius: 35px;
    background: #387ecb;
    color: #fff;
    padding: 15px 34px;
    font-family: lexendBold, Arial, sans-serif;
    letter-spacing: 0;
    text-transform: uppercase;
    transition: background-color .25s ease, color .25s ease;
}

.contact-submit:hover,
.contact-submit:focus {
    background: #fff;
    color: #387ecb;
}

.contact-success {
    display: none;
    max-width: 680px;
    margin: 40px auto 0;
    padding: 28px;
    border: 2px solid rgba(56, 126, 203, 0.25);
    border-radius: 6px;
    background: #fff;
    text-align: center;
    color: #27364a;
    box-shadow: 0 18px 40px rgba(39, 54, 74, 0.10);
}

.contact-success.is-visible {
    display: block;
}

.contact-success h2 {
    margin: 8px 0;
    font-family: ITCClearfaceStd, Georgia, serif;
    color: #187ed1;
}

.do-not-sell-modal {
    border: 0;
    border-radius: 5px;
    overflow: hidden;
}

.do-not-sell-modal .modal-header {
    padding: 16px 18px 0;
    border: 0;
}

.do-not-sell-modal .close {
    margin-left: auto;
}

.do-not-sell-modal .modal-body {
    padding: 8px 34px 28px;
}

#exampleModal .modal-dialog,
#doNotSellModal .modal-dialog {
    max-width: 500px;
}

.do-not-sell-intro {
    max-width: 430px;
    margin: 0 auto 26px;
    text-align: center;
}

.do-not-sell-intro h5,
.club-modal .modal-title {
    margin: 0 0 14px;
    width: 100%;
    text-align: center;
    font-family: lexendBold, Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #27364a;
}

.do-not-sell-intro p,
.club-modal .modal-body p {
    margin: 0;
    color: #111827;
    font-family: senRegular, Arial, sans-serif !important;
    font-size: 16px;
    line-height: 1.45;
}

#do-not-sell-form,
.club-modal #modal-form,
.modal-content.club-modal .modal-body #signup {
    max-width: 390px;
    margin: 0 auto;
    padding-top: 0;
    padding-bottom: 0;    
}

#do-not-sell-form input,
.club-modal #modal-form input,
.modal-content.club-modal .modal-body #signup input {
    width: 100%;
    height: 46px;
    margin-bottom: 12px;
    padding: 10px 12px;
    border: 1px solid #aeb7c4;
    border-radius: 5px;
    background: #fff;
    color: #1f2937;
    font-family: senRegular, Arial, sans-serif !important;
    font-size: 17px;
    box-sizing: border-box;
}

#do-not-sell-form .do-not-sell-submit,
.club-modal #modal-form .btn-style-2,
.modal-content.club-modal .modal-body #signup .uni-btn {
    width: 100%;
    min-height: 50px;
    border: 2px solid #387ecb;
    border-radius: 5px;
    background: #387ecb;
    color: #fff;
    padding: 12px 18px;
    font-family: lexendBold, Arial, sans-serif;
    font-size: 18px;
    letter-spacing: 0;
    text-transform: uppercase;
    transition: background-color .25s ease, color .25s ease;
    line-height: normal;
}

#do-not-sell-form .do-not-sell-submit:hover,
.club-modal #modal-form .btn-style-2:hover,
.club-modal #modal-form .btn-style-2:focus,
.modal-content.club-modal .modal-body #signup .uni-btn:hover,
.modal-content.club-modal .modal-body #signup .uni-btn:focus,
#do-not-sell-form .do-not-sell-submit:focus {
    background: #fff;
    color: #387ecb;
}

.do-not-sell-modal .modal-footer {
    justify-content: center;
    padding: 16px 24px 22px;
    text-align: center;
}

.do-not-sell-modal .modal-footer small {
    font-size: 12px;
    display: block;
    color: #27364a;
    line-height: 1.7;
}

.club-modal .modal-header {
    padding: 16px 18px 0;
    border: 0;
}

.club-modal .modal-header .close {
    margin-left: auto;
}

.club-modal .modal-body {
    padding: 8px 34px 28px;
}

.club-modal #modal-form .btn-style-2,
.modal-content.club-modal .modal-body #signup .uni-btn {
    margin-left: 0;
}

.club-modal .signup-content h5,
.club-modal .signup-content br {
    display: none;
}

.club-modal .modal-footer {
    justify-content: center;
    padding: 16px 24px 22px;
    text-align: center;
}

.club-modal .modal-footer small {
    font-size: 12px;
    display: block;
    color: #27364a;
    line-height: 1.7;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.club-modal .modal-footer small a {
        color: #007bff;
    text-decoration: none;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
    font-family: senRegular, 'Lucida Sans', 'Lucida Sans Regular' !important;
}

.join-club-trigger {
    width: auto;
}

.do-not-sell-success {
    display: none;
}

.do-not-sell-success.is-visible {
    display: flex;
}

@media screen and (max-width: 768px) {
    .contact-form-page {
        padding: 52px 18px 72px;
    }

    .contact-form-title {
        margin-bottom: 36px;
    }

    .contact-form-title h1 {
        font-size: 42px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .contact-field textarea {
        min-height: 210px;
    }
}
