.noborder {
    width: 12px;
}

.divright {
    height: 28px;
}

.divforg {
    height: 23px;
}

body.login-body.whitelabelBG {
    background-image: var(--background-image) !important;
    background-size: cover;
    height: 100%;
    background-position: center center;
    font-family: 'proxima_nova_regular',"Open Sans",sans-serif;
    background-color: #f1f2f7;
}

.culture-container {
    display: flex;
    align-content: center;
    max-width: 100px;
}

    .culture-container select {
        padding: 0;
        margin: 0;
    }

.second-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin-top: 25px;
}

#RememberMe {
    margin-top: 1px;
    margin-left: 4px;
}
/* OR Divider Styles */
.or-divider {
    position: relative;
    margin: 30px 0;
    text-align: center;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .or-divider::before,
    .or-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background-color: #9ca3af;
    }

.or-text {
    padding: 0 5px;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 500;
    flex-shrink: 0;
}

/* Container for the buttons */
.sso-buttons-container {
    margin-top: 0;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

/* Base button styles */
.sso-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 100%;
    border-radius: 10px;
    border: 1px solid;
    cursor: pointer;
    font-family: 'Roboto', 'Segoe UI', arial, sans-serif;
    font-weight: 500;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
    outline: none;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    color: #333333 !important;
}

/* Google button specific styles */
.google-button {
    background-color: #f7f7f7;
    border-color: #dadce0;
}

    .google-button:hover {
        box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
        text-decoration: none;
    }

        .google-button:hover::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #303030;
            opacity: 0.08;
        }

/* Microsoft button specific styles */
.microsoft-button {
    background-color: #f5f5f5;
    border-color: #dadce0; /* Changed to match Google button border */
}

    .microsoft-button:hover {
        background-color: #f5f5f5;
        border-color: #dadce0; /* Changed to match Google button border */
        text-decoration: none;
    }

        .microsoft-button:hover::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #303030;
            opacity: 0.08;
        }
/* Button content wrapper */
.button-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

/* Icon containers */
.button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

    .button-icon svg {
        width: 100%;
        height: 100%;
        display: block;
    }

/* Microsoft icon specific sizing */
.microsoft-button .button-icon {
    width: 21px;
    height: 21px;
}

/* Button text */
.button-text {
    flex-grow: 1;
    text-align: center;
    white-space: nowrap;
    color: #000000 !important;
}

/* Ensure text color is black for all button states */
.sso-button .button-text,
.google-button .button-text,
.microsoft-button .button-text,
.sso-button:hover .button-text,
.google-button:hover .button-text,
.microsoft-button:hover .button-text {
    color: #000000 !important;
}

.form-signin .form-signin-heading img {
    max-height: 80px;
    width: 220px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    padding-left: 0;
}

.form-signin {
    max-width: 330px;
    background: #fff;
    border-radius: 15px;
    -webkit-border-radius: 15px;
}

    .form-signin h2.form-signin-heading {
        margin: 0;
        padding: 20px 15px;
        text-align: center;
        background: #ffffff;
        border-radius: 15px 15px 0 0;
        -webkit-border-radius: 15px 15px 0 0;
        color: #fff;
        font-size: 18px;
        text-transform: uppercase;
        font-weight: 300;
        font-family: 'Open Sans', sans-serif;
    }

    .form-signin .checkbox {
        margin-bottom: 14px;
    }

    .form-signin .checkbox {
        font-weight: normal;
        color: #b6b6b6;
        font-weight: 300;
        font-family: 'Open Sans', sans-serif;
    }

    .form-signin .form-control {
        position: relative;
        font-size: 16px;
        height: auto;
        padding: 10px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

        .form-signin .form-control:focus {
            z-index: 2;
        }

    .form-signin input[type="text"], .form-signin input[type="password"] {
        margin-bottom: 15px;
        border-radius: 10px;
        -webkit-border-radius: 10px;
        border: 1px solid #eaeaea;
        box-shadow: none;
        font-size: 12px;
    }

    .form-signin .btn-login {
        background: #f67a6e;
        color: #fff;
        text-transform: uppercase;
        font-weight: 300;
        font-family: 'Open Sans', sans-serif;
        box-shadow: 0 4px #e56b60;
        margin-bottom: 20px;
        border-radius: 5px;
        -webkit-border-radius: 5px;
    }

    .form-signin p {
        text-align: center;
        color: #b6b6b6;
        font-size: 16px;
        font-weight: 300;
    }

    .form-signin a {
        color: #41cac0;
    }

        .form-signin a:hover {
            color: #b6b6b6;
        }

.login-wrap {
    padding-top: 15px;
    padding-right: 20px;
    padding-left: 20px;
}

.validation-summary-errors {
    font-size: 11px;
    color: red;
}

ul {
    list-style: square outside none;
}

.btn-block {
    display: block;
    width: 100%;
    padding-right: 0;
    padding-left: 0;
}

    .btn-block + .btn-block {
        margin-top: 5px;
    }

.form-signin .btn-lg, .btn-group-lg > .btn {
    border-radius: 1rem;
    margin: 30px 0;
    font-size: 15px;
    letter-spacing: 1px;
    background-color: #ff9f2e;
}

.btn-lg:hover {
    background-color: #c97b1e;
}

body.login-body {
    min-height: 100vh;
    overflow-y: hidden; /* Hide vertical scroll by default */
    background-image: url(../../content/images/loginimages/backgrounddefault.webp);
    background-position: center bottom;
    background-size: auto 125%;
    background-repeat: no-repeat;
}

/* Show scroll when zoomed in (resolution > 96dpi indicates zoom > 100%) */
@media screen and (min-resolution: 120dpi) {
    body.login-body {
        overflow-y: auto;
    }
}

.login-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    max-width: 1440px;
    padding: 50px 180px 110px 30px;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 auto;
}

@media screen and (min-width: 1600px) {
    .login-container {
        padding: 180px 30px;
    }
}


.left-section {
    flex: 1 1 50%;
}

.form-signin {
    flex: 1 1 40%;
    min-width: 280px;
    max-width: 330px;
    margin: 0 auto;
    margin-top: 50px;
    border: 1px solid;
    border-color: #f5f5f5;
}

language-selector {
    display: flex !important;
    justify-content: center !important;
    padding-bottom: 10px !important;
}

.language-selector select {
    border-radius: 5px !important;
    padding: 5px 12px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    border: 1px solid #FF9F2E !important;
    background-color: #fff !important;
    transition: all 0.2s ease-in-out !important;
    color: black !important;
}

    .language-selector select:hover {
        background-color: #FF9F2E !important;
    }

@media screen and (max-width: 992px) {
    body.login-body {
        background-image: url('../../content/images/loginimages/backgroundwithoutobject.webp');
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
        overflow: auto;
        min-height: 100vh;
    }

        body.login-body.whitelabelBG {
            background: center;
        }

    .login-container {
        flex-direction: column;
        align-items: center;
        padding: 0px !important;
    }

    .form-signin {
        width: 100%;
        max-width: 360px;
    }
}

@media screen and (min-resolution: 144dpi) and (max-resolution: 191dpi) {
    .login-container {
        padding: 30px 180px 0px 50px;
    }

    body.login-body {
        overflow-y: auto;
        background-position: center bottom; /* Position at bottom */
        background-size: auto 137%; /* Slightly larger to compensate */
        background-repeat: no-repeat;
    }

    .form-signin {
        margin-top: 25px;
        transform: scale(0.85);
        transform-origin: center top;
    }
}

@media screen and (max-width: 1024px) {
    .login-container {
        padding: 30px 180px 0px 10px;
    }
}

@media screen and (min-width: 1700px) {
    body.login-body {
        background-size: auto 115%;
    }

    .form-signin {
        transform: scale(1.05);
    }
}
