/* 全局样式 */
html {
    background-image: url('/images/bgi.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    position: relative;
    background-image: url('/images/bgi.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: rgba(255, 255, 255, 0.7);
    background-blend-mode: lighten;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
    padding-top: 100px;
}


/* 顶部导航栏 */
.navbar {
    background-color: #fff;
    padding: 10px 20px;
    color: #0078ff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 4px solid #1906a6;
    height: 80px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar .logo-container {
    display: flex;
    align-items: center;
    margin-left: 60px;
}

.navbar .logo-container img {
    height: 60px;
    margin-right: 15px;
}

.navbar .company-name {
    font-size: 24px;
    font-weight: bold;
    color: #1906a6;
    letter-spacing: 0.5px;
}



/* 表单容器 */
form {
    background-color: transparent;
    padding: 30px;
    border-radius: 10px;
    max-width: 400px;
    width: 100%;
    box-sizing: border-box;
}

h1 {
    text-align: center;
    color: #333;
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 30px;
}

/* 表单元素样式 */
label {
    font-size: 16px;
    color: #555;
    display: block;
    margin-bottom: 8px; /* 更紧凑的间距 */
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px; /* 调整输入框之间的间距 */
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
    transition: border 0.3s ease;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #0078ff;
    outline: none;
}

/* 提交按钮样式 */
button {
    width: 100%;
    padding: 12px;
    background-color: #0078ff;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

button:hover {
    background-color: #005bbb;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

button:active {
    background-color: #003d7a;
    box-shadow: none;
}

/* 响应式设计 */
@media (max-width: 600px) {
    .navbar .logo-container {
        margin-left: 20px;
    }

    .navbar .company-name {
        font-size: 20px;
    }

    form {
        padding: 20px;
    }

    button {
        font-size: 14px;
        padding: 10px;
    }
}
