/* Legacy inline mobile login styles moved here for CSP cleanup. */

.pop-up-cover {
    position: absolute;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.pop-up {
    padding: 10px;
}

.pop-up img {
    box-shadow: -1px 1px 17px 2px rgba(0, 0, 0, 0.21);
    -webkit-box-shadow: -1px 1px 17px 2px rgba(0, 0, 0, 0.21);
    -moz-box-shadow: -1px 1px 17px 2px rgba(0, 0, 0, 0.21);
}

/* Popup break mobile UI => hide the popup */
#grad div.pop-up-cover {
    display: none !important;
}

.is-hidden {
    display: none;
}

.opt-container {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.opt-contents {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 350px;
    margin: 0 auto;
}

.opt-contents button {
    margin: 0;
}

.opt-content {
    text-align: center;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: rgba(0, 0, 0, 0.25) 0 1px 4px, rgba(0, 0, 0, 0.04) 0 -1px 0;
    border-image: initial;
    font-size: 14px;
    border: 0;
    padding: 20px;
}

.opt-content h2 {
    color: #993300;
    margin-bottom: 20px;
}

.opt-content p {
    margin: 10px 0;
    font-size: 16px;
}

.email {
    font-weight: bold;
    color: #993300;
}

.link {
    display: block;
    margin-top: 5px;
    color: #0033cc;
    text-decoration: underline;
    cursor: pointer;
}

.btn {
    margin-top: 20px;
    background-color: #3b7dd8;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

.btn:hover {
    background-color: #2f68b3;
}

.opt-enter-container {
    padding: 10px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 350px;
    margin: 0 auto;
}

.opt-enter-container h2 {
    color: #7c2100;
    margin-bottom: 10px;
}

.opt-enter-container p {
    font-size: 14px;
    margin: 0 0 10px;
}

.opt-enter-inputs input {
    width: 17px;
    height: 20px;
    font-size: 16px;
    text-align: center;
    margin-bottom: 2px;
}

.opt-enter-actions {
    font-size: 14px;
    margin-top: 20px;
}

.opt-enter-resend-link {
    color: blue;
    cursor: pointer;
    text-decoration: underline;
    display: none;
}

.opt-enter-cancel-btn {
    margin-top: 10px;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    background-color: #999;
    margin-right: 20px;
}

.opt-enter-submit-btn {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    background-color: #2d7bc8;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(51%, #2d7bc8), color-stop(51%, #065eb5), color-stop(100%, #064a8e));
    background-image: -moz-linear-gradient(top, #2d7bc8 50%, #065eb5 51%, #064a8e 100%);
    background-image: -ms-linear-gradient(top, #2d7bc8 51%, #065eb5 51%, #064a8e 100%);
    border: 1px solid #5598d5;
    color: #fff;
    text-shadow: -1px -1px 0 #39d;
}

.mobile-page-container {
    height: 100vh;
    min-height: 100vh;
}

#grad.mobile-login-layout .top-patner {
    height: 70%;
}

#grad.mobile-login-layout .footer {
    height: 30%;
}

#grad.mobile-login-layout .middleVersion {
    display: block;
}

#grad.mobile-other-layout .top-patner {
    height: 85%;
}

#grad.mobile-other-layout .footer {
    height: 15%;
}

#grad.mobile-other-layout .middleVersion {
    display: none;
}

#divLogin {
    min-height: 208px;
    height: calc(70vh - 152px);
}

#divForceChgPwd,
#divForgetPwd1,
#divForgetPwd2,
#divForgetPwd3,
#divForceChgPin,
#divForceChgHint,
#divForgetPin {
    min-height: 208px;
    height: calc(85vh - 152px);
}

.hint-select-fullwidth {
    width: 100%;
}

.hidden-submit {
    display: none;
}

.response-overlay {
    display: none;
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    text-align: center;
}

.response-spinner {
    position: absolute;
    left: 49%;
    top: 50%;
}
