/* ========== 登录页面样式 ========== */

/* 基础容器 */
.content {
  margin: 0 auto;
  width: 918px;
  border: 1px solid #D9B5B5;
}

.content1 {
  margin: 0 auto;
  width: 918px;
  border-left: 1px solid #D9B5B5;
  border-right: 1px solid #D9B5B5;
  border-bottom: 1px solid #D9B5B5;
  overflow: hidden;
}

/* 标题样式 */
.con1 {
  color: #FF0000;
  font-weight: 800;
  text-align: center;
  line-height: 52px;
}

/* 背景颜色 */
.bgc1 {
  background-color: #F8F2E7;
}

.bgc2 {
  background-color: #FAFAFA;
}

/* 边框工具类 */
.bor {
  border: 1px solid #D9B5B5;
}

.bor_r {
  border-right: 1px solid #D9B5B5;
}

.bor_b {
  border-bottom: 1px solid #D9B5B5;
}

/* 登录表单容器 */
.conlogin {
  width: 908px; /* 修正了缺少的单位 */
  margin: 5px;
  border: 1px solid #D9B5B5;
}

/* 登录标题 */
.logintit {
  height: 60px;
  color: red;
  font-weight: bold;
  font-size: 15px;
  line-height: 60px;
}

/* 表单行 */
.form-row {
  border-bottom: 1px solid #D9B5B5;
  height: 56px;
}

/* 表单标签 */
.form-label {
  float: left;
  border-right: 1px solid #D9B5B5;
  width: 230px;
  text-align: right;
  line-height: 56px;
}

/* 表单输入区域 */
.form-input {
  float: left;
  line-height: 56px;
  padding-left: 10px;
}

/* 错误提示消息 */
.error-message {
  color: #FF0000;
  padding: 10px;
  text-align: center;
  background-color: #FFF0F0;
  border: 1px solid #FFCCCC;
  margin: 10px;
  border-radius: 5px;
}

/* 成功提示消息 */
.success-message {
  color: #00AA00;
  padding: 10px;
  text-align: center;
  background-color: #F0FFF0;
  border: 1px solid #CCFFCC;
  margin: 10px;
  border-radius: 5px;
}
/* 错误提示消息 */
.error-message {
    color: #ff0000;
    background-color: #ffe6e6;
    border: 1px solid #ff9999;
    padding: 10px;
    margin: 10px 20px;
    border-radius: 4px;
    text-align: center;
}

.input-warning {
    border-color: #ff0000 !important;
}

.lockout-warning {
    color: #ff9900;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    margin: 10px 20px;
    background-color: #fff8e6;
    border: 1px solid #ffcc00;
    border-radius: 4px;
}

.password-toggle {
    position: relative;
    display: inline-block;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
}

@media (max-width: 768px) {
    .content, .content1, .header, .nav, .footer {
        width: 100% !important;
        margin: 0 auto !important;
    }
    .conlogin {
        width: 95% !important;
    }
}