/* 会员页面样式 */

/* 面包屑导航 */
.breadcrumb-nav {
  background-color: #f8f9fa;
  padding: 10px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
  background: transparent;
  margin-bottom: 0;
  padding: 0;
}
.apply-section h5{
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  border-top: 1px solid #eee;
  padding: 10px 0;
}

/* 会员区域 */
.member-section {
  padding: 30px 0 60px;
  background-color: #f8f9fa;
  min-height: 800px;
}

/* 左侧菜单 */
.member-sidebar {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 20px;
}

.user-info {
  padding: 20px;
  text-align: center;
  background: linear-gradient(to right, #007bff, #0056b3);
  color: #fff;
}

.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 15px;
  border: 3px solid rgba(255, 255, 255, 0.6);
}

.avatar img {
  width: 100%;
  height: 100%;
}

.user-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.user-level {
  font-size: 14px;
  opacity: 0.8;
}

.member-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.member-menu li {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: all 0.3s;
  color: #333;
}

.member-menu li:hover {
  background-color: #f5f5f5;
  color: #007bff;
}

.member-menu li.active {
  background-color: #f0f7ff;
  color: #007bff;
  font-weight: bold;
  border-left: 4px solid #007bff;
}

.member-menu li i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

/* 内容区域 */
.content-area {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-height: 600px;
}

.content-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.content-header h2 {
  margin: 0;
  font-size: 22px;
  color: #333;
}

.content-body {
  padding: 20px;
}

.description {
  margin-bottom: 20px;
  padding: 10px 15px;
  background-color: #f8f9fa;
  border-radius: 4px;
  border-left: 4px solid #007bff;
}

.description p {
  margin: 0;
  color: #666;
}

/* 表单样式 */
.form-group label {
  color: #333;
}

.btn-primary {
  background-color: #007bff;
  border-color: #007bff;
}

.btn-primary:hover {
  background-color: #0069d9;
  border-color: #0062cc;
}

/* 活动卡片 */
.activity-card {
  display: flex;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.activity-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.activity-img {
  flex: 0 0 30%;
  height: 150px;
}

.activity-img img {
  width: 100%;
  height: 100%;
}

.activity-info {
  flex: 0 0 70%;
  padding: 15px;
  position: relative;
}

.activity-info h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #333;
}

.activity-info .time,
.activity-info .location {
  margin-bottom: 8px;
  color: #666;
  font-size: 14px;
}

.activity-info i {
  margin-right: 5px;
  color: #999;
}

.join-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  padding: 6px 15px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}

.join-btn:hover {
  background: #0069d9;
}

/* 表格样式 */
.activity-table th,
.member-table th {
  background-color: #f2f6fd;
  color: #333;
  font-weight: 600;
}

.badge-success {
  background-color: #28a745;
}

.badge-warning {
  background-color: #ffc107;
  color: #212529;
}

.badge-secondary {
  background-color: #6c757d;
}

.badge-primary {
  background-color: #007bff;
}

/* 登录表单 */
.login-form {
  max-width: 400px;
  margin: 0 auto;
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 会员搜索框 */
.search-box {
  position: relative;
  max-width: 300px;
}

.search-box input {
  padding-left: 35px;
}

.search-box:before {
  content: "\f002";
  font-family: FontAwesome;
  position: absolute;
  left: 12px;
  top: 10px;
  color: #aaa;
}

/* 响应式适配 */
@media (max-width: 992px) {
  .member-sidebar {
    margin-bottom: 30px;
  }

  .activity-card {
    flex-direction: column;
  }

  .activity-img {
    flex: 0 0 100%;
    height: 180px;
  }

  .activity-info {
    flex: 0 0 100%;
    padding-bottom: 50px;
  }
}

@media (max-width: 768px) {
  .avatar {
    width: 80px;
    height: 80px;
  }

  .member-section {
    padding: 20px 0 40px;
  }
}

@media (max-width: 576px) {
  .content-header {
    padding: 15px;
  }

  .content-body {
    padding: 15px;
  }

  .member-menu li {
    padding: 12px 15px;
  }

  .login-form {
    padding: 15px;
  }
}

.logo-placeholder {
  width: 150px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-placeholder img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}
