html,
body.signin {
    min-height: 100%;
}

body.signin {
    margin: 0;
    background: #08110f url("../../img/product-manage-sys-ops-bg.png") center center / cover no-repeat fixed;
    color: #eef7f3;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body.signin:before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 12, 11, .72), rgba(5, 12, 11, .38) 48%, rgba(5, 12, 11, .88)),
        radial-gradient(circle at 72% 28%, rgba(22, 163, 74, .18), transparent 34%);
    pointer-events: none;
}

.product-manage-sys-auth-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
}

.product-manage-sys-auth-panel {
    width: min(1120px, 100%);
}

.product-manage-sys-auth-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .72fr);
    gap: 36px;
    align-items: center;
}

.product-manage-sys-auth-brand {
    max-width: 620px;
}

.product-manage-sys-auth-mark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(7, 18, 16, .56);
    border-radius: 4px;
    letter-spacing: 0;
}

.product-manage-sys-auth-mark img {
    width: 70px;
    height: auto;
}

.product-manage-sys-auth-mark span {
    font-size: 12px;
    color: rgba(238, 247, 243, .72);
}

.product-manage-sys-auth-brand h1 {
    margin: 28px 0 14px;
    font-size: 44px;
    line-height: 1.16;
    font-weight: 700;
    letter-spacing: 0;
}

.product-manage-sys-auth-brand p {
    max-width: 520px;
    margin: 0 0 22px;
    color: rgba(238, 247, 243, .78);
    font-size: 15px;
    line-height: 1.8;
}

.product-manage-sys-auth-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
    margin: 28px 0 0;
    list-style: none;
}

.product-manage-sys-auth-points li {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 12px;
    background: rgba(9, 23, 20, .62);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 4px;
    color: rgba(238, 247, 243, .86);
}

.product-manage-sys-auth-points i {
    margin-right: 10px;
    color: #22c55e;
}

.product-manage-sys-auth-card {
    padding: 32px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(255, 255, 255, .52);
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .34);
    color: #14211e;
}

.product-manage-sys-auth-card h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0;
    color: #10201c;
}

.product-manage-sys-auth-card .auth-subtitle {
    margin: 8px 0 24px;
    color: #6b7773;
}

.product-manage-sys-auth-card .form-control {
    height: 44px !important;
    margin-top: 12px;
    padding: 8px 14px !important;
    border: 1px solid #dfe7e3;
    border-radius: 4px !important;
    background-color: #f9fbfa;
    color: #17231f;
    box-shadow: none;
}

.product-manage-sys-auth-card .form-control:focus {
    border-color: #16a34a !important;
    background-color: #fff;
}

.product-manage-sys-auth-card .uname,
.product-manage-sys-auth-card .pword,
.product-manage-sys-auth-card .code {
    background-image: none;
}

.product-manage-sys-auth-card .captcha-row {
    margin-top: 12px;
}

.product-manage-sys-auth-card .imgcode {
    height: 44px;
    width: 100%;
    object-fit: cover;
    border: 1px solid #dfe7e3;
    border-radius: 4px;
    background: #f9fbfa;
}

.product-manage-sys-auth-card .checkbox-custom {
    margin: 16px 0 4px;
    color: #586661;
}

.product-manage-sys-auth-card .checkbox-custom a {
    color: #0f8f43;
}

.product-manage-sys-auth-card .btn {
    height: 44px;
    margin-top: 18px;
    border: 0;
    border-radius: 4px;
    background: #16a34a;
    font-weight: 700;
    color: #fff;
}

.product-manage-sys-auth-card .btn:hover,
.product-manage-sys-auth-card .btn:focus {
    background: #12853d;
    color: #fff;
}

.product-manage-sys-auth-alt {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    color: #697671;
}

.product-manage-sys-auth-alt a {
    color: #0f8f43;
    font-weight: 600;
}

.product-manage-sys-auth-footer {
    margin-top: 24px;
    color: rgba(238, 247, 243, .62);
    font-size: 12px;
}

@media (max-width: 860px) {
    .product-manage-sys-auth-shell {
        padding: 28px 16px;
    }

    .product-manage-sys-auth-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-manage-sys-auth-brand h1 {
        font-size: 34px;
    }

    .product-manage-sys-auth-card {
        padding: 24px;
    }
}

@media (max-width: 520px) {
    .product-manage-sys-auth-points {
        grid-template-columns: 1fr;
    }

    .product-manage-sys-auth-brand h1 {
        font-size: 28px;
    }

    .product-manage-sys-auth-alt {
        display: block;
    }
}

body.signin.signin-login {
    background: #f5f7f6;
    color: #1f2937;
}

body.signin.signin-login:before {
    display: block;
    background:
        radial-gradient(circle at 18% 16%, rgba(34, 197, 94, .08), transparent 30%),
        radial-gradient(circle at 86% 82%, rgba(22, 163, 74, .06), transparent 28%);
}

.signin-login .product-manage-sys-auth-shell {
    padding: 24px;
}

.signin-login .product-manage-sys-auth-panel {
    width: min(380px, 100%);
}

.signin-login .product-manage-sys-auth-card {
    padding: 34px;
    background: #fff;
    border: 1px solid #e6ebe8;
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(31, 41, 55, .08);
}

.signin-login .login-heading {
    margin-bottom: 30px;
    text-align: center;
}

.signin-login .login-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: #16a34a;
    color: #fff;
    font-size: 19px;
    box-shadow: 0 8px 20px rgba(22, 163, 74, .18);
}

.signin-login .product-manage-sys-auth-card h1 {
    margin: 0;
    color: #17211d;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.3;
}

.signin-login .login-heading p {
    margin: 7px 0 0;
    color: #8a9590;
    font-size: 14px;
}

.signin-login .product-manage-sys-auth-card label:not(.error) {
    display: block;
    margin: 17px 0 7px;
    color: #46514c;
    font-size: 14px;
    font-weight: 500;
}

.signin-login .product-manage-sys-auth-card .form-control {
    height: 40px !important;
    padding: 8px 12px;
    margin-top: 0;
    border-color: #dfe5e2;
    border-radius: 8px !important;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}

.signin-login .product-manage-sys-auth-card .form-control:focus {
    border-color: #22a957 !important;
    box-shadow: 0 0 0 3px rgba(34, 169, 87, .1);
}

.signin-login .product-manage-sys-auth-card .checkbox-custom label {
    display: inline;
    margin: 0;
    font-weight: 400;
}

.signin-login .product-manage-sys-auth-card .btn {
    height: 42px;
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(22, 163, 74, .16);
}

.signin-login .product-manage-sys-auth-alt {
    justify-content: center;
}

@media (max-width: 520px) {
    .signin-login .product-manage-sys-auth-shell {
        padding: 16px;
    }

    .signin-login .product-manage-sys-auth-card {
        padding: 30px 24px;
        border-radius: 14px;
    }
}

.slider-captcha {
    margin-top: 18px;
}

.slider-captcha-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #d9e2de;
    border-radius: 5px;
    background: #f7faf8;
    color: #53615c;
    font-size: 13px;
}

.slider-captcha-trigger .fa-shield {
    color: #159447;
    font-size: 16px;
}

.slider-captcha-trigger span {
    flex: 1;
    padding: 0 10px;
    text-align: left;
}

.slider-captcha-panel {
    display: none;
    margin-top: 10px;
}

.slider-captcha.open .slider-captcha-panel {
    display: block;
}

.slider-captcha.verified .slider-captcha-trigger {
    border-color: #16a34a;
    background: #effaf3;
    color: #12853d;
}

.slider-captcha-image {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    border: 1px solid #dfe7e3;
    border-radius: 6px;
    background: #eaf0ed;
}

.slider-background {
    display: block;
    width: 100%;
    height: 100%;
}

.slider-piece {
    position: absolute;
    z-index: 2;
    height: auto;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35));
    pointer-events: none;
}

.slider-captcha-loading {
    position: absolute;
    z-index: 4;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: rgba(244, 248, 246, .92);
    color: #53615c;
    font-size: 13px;
}

.slider-captcha-loading .fa-spinner {
    color: #159447;
    font-size: 28px;
}

.slider-captcha.loading .slider-captcha-loading {
    display: flex;
}

.slider-refresh {
    position: absolute;
    z-index: 3;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(9, 30, 24, .72);
    color: #fff;
}

.slider-track {
    position: relative;
    height: 44px;
    margin-top: 10px;
    overflow: hidden;
    border: 1px solid #d9e2de;
    border-radius: 5px;
    background: #f4f7f5;
    user-select: none;
}

.slider-progress {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    background: rgba(22, 163, 74, .14);
}

.slider-tip {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 42px;
    color: #65726d;
    font-size: 13px;
    pointer-events: none;
}

.slider-handle {
    position: absolute;
    z-index: 2;
    top: -1px;
    left: 0;
    width: 46px;
    height: 44px;
    padding: 0;
    border: 1px solid #bfcac5;
    border-radius: 5px;
    background: #fff;
    color: #159447;
    font-size: 20px;
    cursor: grab;
    touch-action: none;
}

.slider-handle.dragging {
    cursor: grabbing;
    box-shadow: 0 2px 10px rgba(22, 163, 74, .25);
}

.slider-captcha.verified .slider-track {
    border-color: #16a34a;
    background: #effaf3;
}

.slider-captcha.verified .slider-handle {
    border-color: #16a34a;
    background: #16a34a;
    color: #fff;
}

.slider-captcha.verified .slider-tip {
    color: #12853d;
    font-weight: 600;
}

.slider-status {
    min-height: 18px;
    margin-top: 5px;
    color: #d14343;
    font-size: 12px;
}

.slider-captcha.loading .slider-captcha-image {
    background: #f4f8f6;
}

.slider-captcha.loading .slider-refresh,
.slider-captcha.loading .slider-track {
    pointer-events: none;
}
