.loginForm
{
    text-align: left;
}

.loginContainerOut {
    width: 100%;
    position: relative;
    padding-bottom: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
}



.topLoginImage {
    width: 100%;
    position: relative;
}
.topLoginImageDesktop {
    width: 100%;
    height: auto;
}
.topLoginImageMobile {
    width: 100%;
    height: auto;
    display: none;
}
@media all and (max-width: 991px) {
    .topLoginImageDesktop {
        display: none;
    }
    .topLoginImageMobile {
        display: block;
    }
}





.loginContainer {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.loginTitle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: 30px;
    padding-bottom: 40px;
    width: 100%;
    margin: 0;
    position: relative;
    
}
.loginTitleText {
    color: var(--primary-color-dark);
    font-family: 'DMSerifDisplayRegular';
    font-size: 56px;
    font-weight: 400;
    text-align: left;
    margin-bottom: 20px;
}
.loginTitleLine {
    width: calc(100% - 160px);
    height: 5px;
    background-color: var(--primary-color);
    border-radius: 5px;
}




.loginInputsContainer {
    width: 510px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}
.oneInputContainer {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
}
.oneInputContainer:last-child {
    margin-bottom: 0px;
}
.oneInputContainer label {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color-dark);
    margin-right: 8px;
    width: 125px;
    /* text-transform: uppercase; */
    text-align: left;
}
.oneInputContainer input {
    width: 100%;
    height: 40px;
 	border: 0px;
 	border-bottom: 1px solid var(--primary-color);
 	background: white;
    /* padding-left: 15px;
    padding-right: 15px; */
}
.phoneContainer {
    width: 100%;
    height: 40px;
    display: flex;
    gap: 10px;
    overflow: hidden;
}
.phoneContainer select {
    width: 120px;
    height: 40px;
    outline: none;
    padding: 5px;
 	border: 0px;
 	border-bottom: 1px solid var(--primary-color);
}
.phoneContainer input {
    outline: none;
    width: 100%;
    padding: 5px;
 	border: 0px;
 	border-bottom: 1px solid var(--primary-color);
}
.submitButton {
    font-family: 'WorkSansBold', sans-serif;
    margin: 30px auto 0 auto;
    width: 200px;
    height: 40px;
    border-radius: 199px;
    color: white;
    background-color: var(--primary-color);
    transition: all 0.3s;
    border: 1px solid var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-weight: bold;
}
.submitButton:hover {
    background-color: var(--primary-color-light);
    color: white;
}













/* CSS for error messages */
.error-messages {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ff0000;
    background-color: #ffebe8;
    color: #ff0000;
    border-radius: 5px;
}

.error-messages p {
    margin: 0;
}










/* Tablet styles */
@media all and (max-width: 768px) {
    .loginContainerOut {
        padding: 20px;
        min-height: calc(100vh - 150px);
    }
    .loginContainer {
        width: 100%;
        max-width: 450px;
    }
    .loginTitleText {
        font-size: 50px;
    }
}

/* Mobile styles */
@media all and (max-width: 630px) {
    .loginContainerOut {
        padding: 20px;
        min-height: calc(100vh - 150px);
    }
    .loginContainer {
        width: 100%;
        max-width: 350px;
    }
    .loginInputsContainer {
        width: 100%;
        max-width: 100%;
        /* margin-left: 10px; */
    }
    .oneInputContainer{
        width: 100%;
    }
    .loginTitle {
        padding-bottom: 30px;
        width: 100%;
        justify-content: flex-start;
        margin-left: -4px;
    }
    .loginTitleLine {
        display: none
    }
    .loginTitleText {
        font-weight: bold;
        font-size: 48px;
        text-align: left;
    }
    .oneInputContainer label {
        font-size: 15px;
        width: auto;
    }
    .oneInputContainer input {
        font-size: 14px;
        height: 40px;
    }
    .phoneContainer {
        height: 40px;
    }
    .phoneContainer select {
        font-size: 14px;
        width: 30%;
    }
    .phoneContainer input {
        font-size: 14px;
    }
    .submitButton {
        width: 200px;
        margin: 30px auto 0 auto;
    }
}

/* Small mobile styles */
@media all and (max-width: 480px) {
    .loginContainerOut {
        padding: 15px;
        min-height: calc(100vh - 120px);
    }
    .loginContainer {
        max-width: 320px;
    }
    .loginTitleText {
        font-size: 42px;
    }
    .submitButton {
        width: 180px;
    }
}

/* Select2 Custom Styles for Login */
.select2-container {
    width: 100% !important;
}

.select2-container .select2-selection--single {
    height: 40px !important;
    border: 0px !important;
    border-bottom: 1px solid var(--primary-color) !important;
    background: white !important;
    border-radius: 0 !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 40px !important;
    padding-left: 5px !important;
    display: flex !important;
    align-items: left !important;
    color: #333 !important;
}

.select2-container .select2-selection--single .select2-selection__arrow {
    height: 38px !important;
    right: 5px !important;
}

.select2-dropdown {
    border: 1px solid #ccc !important;
    border-radius: 0 !important;
}

.select2-results__option {
    padding: 8px 5px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.select2-results__option--highlighted {
    background-color: var(--primary-color) !important;
}

.flag-icon {
    margin-right: 5px;
    width: 16px;
    height: 12px;
    display: inline-block;
}

/* Mobile responsive login Select2 dropdown */
@media all and (max-width: 630px) {
    .select2-container {
        width: 100% !important;
    }
    
    .select2-container .select2-selection--single {
        height: 35px !important;
    }
    
    .select2-container .select2-selection--single .select2-selection__rendered {
        line-height: 35px !important;
        font-size: 12px !important;
    }
    
    .select2-container .select2-selection--single .select2-selection__arrow {
        height: 33px !important;
    }
    
    .select2-results__option {
        font-size: 12px !important;
        padding: 6px 5px !important;
    }
    
    .flag-icon {
        width: 12px;
        height: 9px;
        margin-right: 3px;
    }
    
    .phoneContainer select {
        width: 30% !important;
    }
}