body {
    height: 1071px !important;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* --------------------------------------------------------*/
/* Cookie Consent Styles (only on registration page for affiliates) */
/* --------------------------------------------------------*/
.cookie-consent-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--brand-green-dark);
    color: var(--brand-gradient);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    gap: 20px;
    z-index: 2000;
    font-family: var(--font-family);
    font-size: 14px;
}

.cookie-message {
    margin: 0;
    text-align: center;
    font-family: var(--font-family);
}

.cookie-accept-btn {
    background: var(--brand-green-light);;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    color: var(--brand-button-bg);;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 14px;
    transition: background 0.3s ease;
}

.cookie-accept-btn:hover {
    background: var(--brand-white);
}

.cookie-message a {
    color: var(--brand-green-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.cookie-message a:hover {
    color: var(--brand-white);
}

.cookie-message a:focus {
    outline: 2px solid var(--brand-green-light);
    outline-offset: 2px;
}


button,
input[type="text"],
input[type="email"],
input[type="password"],
select {
    all: unset;
    box-sizing: border-box;
}

button {
    cursor: pointer;
}

.logo {
    position: absolute;
    top: 20px;
    left: 20px;
}

.logo img {
    width: 240px;
    height: auto;
}

.register-container {
    text-align: center;
    width: 600px;
    height: auto;
    background: linear-gradient(180deg, rgba(27, 58, 26, 0.5) 0%, rgba(168, 204, 160, 0.5) 100%);
    box-shadow: 0 10px 30px 0 rgba(15, 31, 13, 0.36);
    border-radius: 8px;
}

.form-container {
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.inner-container {
    padding: 60px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.mandatory-fields {
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.register-container h2 {
    font-family: var(--font-family);
    font-style: normal;
    font-weight: 600;
    font-size: 32px;
    line-height: 39px;
    color: #FFFFFF;
    margin: unset;
}

.register-container input[type="text"],
.register-container input[type="email"],
.register-container input[type="password"],
.register-container select {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid rgba(250, 249, 246, 0.3);
    font-size: 14px;
    text-align: left;
    color: rgb(255, 255, 255);
}

.register-container input[type="text"]::placeholder,
.register-container input[type="email"]::placeholder,
.register-container input[type="password"]::placeholder,
.register-container select::placeholder {
    font-family: var(--font-family);
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 16px;
    color: rgba(250, 249, 246, 0.3);
}

.register-container select {
    font-family: var(--font-family);
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 16px;
    color: rgba(250, 249, 246, 0.3);
}

.register-container input[type="text"]:focus,
.register-container input[type="email"]:focus,
.register-container input[type="password"]:focus,
.register-container select:focus {
    outline: none;
    color: rgb(255, 255, 255);
    box-shadow: 0 0 8px var(--brand-green-light);
    background: transparent;
}

.mandatory-fields h4 {
    font-family: var(--font-family);
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #FFFFFF;
    text-align: left;
    margin: 0 0 10px;
}

.names {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.first-name-container,
.last-name-container {
    width: 50%;
}

.custom-select-wrapper {
    position: relative;
    user-select: none;
}

.custom-select {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(250, 249, 246, 0.3);
    border-radius: 6px;
}

.custom-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    font-family: var(--font-family);
    font-size: 14px;
    color: rgba(250, 249, 246, 0.3);
    cursor: pointer;
    background-color: transparent;
    border-radius: 6px;
}

.selected-country-container {
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
}

.country-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.custom-select.open .country-icon {
    transform: rotate(180deg);
}

.custom-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #000000;
    border: 1px solid rgba(250, 249, 246, 0.3);
    border-radius: 6px;
    margin-top: 5px;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
    display: none;
    z-index: 1000;
    text-align: start;
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.custom-select.open .custom-options {
    display: block;
}

.custom-option {
    padding: 10px;
    font-family: var(--font-family);
    font-size: 14px;
    color: rgba(250, 249, 246, 0.3);
    cursor: pointer;
    transition: color 0.3s ease;
}

.custom-option:hover {
    color: #ffffff;
}

.custom-option.selected {
    color: #ffffff;
}

.custom-option.disabled {
    color: rgba(250, 249, 246, 0.7);
    cursor: not-allowed;
}

.custom-select-trigger span.disabled {
    color: rgba(250, 249, 246, 0.7);
}

.custom-select-trigger span.selected {
    color: #ffffff;
}

.country-flag {
    width: 20px;
    height: 20px;
    margin-right: 5px;
    vertical-align: middle;
    border-radius: 40px;
}

.country-search-container {
    padding: 10px;
    border-bottom: 1px solid rgba(250, 249, 246, 0.3);
}

.country-search-input {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid rgba(250, 249, 246, 0.3);
    background-color: transparent;
    color: #FFFFFF;
    font-size: 14px;
}

.country-search-input::placeholder {
    color: rgba(250, 249, 246, 0.3);
}

.selected-flag {
    width: 20px;
    height: 20px;
    margin-right: 5px;
    vertical-align: middle;
    border-radius: 40px;
    display: none;
}

.selected-country-name {
    color: #FFFFFF;
}

.phone-number-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-code-select {
    flex-shrink: 0;
    width: 130px;
}

.phone-code-select .custom-select-trigger {
    padding: 8px;
    font-size: 14px;
}

.password-container {
    position: relative;
}

.password-container input[type="password"],
.password-container input[type="text"] {
    flex-grow: 1;
    font-size: 16px;
    line-height: 14px;
    border-radius: 8px;
}

.password-container input[type="password"]:focus {
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.password-icon {
    position: absolute;
    right: 10px;
    cursor: pointer;
    width: 24px;
    height: 40px;
}

.password-requirements {
    text-align: left;
    font-size: 12px;
    color: #ff6666;
    gap: 5px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.requirement {
    margin: unset;
    font-family: var(--font-family);
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    color: #FFFFFF;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}

.form-footer {
    display: flex;
    gap: 20px;
    flex-direction: column;
    align-items: center;
}

button.register-btn {
    display: inline-block;
    text-align: center;
    width: 150px;
    height: 38px;
    background: var(--brand-button-bg);
    box-shadow: 0 0 8px var(--brand-box-shadow);
    border-radius: 35px;
    border: 1px solid transparent;
    color: #FFFFFF;
    font-size: 18px;
    line-height: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button.register-btn:hover {
    background: transparent;
    color: var(--brand-button-bg);
    border: 1px solid var(--brand-button-bg);
}

.login-link {
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    color: rgba(255, 255, 255, 0.7);
}

.login-link a.log-in {
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-link a.log-in:hover {
    color: rgba(12, 12, 12, 0.8);
}

@media (max-width: 650px) {
    body {
        height: 1210px !important;
    }

    .logo {
        position: absolute;
        left: auto;
        right: auto;
    }

    .register-container {
        width: 92%;
    }

    .inner-container {
        padding: 20px;
    }

}