:root {
    --ui-content-radius: 1rem;
    --ui-body-bg: #faf9f8;
}

body {
    min-width: 350px;
    background-color: var(--ui-body-bg);
}

a {
    color: #19181b;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    color: #48484a;
}

.bold {
    font-weight: 600;
}

.btn-ui {
    color: #fff;
    background: #19181b;
}

.btn-login-submit {
    font-size: 15px;
}

.btn-ui:hover {
    color: #fff;
}

#btn-login,
#btn-continue {
    transition: background-color 0.25s ease-in-out;
}

.btn-ui:hover,
#btn-login:hover {
    background: #d91d4b;
}

.check-mark {
    position: absolute;
    top: -8px;
    right: 5px;
}

.clickable {
    cursor: pointer;
}

.footer-login {
    position: fixed;
    bottom: 0px;
    width: 100%;
    background: #fff;
    z-index: 999;
    font-size: 14px;
}

footer ul {
    display: flex;
    list-style-type: none;
    padding-inline-start: 0;
    margin: 0;
    justify-content: center;
}

footer a {
    display: inline-block;
    position: relative;
    color: #666;
    padding: 10px;
    transition: color 0.25s ease-in-out;
}

footer a:hover {
    color: #000;
}

footer li:not(:last-child) a::after {
    position: absolute;
    display: inline-block;
    content: '';
    background: #999;
    width: 1px;
    height: 18px;
    right: 0;
    top: 12px;
}

.form-control {
    color: #000;
}

.form-divider {
    border-top: 1px solid #e0e0e0;
}

.img-center {
    display: block;
    margin: 0 auto;
}

label.error,
span.required-hint,
.text-password-danger,
.invalid-survey,
.form-floating > .form-select ~ label.error {
    color: red;
    font-weight: 600;
}

/* enable ellipsis behaviour */
.form-floating > label {
    width: 100%;
}

/* override bs5 floating-label defaults */
.form-floating > .form-control-plaintext ~ label.error,
.form-floating > .form-control:focus ~ label.error,
.form-floating > .form-control:not(:placeholder-shown) ~ label.error,
.form-floating > .form-select ~ label.error,
.form-floating > .form-control:-webkit-autofill ~ label.error {
    opacity: 1;
    transform: scale(1);
    color: red;
}

li.list-group-item > i,
li.list-group-item > img {
    float: right;
}

.login-wrapper .row > div {
    max-width: 500px;
}

#login {
    padding-top: 20px;
    margin-bottom: 50px;
}

#login .card img {
    width: 100%;
    max-width: 250px;
}

main > .container,
.navbar > .container,
#login > .container,
#section-email-confirm > .container {
    max-width: 1024px;
}

body.view-authregistration-register .container {
    max-width: 786px;
}

body.view-account-create .container {
    max-width: 768px;
}

#login .form-wrap {
    width: 30%;
    margin: 0 auto;
}

#login h3 {
    color: #48484a;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    padding-bottom: 10px;
    /*line-height: 22px;*/
    margin-top: 20px;
}
#login h3 {
    font-weight: 600;
}

#login .forget {
    font-size: 13px;
    text-align: center;
    display: block;
}

#section-email-confirm p {
    font-size: 20px;
}

.list-group {
    box-shadow: 0px 3px 0px rgba(0, 0, 0, 0.3);
}

.list-group-item {
    color: #333;
    background-color: rgba(50, 50, 50, 0.01);
    font-weight: 600;
    text-shadow: 0px 1px 0px rgba(250, 250, 250, 0.75);
}

#client-country {
    border-top: 0;
    border-right: 0;
    border-left: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 0px;
    color: #aaa;
}

#client-country option {
    color: #000;
}

.success-title {
    margin-bottom: 50px;
}

.tedme-primary {
    color: #ed1651;
}

.text-middle {
    vertical-align: middle !important;
}

.form-check-input {
    border-color: #ccc;
}

.under-line-red-link {
    color: #555;
    border-bottom: 1px dashed #ed1651;
}

.under-line-red-link:hover {
    color: #ed1651;
    border-bottom: 1px dashed #555;
}
#login-form input:not(.form-check-input),
#user-data-form input:not(.form-check-input),
#bill-data-form input:not(.form-check-input) {
    border-top: 0;
    border-right: 0;
    border-left: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 0px;
}

input[type='date' i]::-webkit-calendar-picker-indicator {
    cursor: pointer;
}

#country {
    border-top: 0;
    border-right: 0;
    border-left: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 0px;
}

#country {
    color: #aaa;
}

#country option {
    color: #000;
}

#country option:first-child {
    color: #aaa;
}

.navbar {
    /* background-color: #000; */
    margin-bottom: 0%;
    /* padding-right: 15px;
    padding-left: 15px; */
}

.navbar-brand img {
    max-height: 60px;
}

.navbar-container {
    background-color: #000;
}

.breadcrumb {
    margin-top: 1rem;
}

.list-feature .list-group-item {
    border-bottom-width: 0px;
}

#client-location {
    margin-right: 40px;
}

#user-data-btn {
    min-width: 200px;
    width: 25%;
    border-radius: 1rem;
}

#btn-login,
#btn-continue {
    min-width: 200px;
    width: 100%;
    border-radius: 1rem !important;
}

.center {
    width: 150px;
    margin: 40px auto;
}

.reg-login-link {
    /* text-align: right; */
    color: #acacac;
}

.blue-a a {
    color: #229ee0;
}

@media (max-width: 768px) {
    .reg-login-link {
        text-align: left;
    }
}

.form-floating > .form-control::placeholder {
    color: revert;
}

.form-floating > .form-control:not(:placeholder-shown) ~ label.error {
    transform: none;
    opacity: 100%;
}

/* override bs5 floating-label defaults */
.form-floating > label.error,
.form-floating > .form-control:focus ~ label.error {
    opacity: 1;
    transform: scale(1);
}

.form-floating > label.error {
    position: initial;
    white-space: normal;
    padding: 0;
    padding-left: 10px;
    font-size: 14px;
}

#password-error {
    position: initial;
    white-space: normal;
}

.form-floating > .form-control:not(:focus)::placeholder {
    color: transparent;
}

#modal-continue-sso-registration .modal-body .form-check,
#entrepreneur_wrapper.form-check,
#tac-privacy-cbs .form-check {
    display: flex;
    flex-wrap: wrap;
    /* position: relative; */
    align-items: flex-start;
}

#tac-privacy-cbs .form-check-label,
#entrepreneur_wrapper .form-check-label {
    flex-basis: fit-content; /* fix multiline display */
}

#tac-labels,
#modal-tac-labels {
    padding-left: 8px;
}

#tac-error,
#privacy-error,
#entrepreneur-error,
#confirm-checkbox-error {
    flex-basis: auto; /* force new row */
    flex: 0 0 auto;
    font-size: 14px;
}

.social-login-btns {
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    text-align: center;
}

.social-login-btn {
    /* display: inline-flex !important; */
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 250px;
    margin-top: 12.5px;
    background: #fff;
    border: 1px solid #ddd !important;
    border-radius: 2rem;
    font-size: 15px;
}

.social-login-btn.disabled {
    cursor: not-allowed;
    background-color: #eee;
}

.social-login-btn:hover {
    background-color: #eee;
}

#modal-continue-sso-registration .modal-title {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

#modal-continue-sso-registration .modal-title span,
.social-login-btn span {
    width: 21px;
    height: 21px;
    margin-right: 4px;
}

.ms-blue {
    color: #0078d4;
    font-size: 0.95rem;
}

#modal-continue-sso-registration .modal-title .btn-icon-microsoft,
.social-login-btn .btn-icon-microsoft {
    width: 17px;
    height: 17px;
    background: url(/shared/img/logos/microsoft.svg) center center no-repeat;
    background-size: 100%;
}

#modal-continue-sso-registration .modal-title .btn-icon-google,
.social-login-btn .btn-icon-google {
    background: url(/shared/img/logos/google.svg) center center no-repeat;
    background-size: 100%;
}

#modal-continue-sso-registration .modal-title .btn-icon-apple,
.social-login-btn .btn-icon-apple {
    background: url(/shared/img/logos/apple.svg) center center no-repeat;
    background-size: 100%;
}

@media (max-width: 736px) {
    .step-description {
        position: relative;
    }
}

@media (max-width: 480px) {
    .footer-login a {
        font-size: 12px;
        margin-right: 5px;
    }
}

input.hide-spin::-webkit-outer-spin-button,
input.hide-spin::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input.hide-spin[type='number'] {
    -moz-appearance: textfield; /* Firefox */
}

#ui-alert-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 75%;
    max-width: 600px;
    position: fixed;
    z-index: 9999;
    top: 86px;
    padding: 12px 12px 0 12px;
    left: 50%;
    transform: translate(-50%);
    /* background: rgba(255, 255, 255, 0.75);
    border-bottom-left-radius: var(--ui-content-radius);
    border-bottom-right-radius: var(--ui-content-radius); */
    /* max-width: 500px; */
    /* box-shadow: 0 0 10px rgba(255, 255, 255, 0.75); */
}

#ui-alert-wrapper:empty {
    display: none;
}

#ui-alert-wrapper a {
    color: #fff;
    text-decoration: underline;
}

#ui-alert-wrapper a:hover {
    color: #ddd;
}

.alert {
    border-radius: calc(1.5 * var(--ui-content-radius));
    margin-bottom: 12px;
}

.alert.ui-alert {
    min-width: 150px;
    position: relative;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border: 0;
    font-weight: bold;
}

#ui-alert-wrapper .alert-success,
#ui-alert-wrapper .alert-warning,
#ui-alert-wrapper .alert-danger {
    padding-left: 2.5rem;
}

#ui-alert-wrapper .alert-success {
    color: #fff;
    background-color: #0b0;
    box-shadow: 0 0 5px #040;
}

#ui-alert-wrapper .alert-warning {
    color: #fff;
    background-color: #fa0;
    box-shadow: 0 0 5px #640;
}

#ui-alert-wrapper .alert-danger {
    color: #fff;
    background-color: #d00;
    box-shadow: 0 0 5px #500;
}

#ui-alert-wrapper .alert-success .bi-check,
#ui-alert-wrapper .alert-danger .bi-exclamation-triangle,
#ui-alert-wrapper .alert-warning .bi-info {
    display: inline-flex;
    position: absolute;
    top: 50%;
    left: 5px;
    align-items: center;
    justify-content: center;
    margin-top: -13px;
    text-align: center;
    vertical-align: top;
    color: #0b0;
    background-color: #fff;
    border-radius: 2rem;
    width: 26px;
    height: 26px;
    font-size: 18px;
}

#ui-alert-wrapper .alert-danger .bi-exclamation-triangle {
    color: #d00;
}

#ui-alert-wrapper .alert-warning .bi-info {
    color: #fa0;
}

#ui-alert-wrapper .alert-success .bi-check::before {
    font-size: 28px;
}

#ui-alert-wrapper .alert-danger .bi-exclamation-triangle::before {
    transform: translateY(-1px);
}

#ui-alert-wrapper .alert-warning .bi-info::before {
    font-size: 28px;
}

@media (max-width: 600px) {
    #ui-alert-wrapper {
        width: auto;
        left: 15px;
        right: 15px;
        transform: translate(0);
    }
}

.alert.ui-alert.alert-dismissible .btn-close {
    padding: 0.75rem;
    opacity: 0.3;
    color: #000;
}

.alert.ui-alert.alert-dismissible .btn-close:hover {
    opacity: 0.5;
}
