﻿/* login.css */
body {
    margin: 0;
    padding: 0;
    background: url("/images/login-bg.jpg") no-repeat center center fixed;
    background-size: cover;
}

.login-container {
    /* 绝对定位居中 */
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.logo {
    margin-bottom: 20px;
}

    .logo img {
        height: 60px;
    }

.system-name {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 15px;
    margin: 30px 0;
    padding: 0 80px;
}
    /* 左右横线 */
    .system-name::before,
    .system-name::after {
        content: "";
        flex: 1;
        height: 2px;
        background-color: #B0D1E7;
    }
    /* 文字左右留白 */
    .system-name span {
        padding: 0 15px;
    }

.layui-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.layui-form-item {
    margin-bottom: 20px;
}

.input-wrap {
    position: relative;
}

    .input-wrap img {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 18px;
        height: 18px;
        opacity: 0.6;
    }

    .input-wrap input {
        padding-left: 45px;
        height: 45px;
        border-radius: 6px;
        background: #f5f5f5;
        border: 1px solid #e6e6e6;
    }

.captcha-wrap {
    display: flex;
}

.captcha-box {
    display: flex;
    align-items: center;
    margin-left: 20px;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 6px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 3px;
}

.login-btn {
    width: 380px;
    height: 45px;
    border-radius: 6px;
    background: linear-gradient(to right, #1E9FFF, #2782E1);
    color: #fff;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.copyright {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: #f5f5f5;
    font-size: 16px;
}
