body {
    background: #f5f5f5;
}

.container {
    padding: 0;
    margin: 0 auto;
}

/* 登录页面样式 */
.login-content {
    padding: 0px;
}

.login-form {
    padding: 20px;
    border-radius: 0.5em;
}

.login-form .form-title {
    display: none;
}

.form-group {
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    margin-bottom: 0px;
}

.form-group label {
    width: 4em;
    flex-shrink: 0;
    height: 3em;
    line-height: 3em;
    margin-bottom: 0;
    font-weight: normal;
}

.form-input {
    flex: 1;
    border: none;
    border-radius: 0;
    outline: none;
    background: transparent;
    height: 3em;
    line-height: 3em;
}

.form-input:focus {
    border-color: transparent;
}

.form-input::placeholder {
    color: #999;
}

/* 滑块验证 */
.slider-verify {
    position: relative;
    height: 2.6em;
    width: 100%;
    background: white;
    border-radius: 0.5em;
    overflow: hidden;
    margin-top: 1em;
}

.slider-text {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    text-align: center;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
    font-size: 0.9em;
}

.slider-track {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    background: #fff;
    border-radius: 0.5em;
    transition: width 0.3s;
    width: 2.6em;
}

.slider-btn {
    position: absolute;
    top: 0;
    right: 0px;
    width: 2.6em;
    height: 2.6em;
    background: #ff6b6b;
    border-radius: 0.5em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 10;
}

/* 块级表单组 */
.form-group-block {
    flex-direction: column;
    align-items: flex-start;
    border-bottom: none;
}

.form-group-block label {
    width: auto;
    margin-bottom: 0px;
}

/* 单选框组 */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.radio-group .radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    width: auto;
    height: 1em;
    line-height: 1em;
}

.radio-label input[type="radio"] {
    margin-right: 5px;
    width: 1em;
    height: 1em;
}

/* 复选框组 */
.checkbox-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 0.9em;
    border-bottom: none;
    flex-wrap: wrap;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 5px;
    width: 1em;
    height: 1em;
    vertical-align: middle;
    flex-shrink: 0;
    margin-top: 0;
}

.checkbox-group label {
    width: auto;
    margin-right: 0px;
    vertical-align: middle;
}

.checkbox-group a {
    color: #ff6b6b;
    text-decoration: none;
}

/* 按钮 */
.form-actions {
    margin-top: 1.2em;
}

.submit-btn {
    width: 100%;
    height: 3em;
    background: #ff6b6b;
    border: none;
    border-radius: 0.5em;
    color: #fff;
    cursor: pointer;
    transition: opacity 0.3s;
}

.submit-btn:hover {
    opacity: 0.9;
}

.submit-btn:active {
    transform: scale(0.98);
}

/* 响应式布局 */
@media (min-width: 768px) and (max-width: 1200px) {    
    .login-form {
        padding: 30px 30px;
    }
}

@media (min-width: 1024px) and (max-width: 1200px){
    .login-form {
        padding: 30px 50px;
    }
}

@media (min-width: 1200px) {
    body {
        padding-top: 60px;
    }

    .login-content {
        padding: 15px 0;
    }

    .login-form {
        background-color: white;
        width: 500px;
        margin: 0 auto;
        padding: 20px 40px;
    }

    .login-form .form-title {
        font-size: 1.25em;
        border-bottom: 1px solid #eee;
        display: block;
    }

    .login-modal .slider-text {
        top: 50%;
    }

    .login-form .form-title label{
        height: 3em;
        line-height: 3em;
        margin-bottom: 0;
    }

    .form-group {
        border-bottom: none;
        margin-top: 10px;
    }

    .form-group label {
        width: 3.5em;
    }

    .form-input {
        border: 1px solid #eee;
        border-radius: 5px;
        padding-left: 10px;
    }

    .slider-verify {
        background-color: #f5f5f5;
        margin-top: 0px;
    }

    .checkbox-group,.form-group-block {
        margin-top: 0px;
    }

    .checkbox-group label {
        width: auto;
    }
}