* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.login-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(-45deg, #1e3c72, #2a5298, #6dd5ed, #1e3c72);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    padding: 20px;
    position: relative;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.login-box {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.96);
    padding: 45px 40px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.login-box h2 {
    text-align: center;
    margin: 0 0 10px;
    font-size: 26px;
    color: #222;
    font-weight: 600;
}

.login-subtitle {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
}

.login-box .layui-form-item {
    margin-bottom: 20px;
}

.login-box .layui-input {
    height: 46px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    padding: 0 15px;
    font-size: 15px;
    transition: border-color .2s, box-shadow .2s;
    background: #fff;
}

.login-box .layui-input:focus {
    border-color: #2a5298;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.12);
}

.captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-row .layui-input {
    flex: 1;
}

.captcha-img {
    width: 110px;
    height: 46px;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid #e0e0e0;
    background: #f8f8f8;
}

.btn-login {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 242, 254, 0.25);
    transition: transform .15s, box-shadow .15s;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 242, 254, 0.35);
}

.login-copyright {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    letter-spacing: 0.5px;
}
