* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: 100%; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
    font-size: 14px;
    color: #303133;
    background: linear-gradient(135deg, #1f2f3d 0%, #2b5876 55%, #4e73df 100%);
}

[v-cloak] { display: none !important; }

.login-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    width: 380px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
    padding: 40px 36px 32px;
}

.login-brand { text-align: center; margin-bottom: 28px; }

.login-brand .layui-icon {
    display: block;
    font-size: 40px;
    color: #1e9fff;
    margin-bottom: 10px;
}

.login-brand span {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.4;
    color: #303133;
}

.login-item { position: relative; margin-bottom: 16px; }

.login-item .layui-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #a8abb2;
}

.login-item input {
    width: 100%;
    height: 44px;
    line-height: 44px;
    padding: 0 12px 0 38px;
    border: 1px solid #dcdfe6;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
    transition: border-color .2s;
}

.login-item input:focus { border-color: #1e9fff; }

.login-extra { margin: 2px 0 20px; font-size: 13px; color: #606266; }

.login-remember { cursor: pointer; user-select: none; }
.login-remember input { vertical-align: -1px; margin-right: 4px; }

.login-btn {
    width: 100%;
    height: 44px;
    border: 0;
    border-radius: 5px;
    background: #1e9fff;
    color: #fff;
    font-size: 16px;
    letter-spacing: 4px;
    cursor: pointer;
    transition: background .2s;
}

.login-btn:hover { background: #0d8bf2; }
.login-btn:disabled { background: #a0cfff; cursor: not-allowed; }

.login-tip {
    margin-top: 16px;
    text-align: center;
    font-size: 12px;
    color: #a8abb2;
}
