*, ::before, ::after {
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-pan-x: ;
    --tw-pan-y: ;
    --tw-pinch-zoom: ;
    --tw-scroll-snap-strictness: proximity;
    --tw-gradient-from-position: ;
    --tw-gradient-via-position: ;
    --tw-gradient-to-position: ;
    --tw-ordinal: ;
    --tw-slashed-zero: ;
    --tw-numeric-figure: ;
    --tw-numeric-spacing: ;
    --tw-numeric-fraction: ;
    --tw-ring-inset: ;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(59 130 246 / 0.5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    --tw-blur: ;
    --tw-brightness: ;
    --tw-contrast: ;
    --tw-grayscale: ;
    --tw-hue-rotate: ;
    --tw-invert: ;
    --tw-saturate: ;
    --tw-sepia: ;
    --tw-drop-shadow: ;
    --tw-backdrop-blur: ;
    --tw-backdrop-brightness: ;
    --tw-backdrop-contrast: ;
    --tw-backdrop-grayscale: ;
    --tw-backdrop-hue-rotate: ;
    --tw-backdrop-invert: ;
    --tw-backdrop-opacity: ;
    --tw-backdrop-saturate: ;
    --tw-backdrop-sepia: ;
    --tw-contain-size: ;
    --tw-contain-layout: ;
    --tw-contain-paint: ;
    --tw-contain-style: ;
}

::backdrop {
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-pan-x: ;
    --tw-pan-y: ;
    --tw-pinch-zoom: ;
    --tw-scroll-snap-strictness: proximity;
    --tw-gradient-from-position: ;
    --tw-gradient-via-position: ;
    --tw-gradient-to-position: ;
    --tw-ordinal: ;
    --tw-slashed-zero: ;
    --tw-numeric-figure: ;
    --tw-numeric-spacing: ;
    --tw-numeric-fraction: ;
    --tw-ring-inset: ;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(59 130 246 / 0.5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    --tw-blur: ;
    --tw-brightness: ;
    --tw-contrast: ;
    --tw-grayscale: ;
    --tw-hue-rotate: ;
    --tw-invert: ;
    --tw-saturate: ;
    --tw-sepia: ;
    --tw-drop-shadow: ;
    --tw-backdrop-blur: ;
    --tw-backdrop-brightness: ;
    --tw-backdrop-contrast: ;
    --tw-backdrop-grayscale: ;
    --tw-backdrop-hue-rotate: ;
    --tw-backdrop-invert: ;
    --tw-backdrop-opacity: ;
    --tw-backdrop-saturate: ;
    --tw-backdrop-sepia: ;
    --tw-contain-size: ;
    --tw-contain-layout: ;
    --tw-contain-paint: ;
    --tw-contain-style: ;
}

*, ::before, ::after {
    box-sizing: border-box;
    /* 1 */
    border-width: 0;
    /* 2 */
    border-style: solid;
    /* 2 */
    border-color: #e5e7eb;
    /* 2 */
}

::before, ::after {
    --tw-content: '';
}

.material-symbols-sharp {
    font-family: 'Material Symbols Sharp';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;  /* control icon size */
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
}

/* Heart Background Pattern Styles */
body {
    position: relative;
    overflow-x: hidden;
}

.heart-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -10;
    filter: blur(110px);
}

.heart-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(310.48deg, #F6E6FC 30.21%, #DEECFF 88.52%);
    -webkit-mask-image: url("../img/heart-right.svg");
    mask-image: url("../img/heart-right.svg");
    -webkit-mask-repeat: repeat-y;
    mask-repeat: repeat-y;
    -webkit-mask-position: right -600px top 50px;
    mask-position: right -600px top 50px;
}

.heart-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(310.48deg, rgba(238, 195, 253, 0.4) 30.21%, rgba(198, 219, 248, 0.4) 88.52%);
    -webkit-mask-image: url("../img/heart-left.svg");
    mask-image: url("../img/heart-left.svg");
    -webkit-mask-repeat: repeat-y;
    mask-repeat: repeat-y;
    -webkit-mask-position: left -600px top 1100px;
    mask-position: left -600px top 1100px;
}

@media (max-width: 767px) {
    .heart-background::before {
        -webkit-mask-image: url('https://acc.erc.edu/images/heart-tile-mobile.svg');
        mask-image: url('https://acc.erc.edu/images/heart-tile-mobile.svg');
        -webkit-mask-position: right -100px top 60px;
        mask-position: right -100px top 60px;
    }

    .heart-background::after {
        -webkit-mask-image: url('https://acc.erc.edu/images/heart-tile-mobile.svg');
        mask-image: url('https://acc.erc.edu/images/heart-tile-mobile.svg');
        -webkit-mask-position: left -150px top 657px;
        mask-position: left -150px top 657px;
    }
}

.source-sans-3-regular {
    font-family: "Source Sans 3", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.primary-link {
    color: #003F8B;
    text-decoration: none;
    display: inline-block;
}

.primary-link:hover {
    background: #F2F2F2;
    border-radius: 25px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.header img {
    width: 135px;
}

h1 {
    color: #003F8B;
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 25px;
}

.main-form {
    background: #FFFFFF;
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #EFEFEF;
}

.form-item {
    margin-bottom: 20px;
}

.form-item label {
    margin-bottom: 5px;
}

.form-item.container-addressLine2 label {
    display: none;
}

.flash {
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.flash-danger {
    border: 1px solid #dc3545;
    background: #f1aeb5;
    color: #58151c;
}

.alert {
    padding: 0;
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
}

label.control.checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
}

label.control.checkbox input[type="checkbox"] {
    margin: 0; /* remove default misaligned margins */
}

.form-item.with-error {
    input {
        border: 1px solid #dc3545;
    }
}

.form-item input[type=checkbox] {
    width: 1em;
    height: 1em;
    display: inline-block;
    margin-right: 5px;
    margin-top: 3px;
    padding: 3px;
    border-radius: 5px;
}

.form-item a {
    color: #000000;
    text-decoration: underline;
}

.form-check-input:checked {
    background-color: #003F8B;
    border-color: #003F8B;
}

#registration-invoice-data {
    border-radius: 5px;
    padding: 20px;
    background: #F7F7F7;
}

.select2-container .select2-selection--single {
    height: 37px !important;
    display: flex !important;
    border: var(--bs-border-width) solid var(--bs-border-color) !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-top: 4px;
    padding-bottom: 4px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 5px !important;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    display: none !important;
}

.select2-results__options {
    font-family: "Source Sans 3", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.select2-dropdown {
    border-color: var(--bs-border-color) !important;
}

.vat-within-eu {
    margin-right: 20px;
}

.erc-vat-number .radio-inline {
    margin-right: 10px;
}

.erc-vat-number .radio-inline input {
    margin-right: 5px;
}

input.button-primary, .form-submit {
    background: #003F8B;
    color: #FFF;
    padding: 10px 20px;
    border-radius: 100px;
    transition: all 0.2s ease;
}

.form-submit span {
    margin-right: 10px;
}

.form-submit:hover {
    background: #1A1A1A;
}

.vat-selector {
    margin-bottom: 10px;
}

.form-output.vat-selector:has(.erc-vat-number-number) {
    display: flex;
    align-items: center;
}

.country-code-display {
    margin-right: 10px;
}

.footer {
    margin-top: 50px;
}

.we-are-erc {
    border-top: 1px solid #CCCCCC;
    border-bottom: 1px solid #CCCCCC;
}

.we-are-erc {
    font-weight: 700;
    color: #003F8B;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 40px;
}

.we-are-erc img {
    width: 135px;
    margin-bottom: 20px;
}

.we-are-erc p {
    text-align: center;
    margin: 0;
}

.legal-info.out-shop {
    padding: 40px;
    font-size: 14px;
}

.footer-links {
    background-image: linear-gradient(96deg, #003F8B 0%, #7F0022 100%);
    text-align: left;
    color: #FFFFFF;
    font-size: 14px;
    padding: 40px;
}

.footer-links a {
    color: #FFFFFF;
    display: block;
    text-decoration: none;
    padding: 5px 0;
}

.footer-links a:first-of-type {
    padding-top: 10px;
}

.footer-links span {
    display: none;
}

.grecaptcha-badge {
    z-index: 9999; /* Bring it above everything */
}

@media (min-width: 768px) {
    .header img {
        width: 215px;
    }

    main {
        margin-bottom: 50px;
    }

    .we-are-erc {
        justify-content: flex-start;
        align-items: center;
        flex-direction: row;
        padding-left: 80px;
    }

    .we-are-erc img {
        margin-right: 40px;
        margin-bottom: 0;
    }

    .footer-links {
        text-align: center;
    }

    .footer-links a {
        display: inline-block;
        padding: 0 7px;
    }

    .footer-links span {
        display: inline-block;
    }

    .footer-links a span {
        font-size: 10px;
    }

    .footer-links span:first-of-type {
        margin-left: 10px;
    }
}

@media (min-width: 1200px) {
    .form-item.container-zip {
        width: 47%;
        float: left;
    }

    .form-item.container-city {
        width: 47%;
        float: right;
    }

    .form-item.container-state {
        width: 47%;
        float: left;
    }
    .form-item.container-country {
        width: 47%;
        float: right;
    }

    #registration-invoice-data .form-item:last-of-type {
        clear: both;
    }

    #registration-invoice-form .form-item:last-of-type {
        clear: none;
    }

    .form-output.erc-vat-number {
        margin-left: 20px;
        border-left: 1px solid #C8C8C8;
        padding-left: 20px;
    }
}