﻿/* Hide Okta header */
.weeviltrak-plus .okta-sign-in-header.auth-header {
    display: none !important;
}

/* Container overrides */
.weeviltrak-plus #login-widget {
    background: transparent !important;
    padding: 0 ;
    margin: 0 !important;
}

.weeviltrak-plus #okta-sign-in.auth-container.main-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    max-width: 100% !important;
    width: 100% !important;
    overflow: visible !important;
    margin-top: 0 !important;
}

.weeviltrak-plus #okta-sign-in .auth-content {
    padding: 0 !important;
}

.weeviltrak-plus #okta-sign-in .auth-content-inner {
    padding: 0 !important;
    overflow: visible !important;
}

#okta-sign-in .o-form-fieldset.margin-btm-5,
#okta-sign-in .o-form-fieldset.margin-btm-30 {
    margin-bottom: 0 !important;
    margin-top: 15px !important; 
}

/* Hide default Okta titles */
.weeviltrak-plus #okta-sign-in .okta-form-title,
.weeviltrak-plus #okta-sign-in .o-form-head {
    display: none !important;
}

.weeviltrak-plus #okta-sign-in .o-form-fieldset-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    align-items: flex-start !important;
}

.weeviltrak-plus #okta-sign-in .o-form-input-name-username {
    flex: 0 0 calc(30% - 14px) !important;
    margin-bottom: 0 !important;
    position: relative !important;
    padding-bottom: 26px !important;
}

.weeviltrak-plus #okta-sign-in .o-form-input-name-password {
    flex: 0 0 calc(30% - 14px) !important;
    margin-bottom: 0 !important;
}

.weeviltrak-plus #okta-sign-in .o-form-input-name-remember {
    display: none !important;
}

.weeviltrak-plus #okta-sign-in .o-form-button-bar.focused-input {
    box-shadow: none !important;
}

.weeviltrak-plus #okta-sign-in .o-form-button-bar {
    flex: 0 0 calc(15% - 14px) !important;
    margin: 0 !important;
    padding: 0 !important;
}

.weeviltrak-plus #okta-sign-in .auth-footer {
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding-left: 10px !important;
    display: flex !important;
    align-items: center !important;
}

.weeviltrak-plus #okta-sign-in .o-form label,
.weeviltrak-plus #okta-sign-in .okta-form-label label {
    display: block !important;
    font-size: 17px !important;
    font-weight: normal !important;
    color: #fff !important;
    margin-bottom: 5px !important;
    font-family: 'Noto Sans Display', sans-serif !important;
    text-shadow: none !important;
    text-align:left !important;
}

.weeviltrak-plus #okta-sign-in.auth-container .okta-form-input-field {
    width: 100% !important;
    height: 50px !important;
    padding: 10px 17px !important;
    font-size: 18px !important;
    line-height: 1.3333333 !important;
    color: #333 !important;
    background-color: #fff !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    font-family: 'Noto Sans Display', sans-serif !important;
    max-width: 300px !important;
}

    .weeviltrak-plus #okta-sign-in.auth-container .okta-form-input-field:focus {
        border-color: #007035 !important;
        box-shadow: 0 0 0 3px rgba(0, 112, 53, 0.1) !important;
        outline: none !important;
    }

.weeviltrak-plus #okta-sign-in .o-form .input-fix input[type=text],
.weeviltrak-plus #okta-sign-in .o-form .input-fix input[type=password] {
    padding: 0 !important;
    font-size: 18px !important;
    font-family: 'Noto Sans Display';
    color: #333 !important;
    border: none !important;
    background: transparent !important;
    height: 100% !important;
}

.weeviltrak-plus #okta-sign-in.auth-container input[type=submit],
.weeviltrak-plus #okta-sign-in.auth-container .button-primary {
    width: 10% !important;
    height: 50px !important;
    padding: 10px 25px !important;
    font-size: 18px !important;
    font-weight: normal !important;
    line-height: 23px !important;
    color: #fff !important;
    background: #8BC34A !important;
    background-color: #8BC34A !important;
    background-image: none !important;
    border: none !important;
    border-color: #8BC34A !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-family: 'Noto Sans Display', sans-serif !important;
    text-transform: none !important;
    box-shadow: none !important;
}

    .weeviltrak-plus #okta-sign-in.auth-container input[type=submit]:hover,
    .weeviltrak-plus #okta-sign-in.auth-container input[type=submit]:focus,
    .weeviltrak-plus #okta-sign-in.auth-container .button-primary:hover,
    .weeviltrak-plus #okta-sign-in.auth-container .button-primary:focus,
    .weeviltrak-plus #okta-sign-in.auth-container .button-primary:active {
        background: #7CB342 !important;
        background-color: #7CB342 !important;
        background-image: none !important;
        border-color: #7CB342 !important;
        box-shadow: none !important;
    }

.weeviltrak-plus #okta-sign-in .auth-footer {
    text-align: left !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

    .weeviltrak-plus #okta-sign-in .auth-footer a,
    .weeviltrak-plus #okta-sign-in .js-forgot-password,
    .weeviltrak-plus #okta-sign-in .js-help,
    .weeviltrak-plus #okta-sign-in .link.help {
        font-size: 17px !important;
        color: #fff !important;
        font-weight: normal !important;
        text-decoration: underline !important;
        font-family: 'Noto Sans Display', sans-serif !important;
    }

        .weeviltrak-plus #okta-sign-in .auth-footer a:hover,
        .weeviltrak-plus #okta-sign-in .js-forgot-password:hover,
        .weeviltrak-plus #okta-sign-in .js-help:hover,
        .weeviltrak-plus #okta-sign-in .link.help:hover {
            color: #e0e0e0 !important;
        }

.weeviltrak-plus #okta-sign-in .help-links {
    background: transparent !important;
    border: none !important;
    padding: 26px 15px !important;
}

    .weeviltrak-plus #okta-sign-in .help-links li {
        list-style: none !important;
        margin-bottom: 8px !important;
    }

.weeviltrak-plus .authentication__register-link {
    text-align: center !important;
    color: #fff !important;
    font-family: 'Noto Sans Display', sans-serif !important;
    padding-top: 15px;
    font-size: 19px;
}

    .weeviltrak-plus .authentication__register-link a {
        color: #fff !important;
        font-weight: normal !important;
        text-decoration: underline !important;
        font-size: 19px !important;
    }

        .weeviltrak-plus .authentication__register-link a:hover {
            color: #e0e0e0 !important;
        }

.weeviltrak-plus #okta-sign-in .okta-form-input-error,
.weeviltrak-plus #okta-sign-in .o-form-explain {
    color: #fff !important;
    font-size: 14px !important;
    text-align: left !important;
    padding: 8px 20px !important;
    border-radius: 4px !important;
    position: absolute !important;
    left: 0 !important;
    top: 92% !important;
    padding: 0 !important;
    width: 100% !important;
    align-items: center !important;
    gap: 8px !important;
    line-height: 1.4 !important;
}

.weeviltrak-plus #okta-sign-in .o-form-has-errors .okta-form-input-field {
    border-width: 2px !important;
}

.weeviltrak-plus #okta-sign-in .infobox-error {
    background-color: rgba(255, 255, 255, 0.95) !important;
    border: 2px solid #d32f2f !important;
    color: #d32f2f !important;
    padding: 12px 16px !important;
    border-radius: 4px !important;
    margin-bottom: 16px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.weeviltrak-plus .temp_error {
    display: none !important;
}

.weeviltrak-plus #okta-sign-in .o-form-error-container {
    overflow: hidden !important;
    max-height: none !important;
}

.weeviltrak-plus #okta-sign-in .okta-form-input-error .icon,
.weeviltrak-plus #okta-sign-in .o-form-explain .icon {
    flex: 0 0 auto !important;
    margin-right: 16px !important;
    position: relative !important;
    top: 0 !important;
}

@media (max-width: 1199px) {
    .weeviltrak-plus #okta-sign-in .o-form-input-name-username,
    .weeviltrak-plus #okta-sign-in .o-form-input-name-password {
        flex: 0 0 calc(35% - 14px) !important;
    }

    .weeviltrak-plus #okta-sign-in .o-form-button-bar {
        flex: 0 0 calc(18% - 14px) !important;
    }
}

@media (max-width: 991px) {
    .weeviltrak-plus #okta-sign-in .o-form-fieldset-container {
        display: block !important;
    }

    .weeviltrak-plus #okta-sign-in .o-form-input-name-username,
    .weeviltrak-plus #okta-sign-in .o-form-input-name-password {
        flex: none !important;
        width: 100% !important;
        margin-bottom: 20px !important;
    }

    .weeviltrak-plus #okta-sign-in .o-form-button-bar {
        flex: none !important;
        width: 100% !important;
        margin-bottom: 16px !important;
    }

    .weeviltrak-plus #okta-sign-in .auth-footer {
        flex: none !important;
        width: 100% !important;
        text-align: center !important;
        padding-left: 0 !important;
    }
}
    @media (min-width: 1024px) {
        input#okta-signin-submit {
            margin-top: -64px !important;
            margin-left: 710px !important;
        }

        input#idp-discovery-submit {
            margin-top: -64px !important;
            margin-left: 340px !important;
        }

        .weeviltrak-plus #okta-sign-in .weevil-okta-screen {
            margin-left: 830px !important;
        }

        .weeviltrak-plus #okta-sign-in .help-links {
            margin-left: 440px;
            margin-top: -64px;
        }

        .weeviltrak_idp {
            padding-left: 260px !important;
        }
    }

    @media (max-width: 767px) {
        .weeviltrak-plus h3 {
            font-size: 24px !important;
            margin-bottom: 30px !important;
        }

        .weeviltrak-plus #okta-sign-in .o-form label {
            font-size: 16px !important;
        }

        .weeviltrak-plus #okta-sign-in.auth-container .okta-form-input-field {
            height: 46px !important;
            font-size: 16px !important;
        }

        .weeviltrak-plus #okta-sign-in.auth-container input[type=submit] {
            height: 46px !important;
            font-size: 16px !important;
            width: 100px !important
        }

        .weeviltrak-plus #okta-sign-in .help-links {
          padding: 20px 0px !important;
        }

        .weeviltrak-plus #okta-sign-in .auth-footer,
        .weeviltrak-plus #okta-sign-in .help-links {
            text-align: center !important;
            padding-left: 0 !important;
            width: 100% !important;
        }

        .weeviltrak-plus .authentication__register-link {
            padding: 0px !important;
        }
        
    }

.weeviltrak-plus #okta-sign-in .o-form-fieldset-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    align-items: flex-start !important;
}

.weeviltrak-plus #okta-sign-in .o-form-input-name-username {
    flex: 0 0 calc(30% - 14px) !important;
    margin-bottom: 0 !important;
    position: relative !important;
    padding-bottom: 26px !important;
}

.weeviltrak-plus #okta-sign-in .o-form-input-name-password {
    flex: 0 0 calc(30% - 14px) !important;
    margin-bottom: 0 !important;
}

.weeviltrak-plus #okta-sign-in .o-form-button-bar {
    flex: 0 0 110px !important;
}

.weeviltrak-plus #okta-sign-in.auth-container .okta-form-input-field {
    box-sizing: border-box !important;
}

.weeviltrak-plus .authentication__login h3 {
    text-align: center !important;
    margin-bottom: 15px !important;
}
