/* Background styling */
.oe_signup_form {
    max-width: 100% !important;
}

body {
    background-image: url('/loan_application/static/src/img/background-white.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: 100%;
}

.paddingMobile .card-title {
    font-size: 32px;
    color: #875a7b;
    font-weight: 600;
    text-shadow: 1px 1px 1px lightgrey;
    text-align: center;
}

.borderRightDesign {
    border-right: 1px lightgrey solid;
}

.alignImage {
    object-fit: cover;
    margin-left: 10px;
}

.card {
    box-shadow: 5px 5px 12px lightgrey;
    overflow: visible !important;
}

.subtitleRegistration {
    font-size: 18px;
    color: #875a7b;
    font-weight: 500;
}

.subtitleRegistrations {
    font-size: 17px;
    color: #875a7b;
    font-weight: 500;
}

.subtitleRegistration2 {
    font-size: 18px;
    color: #875a7b;
    font-weight: 500;
}

.form_control_box {
    margin-top: 10px;
    padding: 5px;
    border: 1px lightgrey solid;
    min-width: 350px;
}

.form_control_box2 {
    margin-top: 10px;
    padding: 5px;
    border: 1px lightgrey solid;
    min-width: 250px;
    max-width: 250px;
}

.registerButton {
    align-items: center;
    background-clip: padding-box;
    background-color: #875a7b;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-family: system-ui, -apple-system, system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    justify-content: center;
    line-height: 1.25;
    margin: 0;
    min-height: 3rem;
    padding: calc(0.1rem - 1px) calc(1.5rem - 1px);
    position: relative;
    text-decoration: none;
    transition: all 250ms;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: baseline;
    width: auto;
}

.userButton {
    align-items: center;
    background-clip: padding-box;
    background-color: #9a9498;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-family: system-ui, -apple-system, system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    justify-content: center;
    line-height: 1.25;
    margin: 0;
    min-height: 3rem;
    padding: calc(0.1rem - 1px) calc(1.5rem - 1px);
    position: relative;
    text-decoration: none;
    transition: all 250ms;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: baseline;
    width: auto;
}

.registerButton:hover,
.registerButton:focus {
    background-color: #875a7b;
    box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
}

.userButton:hover,
.userButton:focus {
    background-color: #9a9498;
    box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
    color: white;
}

.error-message {
    color: red;
    font-size: 18px;
}

.success-message {
    color: #037c03;
    font-size: 18px;
}

.registerButton:hover {
    transform: translateY(-5px);
}

.registerButton:active {
    background-color: #875a7b;
    box-shadow: rgba(0, 0, 0, 0.06) 0 2px 4px;
    transform: translateY(0);
}

.userButton:hover {
    transform: translateY(-4px);
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.wrapperCustomized {
    display: flex;
    align-items: baseline;
    justify-content: center;
    min-height: 90vh;
}

.paddingMobile {
    padding-left: 20px;
}

.form_control_box:hover,
.form_control_box:focus {
    background-color: white;
    border-color: #d6b3cd;
    outline: 0;
    box-shadow: 0 0 0 0.15rem rgba(113, 75, 103, 0.25);
}

.form_control_box2:hover,
.form_control_box2:focus {
    background-color: white;
    border-color: #d6b3cd;
    outline: 0;
    box-shadow: 0 0 0 0.15rem rgba(113, 75, 103, 0.25);
}

.form_control_box3:hover,
.form_control_box3:focus {
    background-color: white;
    border-color: #d6b3cd;
    outline: 0;
    box-shadow: 0 0 0 0.15rem rgba(113, 75, 103, 0.25);
}

.form_control_box3 {
    padding: 5px;
    border: 1px lightgrey solid;
    min-width: 250px;
    height: 40px;
}

.phoneBox {
    display: flex;
    align-items: center;
}

.form_control_box[readonly],
.form_control_box3[readonly] {
    background-color: #e9ecef;
    color: #495057;
    border-color: #ced4da;
    opacity: 1;
}

@media only screen and (max-width: 767.98px) {
    .phoneBox {
        flex-direction: column;
    }

    .paddingMobile {
        text-align: left;
    }

    .form_control_box {
        min-width: 260px;
    }

    .form_control_box2 {
        min-width: 160px;
        max-width: 160px;
    }

    .error-message {
        text-align: center;
    }

    .success-message {
        text-align: center;
    }

    .alignImage {
        margin-left: 0px;
    }

    .borderRightDesign {
        border-right: 0px lightgrey solid;
    }

    .card-title {
        font-size: 28px;
    }

    .subtitleRegistration {
        text-align: left;
        padding-left: 0;
    }

    .input-container {
        padding-right: 15px;
    }
}

@media only screen and (min-width: 767.98px) and (max-width: 1024px) {
    .form_control_box {
        min-width: 300px;
    }

    .form_control_box2 {
        min-width: 200px;
        max-width: 200px;
    }

    .borderRightDesign {
        border-right: 0px lightgrey solid;
    }

    .alignImage {
        margin-left: 0px;
    }

    .phoneBox {
        flex-direction: row;
    }
}

@media only screen and (min-width: 1024.98px) and (max-width: 1399.98px) {
    .form_control_box {
        min-width: 250px;
    }

    .form_control_box2 {
        min-width: 150px;
        max-width: 150px;
    }

    .error-message {
        text-align: center;
    }

    .success-message {
        text-align: center;
    }

    .borderRightDesign {
        border-right: 1px lightgrey solid;
    }

    .alignImage {
        margin-left: 10px;
    }
}

.o_portal_index_card {
    transition: all 0.3s ease-in;
}

.o_portal_index_card:hover .text-bg-light {
    transform: scale(1.02);
}

.o_portal_index_card .text-bg-light {
    transition: all 0.4s ease-in-out;
}