@charset "UTF-8";
body {
  background-color: #f0f0f0; /* 浅灰色背景 */
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* 确保body占据整个视口高度 */
}

.navbar {
  background-color: #fff; /* 白色导航栏背景 */
  border-bottom: 1px solid #e7e7e7;
}

.user-left-box .user-avatar {
  display: block;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1px solid #e7e7e7;
  margin: 0 auto;
}

.user-dashboard-container {
  padding-top: 30px;
  padding-bottom: 30px;
}

.card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.card-header {
  background-color: #fff;
  border-bottom: 1px solid #eee;
  font-weight: 600;
  padding: 1rem 1.5rem;
}

.card-header h6 {
  font-size: 1rem;
}

.card-body {
  padding: 1.5rem;
}

.sidebar-card .card-body {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.sidebar-card h5 {
  font-size: 1.1rem;
}

.sidebar-card .list-group-item {
  border-left: 0;
  border-right: 0;
  padding: 0;
}

.sidebar-card .nav-link {
  padding: 12px 20px;
  color: #333;
  font-size: 14px;
  transition: all 0.2s ease-in-out;
}

.sidebar-card .nav-link:hover {
  background-color: #f5f5f5;
  color: #ff6c02;
}

.sidebar-card .nav-link.active {
  background-color: #f8f8f8;
  color: #ff6c02;
  border-left: 3px solid #ff6c02;
}

.sidebar-card .layui-icon {
  font-size: 17px;
  vertical-align: middle;
  margin-right: 8px;
}

.sidebar-card .badge {
  font-size: 12px;
  padding: 5px 10px;
  background-color: #f0f0f0 !important;
  color: #555 !important;
}

.account-info-detail p {
  margin-bottom: 0.5rem;
  font-size: 13px;
}

.account-info-detail .fw-bold {
  font-size: 15px;
  color: #333;
}

.account-info-detail .text-orange {
  color: #ff6c02 !important;
}

.account-info-detail .text-muted {
  color: #888 !important;
}

@media (min-width: 992px) {
  .col-lg-custom-sidebar {
    flex: 0 0 auto;
    width: 20%;
  }
  .col-lg-custom-main-content {
    flex: 0 0 auto;
    width: 80%;
  }
}
.profile-avatar-container {
  position: relative;
  width: 100px;
  border-radius: 50%;
  border: 1px solid #e7e7e7;
  overflow: hidden;
}
.profile-avatar-container .profile-user-img {
  width: 100px;
  height: 100px;
}
.profile-avatar-container .profile-avatar-text {
  display: none;
}

.profile-avatar-container:hover .profile-avatar-text {
  display: block;
  position: absolute;
  height: 100px;
  width: 100px;
  background: #444;
  opacity: 0.6;
  color: #fff;
  top: 0;
  left: 0;
  line-height: 100px;
  text-align: center;
}

.profile-avatar-container button {
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  opacity: 0 !important;
}

.layui-form-label {
  width: 100px;
  text-align: right;
  padding: 9px 10px;
}

.layui-input-group {
  width: 100%;
}
.layui-input-group .layui-input-suffix {
  text-align: left;
}

.layui-btn-default {
  background-color: #ff6c02;
}

.layui-border-orange {
  border-color: #ff6c02 !important;
  color: #ff6c02 !important;
}

.form-layer {
  height: 100%;
  min-height: 150px;
  min-width: 300px;
}

.form-body {
  width: 100%;
  overflow: auto;
  top: 0;
  position: absolute;
  z-index: 10;
  bottom: 50px;
  padding: 15px;
}

.form-layer .form-footer {
  height: 50px;
  line-height: 50px;
  background-color: #ecf0f1;
  width: 100%;
  position: absolute;
  z-index: 200;
  bottom: 0;
  margin: 0;
}

.form-footer .form-group {
  margin-left: 0;
  margin-right: 0;
}

/*pagination*/
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.pagination .page-item {
  display: inline-flex;
}
.pagination .page-item.active .page-link {
  background-color: #f97316;
  border-color: #f97316;
  color: #fff;
}
.pagination .page-item.active .page-link:hover {
  background-color: #ea580c;
  border-color: #ea580c;
}
.pagination .page-item.disabled .page-link {
  color: #9ca3af;
  background-color: #f9fafb;
  border-color: #e5e7eb;
  cursor: not-allowed;
}
.pagination .page-item.disabled .page-link:hover {
  color: #9ca3af;
  border-color: #e5e7eb;
  background-color: #f9fafb;
}
.pagination .page-link {
  display: block;
  padding: 0.5rem 1rem;
  border: 1px solid #e5e7eb;
  background-color: #fff;
  color: #4b5563;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  transition: all 150ms ease-in-out;
  text-decoration: none;
}
.pagination .page-link:hover {
  color: #ea580c;
  border-color: #ea580c;
  background-color: #fff7ed;
}
.pagination {
  /* Jump to Page Form */
}
.pagination .jumpto {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.5rem;
}
.pagination .jumpto input.page_number {
  width: 4rem;
  padding: 0.5rem;
  font-size: 0.875rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.25rem;
  text-align: center;
}
.pagination .jumpto input.page_number:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 1px #f97316;
}
.pagination .jumpto input.submit {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  background-color: #fff;
  border: 1px solid #e5e7eb;
  color: #4b5563;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.pagination .jumpto input.submit:hover {
  color: #ea580c;
  border-color: #ea580c;
  background-color: #fff7ed;
}

@media only screen and (max-width: 576px) {
  .pagination .page-num {
    display: none;
  }
}