/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* 背景图（使用您提供的gysdlbj.png） */
body {
    background-image: url('../images/gysdlbj.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* 云朵装饰（位置调整到登录框右上方） */
.bg-decoration {
    position: absolute;
    top: 22%;
    right: 32%;
    z-index: 1;
}

.cloud {
    width: 120px;
    height: 14px;
    background-color: #a4b8e0;
    border-radius: 20px;
    position: relative;
}

.cloud::before {
    content: "";
    position: absolute;
    width: 60px;
    height: 14px;
    background-color: #a4b8e0;
    border-radius: 20px;
    top: -10px;
    left: 20px;
}

.cloud::after {
    content: "";
    position: absolute;
    width: 50px;
    height: 14px;
    background-color: #a4b8e0;
    border-radius: 20px;
    top: 10px;
    left: 30px;
}

/* 登录框（水平垂直居中 + 大圆角） */
.login-box {
    position: absolute;
    left: 59%;
    top: 55%;
    transform: translate(-50%, -50%);
    width: 420px;
    height: 420px;
    padding: 30px 35px;
    background-color: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 16px;
    z-index: 10;
}

/* LOGO和标题 */
.login-header {
    text-align: center;
    margin-bottom: 25px;
}

.logo {
    height: 50px;
    margin-bottom: 8px;
}

.login-header h1 {
    font-size: 14px;
    color: #0080cc;
    font-weight: normal;
    letter-spacing: 0.5px;
}

/* 输入框通用样式 */
.input-group {
    margin-bottom: 20px;
    position: relative;
}

/* 下划线输入框（账号/密码） */
.input-line {
    border-bottom: 1px solid #999999;
    padding-bottom: 8px;
}

.input-line .icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #666666;
    font-size: 16px;
}

.input-line input {
    width: 100%;
    height: 36px;
    padding-left: 28px;
    border: none;
    outline: none;
    font-size: 14px;
    color: #333333;
    background-color: transparent;
}

/* 验证码输入框（大圆角 + 边框样式） */
.captcha-group {
    border-bottom: none !important;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.captcha-group input {
    width: 60%;
    height: 38px;
    padding: 0 16px;
    border: 1px solid #999999 !important;
    border-radius: 20px;
    font-size: 13px;
    color: #333333;
    background-color: #ffffff;
}

.captcha-group input::placeholder {
    color: #999999;
}

.captcha-box {
    width: 35%;
    height: 38px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.captcha-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.captcha-box:hover {
    opacity: 0.8;
}

/* 记住账号密码（间距调整） */
.checkbox-group {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    margin-bottom: 22px;
    font-size: 12px;
    color: #666666;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-group input {
    margin-right: 4px;
    accent-color: #0095ff;
    width: 13px;
    height: 13px;
}

/* 错误消息样式 */
.error-message {
    color: #ff4d4f;
    font-size: 13px;
    text-align: center;
    margin-bottom: 15px;
    padding: 8px;
    background-color: #fff2f0;
    border: 1px solid #ffccc7;
    border-radius: 4px;
}

/* 登录按钮（无圆角） */
.login-btn {
    width: 100%;
    height: 42px;
    background-color: #0095ff;
    color: #ffffff;
    border: none;
    border-radius: 0;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    letter-spacing: 2px;
}

.login-btn:hover {
    background-color: #0086e6;
}
