* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    font-family: "Microsoft YaHei", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(../images/bg.png); /* 网络图片 */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.login-logo {
    text-align: center;
    margin-bottom: 25px;
}

/* 核心调整：增大登录框尺寸 */
/* 登录框尺寸 */
.login-container {
    width: 100%;
    max-width: 520px;
    padding: 0 20px;
}

.login-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
    padding: 45px 40px;
    position: relative;
}

.login-title {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #23262E;
    margin-bottom: 30px;
}

.login-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #e6e6e6;
}

.login-tab {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    cursor: pointer;
    font-size: 15px;
    color: #666;
    position: relative;
}

.login-tab.active {
    color: #5FB878;
    font-weight: 600;
}

.login-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #5FB878;
}

.login-form {
    display: none;
}

.login-form.active {
    display: block;
}

.layui-form-item {
    margin-bottom: 22px;
}

.layui-form-label {
    width: 70px;
    padding: 11px 0;
    text-align: left;
    font-size: 14px;
    color: #666;
}

.layui-input-block {
    margin-left: 80px;
}

.layui-input {
    height: 44px;
    border-radius: 6px;
    font-size: 14px;
    border: 1px solid #e6e6e6;
}

.layui-input:focus {
    border-color: #5FB878;
    box-shadow: 0 0 0 2px rgba(95, 184, 120, 0.1);
}

.login-btn {
    width: 100%;
    height: 46px;
    line-height: 46px;
    border-radius: 6px;
    background-color: #5FB878;
    border: none;
    font-size: 15px;
    font-weight: 600;
    margin-top: 15px;
}

.login-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 12px;
    color: #999;
}

/* 验证码输入区域样式 */
.code-input {
    display: flex;
    gap: 10px;
}

.code-input .layui-input {
    flex: 1;
}

.get-code-btn {
    width: 110px;
    height: 44px;
    line-height: 44px;
    padding: 0;
    border-radius: 6px;
    font-size: 13px;
    background-color: #5FB878;
    border: none;
}

.get-code-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* 岗亭选择弹窗样式 */
.booth-select-item {
    padding: 15px;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s;
}
.booth-select-item:hover {
    border-color: #5FB878;
    background-color: #f8f9fa;
}
.booth-select-item.active {
    border-color: #5FB878;
    background-color: rgba(95, 184, 120, 0.1);
}
.booth-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}
.booth-desc {
    font-size: 12px;
    color: #666;
}

/* 响应式适配 */
@media (max-width: 576px) {
    .login-container {
        max-width: 420px;
    }
    .login-card {
        padding: 35px 30px;
    }
}