/* 管理后台样式表 */
body {
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "微软雅黑", sans-serif;
  -webkit-font-smoothing: antialiased;
  background: #f5f5f5;
}

.container {
  padding: 20px;
}

.header {
  background: #3f51b5;
  color: #fff;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header h1 {
  margin: 0;
  font-size: 22px;
}

.header-right {
  display: flex;
  align-items: center;
}

.header-right .admin-info {
  margin-right: 15px;
  font-size: 14px;
}

.main-content {
  margin: 20px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.1);
  padding: 20px;
}

.el-table .el-button+.el-button {
  margin-left: 5px;
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
}

.form-header {
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.form-actions {
  text-align: right;
  margin-top: 20px;
}

.el-tabs {
  margin-bottom: 20px;
}

.category-select {
  margin-bottom: 20px;
}

/* 登录页样式 */
.login-container {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f5f7fa;
}

.login-form {
  width: 400px;
  padding: 35px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}

.login-title {
  text-align: center;
  margin-bottom: 25px;
  color: #303133;
}

.login-form-footer {
  margin-top: 20px;
  text-align: center;
}

/* 底部版权信息 */
.footer {
  text-align: center;
  padding: 20px 0;
  color: #909399;
  font-size: 14px;
}

/* 卡片样式 */
.el-card {
  margin-bottom: 20px;
}

/* 个人设置页面样式 - 全新设计 */
.profile-settings {
  padding: 20px !important;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.1);
  max-width: 600px;
  margin: 0 auto;
}

.profile-title {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 500;
  color: #303133;
  border-bottom: 1px solid #ebeef5;
  padding-bottom: 15px;
}

.password-form {
  padding: 10px 0;
}

.el-tab-pane[name="profile"] .el-form {
  max-width: 100%;
}

.el-tab-pane[name="profile"] .el-form-item {
  display: block;
  margin-bottom: 25px;
}

.el-tab-pane[name="profile"] .el-form-item__label {
  text-align: left;
  float: none;
  display: block;
  padding: 0 0 10px 0;
  height: auto;
  line-height: 1.5;
  color: #606266;
  font-weight: normal;
}

.el-tab-pane[name="profile"] .el-form-item__content {
  margin-left: 0 !important;
  line-height: 1.5;
}

.el-tab-pane[name="profile"] .el-input {
  width: 100%;
}

.el-tab-pane[name="profile"] .el-input__inner {
  height: 40px;
  line-height: 40px;
}

.el-tab-pane[name="profile"] .el-form-item:last-child {
  margin-bottom: 0;
  text-align: center;
}

.el-tab-pane[name="profile"] .el-button {
  min-width: 120px;
}

/* 图片上传组件样式 */
.upload-container {
  margin-bottom: 15px;
}

.image-tip {
  color: #909399;
  font-size: 12px;
  margin-top: 5px;
}

.current-image {
  margin-top: 15px;
  padding: 10px;
  border: 1px dashed #d9d9d9;
  border-radius: 4px;
}

.current-image p {
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: bold;
}

.current-image img {
  display: block;
  margin-bottom: 10px;
  border-radius: 4px;
}

.form-tip {
  color: #909399;
  font-size: 12px;
  margin-top: 5px;
}