.form-signup-wrapper {
    display: block;
}

input {
    box-sizing: border-box;
    background-color: #fff;
}

button[type=submit] {
    width: 100%;
    padding: 15px;
    height: auto;
    cursor: pointer;
}

/* Validation states */
#phone.false,
input.false {
    border: 1px solid #cf0000;
    background-color: #ffe3e3;
    transition: unset;
}

input.valid {
    border: 1px solid #23b100;
    background-color: #eaffe5;
}

form input.false,
form input.false:focus,
form input.valid,
form input.valid:focus {
    color: #444;
}

/* Form feedback message */
.form-message {
    display: none;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.form-message._success,
.form-message._error {
    display: block;
}

.form-message._success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.form-message._error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* ============================================================
   § 2  INTGRTN FORM FRAMEWORK  (form-styles.css)
   ============================================================ */

.intgrtn-form-signup {
    position: relative;
}

.intgrtn-form-signup,
.intgrtn-form-signup * {
    margin: 0;
    padding: 0;
    outline: 0;
    box-sizing: border-box;
    text-indent: 0;
    text-align: left;
    font-weight: normal;
}

.intgrtn-form-signup .intgrtn-input-holder {
    margin-bottom: 10px;
}

.intgrtn-form-signup .intgrtn-input {
    -webkit-appearance: none;
    border: 1px solid #ccc;
    border-radius: 2px;
    padding: 5px;
    margin: 0;
    background-color: #fff;
    display: block;
    width: 100%;
}

.intgrtn-form-signup .intgrtn-input[disabled] {
    cursor: not-allowed;
}

.intgrtn-form-signup .intgrtn-input.intgrtn-invalid {
    border-color: #f44336;
}

.intgrtn-form-signup .intgrtn-btn-submit-holder {
    margin-bottom: 10px;
    text-align: center;
}

.intgrtn-form-signup .intgrtn-btn-submit {
    font-size: 14px;
    display: inline-block;
    padding: 8px 16px;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    user-select: none;
    border: 0;
    border-radius: 2px;
    background: #337ab7;
    color: #fff;
    transition: all 0.2s linear;
    width: 100%;
}

.intgrtn-form-signup .intgrtn-btn-submit:hover {
    background: #265a87;
}

.intgrtn-form-signup .intgrtn-btn-submit[disabled] {
    opacity: 0.8;
    background: #ccc;
    cursor: not-allowed;
}

.intgrtn-hidden-1 {
    padding: 0 !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
}

[data-intgrtn-offer-name],
[data-intgrtn-offer-logo] {
    opacity: 0;
}

.intgrtn-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

/* ============================================================
   § 3  TASK4 DESIGN OVERRIDES  (intgrtn.css)
   Higher specificity wins over § 2 above.
   ============================================================ */

.form-signup-wrapper .intgrtn-form-signup .intgrtn-input-holder .intgrtn-input {
    min-height: 30px;
    outline: none;
    position: relative;
    background-position: 50% 50%;
    background-repeat: no-repeat !important;
    border: 1px solid #bbb;
    background-color: #FDFDFD;
    border-radius: var(--border-radius);
    padding: 15px 10px 15px 20px;
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 1rem;
}

.form-signup-wrapper .intgrtn-form-signup .has-btn-generate-password {
    display: none;
}

.form-signup-wrapper .intgrtn-form-signup .intgrtn-btn-submit-holder .intgrtn-btn-submit {
    height: 56px;
    background: var(--btn-bg-color);
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.3rem;
    text-transform: uppercase;
    color: #FFFFFF;
    border: none;
    transition: 0.2s;
}

/* ============================================================
   § 4  PHONE INPUT (intl-tel-input overrides + spinner)
   ============================================================ */

.iti {
    color: #000;
    position: relative;
}

.intgrtn-input-holder-phone {
    position: relative;
    width: 100%;
}

.iti.iti--allow-dropdown {
    width: 100%;
    position: relative;
}

.iti.iti--allow-dropdown.iti--separate-dial-code {
    width: 100%;
}

.iti--separate-dial-code .iti__flag-container {
    position: absolute;
    left: 0;
    right: auto;
    top: 0;
    bottom: 0;
    z-index: 10;
    width: 100px;
}

.iti--separate-dial-code .iti__selected-flag {
    display: flex;
    align-items: center;
    padding: 0 6px;
    height: 100%;
    white-space: nowrap;
    width: 75px;
    max-width: 75px;
    min-width: 75px;
    flex-shrink: 0;
}

.iti__selected-flag {
    width: 75px;
    max-width: 75px;
}

.iti--separate-dial-code .iti__selected-dial-code {
    padding-left: 4px;
    color: #555;
    font-size: 14px;
}

.iti input {
    z-index: 0;
}

.iti__country-list {
    z-index: 10000;
    position: absolute;
    display: block;
    visibility: visible;
    background-color: #fff;
    color: #333;
    border: 1px solid #ccc;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    overflow-y: auto;
    max-height: 200px;
}

.iti--container {
    z-index: 10001;
    position: absolute;
    display: block;
    visibility: visible;
    background-color: #fff;
}

.iti__search-input {
    background-color: #fff;
    color: #333;
    border-bottom: 1px solid #eee;
}

.iti__country.iti__highlight,
.iti__country:hover {
    background-color: #f5f5f5;
}

body > .iti--container,
.intgrtn-input-holder-phone .iti--container {
    width: auto;
    min-width: auto;
    max-width: none;
}

.intgrtn-input-holder-phone .iti__country-list,
.intgrtn-input-holder-phone .iti .iti__country-list {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
}

.iti--container:not(:first-child) {
    display: block;
    visibility: visible;
}

.iti.iti--container {
    display: block !important;
}

.iti__country {
    cursor: pointer !important;
}

.iti__flag-container {
    z-index: 10 !important;
}

.iti__selected-flag {
    width: 75px !important;
    z-index: 10 !important;
    position: relative;
    cursor: pointer !important;
    background-color: rgba(0, 0, 0, 0.05);
}

.iti__selected-flag:hover {
    background-color: rgba(0, 0, 0, 0.08);
}

.iti__flag {
    position: relative;
    z-index: 10 !important;
}

.iti input,
.iti input[type=text],
.iti input[type=tel] {
    position: relative;
    z-index: 0;
}

.signup-form-wrapper {
    position: relative;
    z-index: 1;
    overflow: visible !important;
}

.intgrtn-input-holder-phone,
.iti.iti--allow-dropdown {
    overflow: visible !important;
}

/* Loading spinner */
.myspinner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    background-color: #1c1c1ce6;
}

.lds-roller {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(.5, 0, .5, 1) infinite;
    transform-origin: 40px 40px;
}

.lds-roller div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    margin: -4px 0 0 -4px;
}

.lds-roller div:nth-child(1) { animation-delay: -36ms }
.lds-roller div:nth-child(1):after { top: 63px; left: 63px }
.lds-roller div:nth-child(2) { animation-delay: -72ms }
.lds-roller div:nth-child(2):after { top: 68px; left: 56px }
.lds-roller div:nth-child(3) { animation-delay: -108ms }
.lds-roller div:nth-child(3):after { top: 71px; left: 48px }
.lds-roller div:nth-child(4) { animation-delay: -144ms }
.lds-roller div:nth-child(4):after { top: 72px; left: 40px }
.lds-roller div:nth-child(5) { animation-delay: -.18s }
.lds-roller div:nth-child(5):after { top: 71px; left: 32px }
.lds-roller div:nth-child(6) { animation-delay: -216ms }
.lds-roller div:nth-child(6):after { top: 68px; left: 24px }
.lds-roller div:nth-child(7) { animation-delay: -252ms }
.lds-roller div:nth-child(7):after { top: 63px; left: 17px }
.lds-roller div:nth-child(8) { animation-delay: -288ms }
.lds-roller div:nth-child(8):after { top: 56px; left: 12px }

@keyframes lds-roller {
    0%   { transform: rotate(0) }
    100% { transform: rotate(360deg) }
}

.text-white12 {
    color: #a79d9d;
    z-index: 0;
}
