@font-face {
    font-family: ogh-login-icons;
    src: url('/layui/font/iconfont.woff2?v=250') format('woff2');
    font-display: block;
}

.ogh-standalone-login {
    background: #11233b;
    color: #fff;
}

.ogh-login-layout {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 592px;
    min-height: 100vh;
    margin: 0 auto;
    background: linear-gradient(90deg, #1e314f, #2c4267 50%, #233758 82%, #1e3253);
    container-type: inline-size;
}

.ogh-login-brand {
    position: relative;
    isolation: isolate;
    box-sizing: border-box;
    height: 18.75cqw;
    padding-top: 1.6cqw;
    text-align: center;
    background:
        linear-gradient(#1c2e47, transparent 100%),
        linear-gradient(90deg, #223554, #203454 36%, #223657 52%, #355483 67%, #27436d);
}

.ogh-login-brand::before,
.ogh-login-brand::after {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    background-size: 100% 100%;
}

.ogh-login-brand::before {
    left: 0;
    width: 9.46%;
    background-image: url('/CDN/Images/ordergrabhall-login-header-left.webp');
    mask-image: linear-gradient(to right, #000 60%, transparent);
}

.ogh-login-brand::after {
    right: 0;
    width: 18.92%;
    background-image: url('/CDN/Images/ordergrabhall-login-header-right.webp');
    mask-image: linear-gradient(to left, #000 70%, transparent);
}

.ogh-login-brand h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2cqw;
    margin: 0;
    font-size: 5cqw;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: .025em;
}

.ogh-login-brand h1 img {
    width: 9.46cqw;
    height: 8.1cqw;
    object-fit: contain;
}

.ogh-login-brand p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.2cqw;
    margin-top: .6cqw;
    font-size: 2.7cqw;
    line-height: 1.4;
    color: #eef5ff;
}

.ogh-login-brand p::before,
.ogh-login-brand p::after {
    content: '';
    width: 5.6cqw;
    height: 1px;
    background: #d2e0f3;
}

.ogh-login-art {
    display: block;
    width: 100%;
    height: auto;
}

.ogh-login-benefits {
    height: 13.68cqw;
    object-fit: cover;
    object-position: top;
}

.ogh-login-wave {
    height: 12.84cqw;
    margin-top: auto;
    background: url('/CDN/Images/ordergrabhall-login-footer.webp') center bottom / 100% auto no-repeat;
}

.ogh-login-card-area {
    padding: 0 4.05cqw;
    background:
        linear-gradient(180deg, rgba(9, 20, 37, .35), transparent 35%, transparent 65%, rgba(9, 20, 37, .1)),
        linear-gradient(95deg, #253952, #20334e 58%, #2b4066);
}

.ogh-login-card {
    padding: 2.53cqw 3.55cqw 4.55cqw;
    border-radius: 4.05cqw;
    color: #64464a;
    background: #fdfcfc;
    box-shadow: 0 4px 20px rgba(8, 24, 43, .18);
}

.ogh-login-card #wxLoginPanel {
    padding-top: 1.5cqw;
}

.ogh-login-card .ogh-login-mode-tabs {
    gap: 0;
    margin: 0 0 3.55cqw;
    padding: 0 4.2cqw;
    background: transparent;
}

.ogh-login-card .ogh-login-mode-tab {
    position: relative;
    height: 8.28cqw;
    min-height: 36px;
    padding: 0 0 1.2cqw;
    font-size: max(15px, 3.72cqw);
    font-weight: 700;
}

.ogh-login-card .ogh-login-mode-tab.is-active {
    color: #cc1023;
    background: transparent;
    box-shadow: none;
}

.ogh-login-card .ogh-login-mode-tab.is-active::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: 8cqw;
    height: max(3px, .68cqw);
    margin: auto;
    border-radius: 10px;
    background: #d91024;
}

.ogh-login-field {
    display: flex;
    align-items: center;
    gap: 1.75cqw;
    box-sizing: border-box;
    height: max(40px, 8.62cqw);
    padding: 0 3.9cqw;
    border: 1px solid #f0eeee;
    border-radius: 1.25cqw;
    background: #f4f3f3;
    color: #727272;
}

.ogh-login-field:focus-within {
    border-color: #dc5961;
}

.ogh-login-password,
.ogh-login-code {
    margin-top: 3.21cqw;
}

.ogh-login-field input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    color: #333;
    background: transparent;
    font-size: max(16px, 3.05cqw);
}

.ogh-login-field input::placeholder {
    color: #747474;
    opacity: 1;
}

.ogh-login-icon::before {
    font-family: ogh-login-icons;
    font-size: max(17px, 4cqw);
    line-height: 1;
}

.ogh-login-icon-user::before { content: "\e66f"; }
.ogh-login-icon-lock::before { content: "\e673"; }

.ogh-password-toggle {
    display: grid;
    position: relative;
    place-items: center;
    min-width: 36px;
    height: 100%;
    margin-right: -.8cqw;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.ogh-password-toggle span {
    display: grid;
    place-items: center;
    width: max(12px, 2.6cqw);
    height: max(12px, 2.6cqw);
    border: 1.5px solid currentColor;
    border-radius: 70% 0;
    transform: rotate(45deg);
}

.ogh-password-toggle span::before {
    content: '';
    width: 40%;
    height: 40%;
    border: 1.5px solid currentColor;
    border-radius: 50%;
}

.ogh-password-toggle[aria-pressed="false"]::after {
    content: '';
    position: absolute;
    width: max(20px, 4.8cqw);
    height: 2px;
    border-bottom: 1px solid #f4f3f3;
    background: currentColor;
    transform: rotate(38deg);
}

.ogh-login-code button,
.ogh-login-options button {
    flex-shrink: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
    cursor: pointer;
}

.ogh-login-code button {
    min-height: 36px;
    color: #ba1425;
    font-size: max(12px, 2.6cqw);
}

.ogh-login-code button:disabled {
    color: #757575;
    cursor: default;
}

.ogh-login-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.8cqw;
    width: 100%;
    height: max(44px, 10.3cqw);
    margin-top: 4.56cqw;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: linear-gradient(165deg, #ee4850, #db071d);
    box-shadow: 0 6px 14px rgba(219, 7, 29, .22);
    color: #fff;
    font-size: max(15px, 3.88cqw);
    font-weight: 600;
    cursor: pointer;
}

.ogh-login-submit span {
    display: grid;
    place-items: center;
    width: max(18px, 4.56cqw);
    aspect-ratio: 1;
    border-radius: 50%;
    background: #fff;
    color: #d90e23;
    font-size: max(13px, 3.1cqw);
    line-height: 1;
}

.ogh-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 4.05cqw;
    padding: 0 1.35cqw;
    font-size: max(13px, 2.7cqw);
    line-height: 1.35;
}

.ogh-login-options label {
    display: flex;
    align-items: center;
    gap: 1.45cqw;
    cursor: pointer;
}

.ogh-login-options input {
    width: max(16px, 3.55cqw);
    height: max(16px, 3.55cqw);
    margin: 0;
    accent-color: #d31129;
    cursor: pointer;
}

.ogh-login-signup {
    margin: 2cqw 0 0;
    text-align: center;
    font-size: max(13px, 2.7cqw);
}

.ogh-login-signup a {
    color: #ba1425;
}
