
/* 积分商城系统样式 - 基于RuoYi风格 */
:root {
    /* 主题颜色 */
    --primary-color: #409eff;
    --success-color: #67c23a;
    --warning-color: #e6a23c;
    --danger-color: #f56c6c;
    --info-color: #909399;
    
    /* 文本颜色 */
    --text-primary: #303133;
    --text-regular: #606266;
    --text-secondary: #909399;
    --text-placeholder: #c0c4cc;
    --text-disabled: #c0c4cc;
    
    /* 边框颜色 */
    --border-color: #dcdfe6;
    --border-light: #e4e7ed;
    --border-lighter: #ebeef5;
    --border-extra-light: #f2f6fc;
    
    /* 背景颜色 */
    --background: #f5f7fa;
    --background-light: #f9fafc;
    --background-lighter: #ffffff;
    
    /* 侧边栏颜色 */
    --sidebar-bg: #304156;
    --sidebar-text: #bfcbd9;
    --sidebar-active: #409eff;
    --sidebar-hover: #263445;
    --sidebar-submenu-bg: #1f2d3d;
    
    /* 阴影 */
    --box-shadow-light: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    --box-shadow-base: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);
    --box-shadow-dark: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .12);
    
    /* 字体大小 */
    --font-size-extra-large: 20px;
    --font-size-large: 18px;
    --font-size-medium: 16px;
    --font-size-base: 14px;
    --font-size-small: 13px;
    --font-size-extra-small: 12px;
    
    /* 圆角 */
    --border-radius-base: 4px;
    --border-radius-small: 2px;
    --border-radius-round: 20px;
    --border-radius-circle: 100%;
    
    /* 间距 */
    --spacing-mini: 4px;
    --spacing-small: 8px;
    --spacing-base: 12px;
    --spacing-medium: 16px;
    --spacing-large: 24px;
    --spacing-extra-large: 32px;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-regular);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
  }
  
  .container {
    display: flex;
    min-height: 100vh;
  }
  
  /* 管理员后台样式 */
  .sidebar {
    width: 220px;
    background-color: var(--sidebar-bg);
    color: var(--sidebar-text);
    transition: width 0.3s;
    overflow-y: auto;
    box-shadow: 2px 0 6px rgba(0, 21, 41, 0.35);
    z-index: 10;
  }
  
  .sidebar-logo {
    height: 50px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    border-bottom: 1px solid #1f2d3d;
  }
  
  .sidebar-menu {
    padding: 10px 0;
  }
  
  .menu-item {
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    display: flex;
    align-items: center;
  }
  
  .menu-item:hover {
    background-color: #263445;
    color: #fff;
  }
  
  .menu-item.active {
    background-color: #263445;
    color: var(--sidebar-active);
    border-right: 3px solid var(--sidebar-active);
  }
  
  .menu-item i {
    margin-right: 10px;
    font-size: 16px;
  }
  
  .submenu {
    padding-left: 20px;
    background-color: #1f2d3d;
    overflow: hidden;
  }
  
  /* Main Content */
  .main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
  }
  
  /* Header */
  .header {
    height: 50px;
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
    display: flex;
    align-items: center;
    padding: 0 15px;
    justify-content: space-between;
    position: relative;
  }
  
  .header-left {
    display: flex;
    align-items: center;
  }
  
  .toggle-btn {
    padding: 0 15px;
    cursor: pointer;
    font-size: 16px;
  }
  
  .breadcrumb {
    display: flex;
    align-items: center;
    margin-left: 10px;
  }
  
  .breadcrumb-item {
    display: flex;
    align-items: center;
  }
  
  .breadcrumb-item:not(:last-child):after {
    content: '/';
    margin: 0 8px;
    color: var(--text-secondary);
  }
  
  .header-right {
    display: flex;
    align-items: center;
  }
  
  .header-item {
    padding: 0 10px;
    cursor: pointer;
    position: relative;
  }
  
  .avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #ccc;
    margin-right: 8px;
  }
  
  /* Content */
  .content {
    padding: 15px;
    flex: 1;
    overflow-y: auto;
  }
  
  .page-header {
    margin-bottom: 15px;
    background-color: #fff;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
  }
  
  .page-title {
    font-size: 18px;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 10px;
  }
  
  .page-content {
    background-color: #fff;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
  }
  
  /* Card */
  .card {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
    margin-bottom: 15px;
  }
  
  .card-header {
    padding: 15px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .card-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
  }
  
  .card-body {
    padding: 15px;
  }
  
  /* Form */
  .form-group {
    margin-bottom: 15px;
  }
  
  .form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-primary);
  }
  
  .form-control {
    width: 100%;
    height: 32px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.3s;
  }
  
  .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.2);
  }
  
  /* Button */
  .btn {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    outline: none;
  }
  
  .btn-primary {
    background-color: var(--primary-color);
    color: #fff;
  }
  
  .btn-primary:hover {
    background-color: #66b1ff;
  }
  
  .btn-success {
    background-color: var(--success-color);
    color: #fff;
  }
  
  .btn-success:hover {
    background-color: #85ce61;
  }
  
  .btn-warning {
    background-color: var(--warning-color);
    color: #fff;
  }
  
  .btn-warning:hover {
    background-color: #ebb563;
  }
  
  .btn-danger {
    background-color: var(--danger-color);
    color: #fff;
  }
  
  .btn-danger:hover {
    background-color: #f78989;
  }
  
  .btn-info {
    background-color: var(--info-color);
    color: #fff;
  }
  
  .btn-info:hover {
    background-color: #a6a9ad;
  }
  
  /* 防止按钮文字换行 */
  .btn {
    white-space: nowrap;
  }
  
  /* Table */
  .table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--border-light);
  }
  
  .table th,
  .table td {
    padding: 12px 8px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
  }
  
  .table th {
    background-color: #fafafa;
    color: var(--text-primary);
    font-weight: 500;
  }
  
  .table tr:hover {
    background-color: #f5f7fa;
  }
  
  /* 操作列样式 */
  .table .action-column {
    white-space: nowrap;
    min-width: 120px;
  }
  
  .table .action-column .btn {
    margin-right: 5px;
    margin-bottom: 2px;
  }
  
  /* Pagination */
  .pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 15px;
  }
  
  .page-item {
    margin: 0 5px;
  }
  
  .page-link {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
  }
  
  .page-link:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
  }
  
  .page-item.active .page-link {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
  }
  
  /* 移动端样式 */
  .mobile-container {
    max-width: 750px;
    margin: 0 auto;
    background-color: #f7f7f7;
    min-height: 100vh;
    position: relative;
  }
  
  .mobile-header {
    background-color: #fff;
    padding: 10px 15px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .mobile-title {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    flex: 1;
  }
  
  .mobile-search {
    background-color: #f5f5f5;
    border-radius: 20px;
    padding: 8px 15px;
    margin: 10px 15px;
    display: flex;
    align-items: center;
  }
  
  .mobile-search i {
    color: #999;
    margin-right: 5px;
  }
  
  .mobile-search input {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    font-size: 14px;
  }
  
  .mobile-banner {
    padding: 10px 15px;
  }
  
  .mobile-banner img {
    width: 100%;
    border-radius: 8px;
  }
  
  .mobile-section {
    margin: 15px 0;
    background-color: #fff;
    padding: 15px;
  }
  
  .mobile-section-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .mobile-section-more {
    font-size: 12px;
    color: #999;
  }
  
  .mobile-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  
  .mobile-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .mobile-grid-item {
    text-align: center;
  }
  
  .mobile-grid-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 auto 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: #fff;
  }
  
  .mobile-grid-text {
    font-size: 12px;
    color: #333;
  }
  
  .mobile-product-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .mobile-product-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
  
  .mobile-product-img {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
  }
  
  .mobile-product-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .mobile-product-info {
    padding: 10px;
  }
  
  .mobile-product-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  
  .mobile-product-price {
    color: #ff6b6b;
    font-weight: bold;
    font-size: 16px;
  }
  
  .mobile-product-price span {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
    margin-left: 5px;
  }
  
  .mobile-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    display: flex;
    border-top: 1px solid #eee;
    z-index: 100;
  }
  
  .mobile-footer-item {
      flex: 1;
      text-align: center;
      padding: 8px 0;
      color: #999;
      text-decoration: none;
  }
  
  .mobile-footer-item.active {
    color: var(--primary-color);
  }
  
  .mobile-footer-icon {
    font-size: 20px;
    margin-bottom: 2px;
  }
  
  .mobile-footer-text {
    font-size: 12px;
  }
  
  /* 用户中心 */
  .user-header {
    background-color: #409eff;
    padding: 20px 15px;
    color: #fff;
    display: flex;
    align-items: center;
  }
  
  .user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #fff;
    margin-right: 15px;
    overflow: hidden;
  }
  
  .user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .user-info {
    flex: 1;
  }
  
  .user-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
  }
  
  .user-level {
    font-size: 12px;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
  }
  
  .user-menu {
    background-color: #fff;
    margin-bottom: 10px;
  }
  
  .user-menu-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f5f5f5;
  }
  
  .user-menu-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #409eff;
  }
  
  .user-menu-title {
    flex: 1;
    font-size: 15px;
  }
  
  .user-menu-arrow {
    color: #ccc;
  }
  
  /* 订单状态 */
  .order-status {
    display: flex;
    background-color: #fff;
    padding: 15px 0;
    margin-bottom: 10px;
  }
  
  .order-status-item {
    flex: 1;
    text-align: center;
  }
  
  .order-status-icon {
    font-size: 24px;
    margin-bottom: 5px;
    color: #999;
  }
  
  .order-status-text {
    font-size: 12px;
  }
  
  /* 积分兑换 */
  .points-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .points-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
  }
  
  .points-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ff9500;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    margin-right: 10px;
  }
  
  .points-info {
    flex: 1;
  }
  
  .points-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
  }
  
  .points-subtitle {
    font-size: 12px;
    color: #999;
  }
  
  .points-value {
    font-size: 24px;
    font-weight: bold;
    color: #ff9500;
  }
  
  .points-actions {
    display: flex;
    border-top: 1px solid #f5f5f5;
    padding-top: 15px;
    margin-top: 15px;
  }
  
  .points-action {
    flex: 1;
    text-align: center;
  }
  
  .points-action-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
    margin: 0 auto 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: #409eff;
  }
  
  .points-action-text {
    font-size: 12px;
  }
  
  /* 模态框样式 */
  .modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  .modal {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: modalFadeIn 0.3s ease-out;
  }
  
  @keyframes modalFadeIn {
    from {
      opacity: 0;
      transform: scale(0.9) translateY(-20px);
    }
    to {
      opacity: 1;
      transform: scale(1) translateY(0);
    }
  }
  
  .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-light);
  }
  
  .modal-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-primary);
  }
  
  .modal-close {
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
  }
  
  .modal-close:hover {
    color: var(--text-primary);
  }
  
  .modal-body {
    padding: 20px;
  }
  
  .modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 20px;
    border-top: 1px solid var(--border-light);
  }
  
  /* 图片上传样式 */
  .image-upload-container {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-base);
    padding: 15px;
    background-color: #fafafa;
  }
  
  .image-preview-area {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
  }
  
  .image-preview-item {
    position: relative;
    width: 120px;
    height: 120px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-base);
    overflow: hidden;
    background-color: #fff;
  }
  
  .image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .image-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    background-color: rgba(245, 108, 108, 0.9);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.3s;
  }
  
  .image-remove:hover {
    background-color: var(--danger-color);
  }
  
  .image-upload-placeholder {
    width: 120px;
    height: 120px;
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: #fff;
    transition: all 0.3s;
    color: var(--text-secondary);
  }
  
  .image-upload-placeholder:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: #f0f9ff;
  }
  
  .image-upload-placeholder i {
    font-size: 24px;
    margin-bottom: 8px;
  }
  
  .image-upload-placeholder span {
    font-size: 12px;
    text-align: center;
  }
  
  .image-upload-info {
    color: var(--text-secondary);
    font-size: 12px;
  }
  
  /* 响应式设计 */
  @media (max-width: 768px) {
    .sidebar {
      width: 60px;
    }
    
    .sidebar-logo {
      justify-content: center;
      padding: 0;
    }
    
    .menu-item span {
      display: none;
    }
    
    .menu-item i {
      margin-right: 0;
    }
    
    .submenu {
      padding-left: 0;
    }
    
    .form-group {
      flex: 0 0 100% !important;
    }
    
    .card-header {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .card-header .btn-group {
      margin-top: 10px;
    }
    
    .table {
      display: block;
      overflow-x: auto;
    }
  }

/* ========= 管理后台极简主题（深色底 + 纯色扁平卡片 + 玫红点缀，无渐变无阴影，仅含侧栏页面） ========= */
@keyframes admin-nav-underline-in {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

body:has(> .container > .sidebar) {
  background-color: #1a1d24;
  color: #b8bcc8;
}

body:has(> .container > .sidebar) .sidebar {
  background-color: #242832;
  box-shadow: none;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

body:has(> .container > .sidebar) .sidebar-logo {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  color: #f5f5f5;
  font-weight: 600;
  letter-spacing: 0.02em;
}

body:has(> .container > .sidebar) .menu-item {
  color: #a8adb8;
  border-right: none;
  border-bottom: none;
  box-sizing: border-box;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* 底划线从左向右展开（scaleX + left 原点） */
body:has(> .container > .sidebar) .menu-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #ec407a;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

body:has(> .container > .sidebar) .menu-item:hover {
  background-color: rgba(255, 255, 255, 0.06);
  color: #fff;
}

body:has(> .container > .sidebar) .menu-item:not(.active):hover::after {
  transform: scaleX(1);
  background-color: rgba(236, 64, 122, 0.55);
}

body:has(> .container > .sidebar) .menu-item.active {
  background-color: rgba(236, 64, 122, 0.14);
  color: #f8bbd9;
  border-right: none;
  border-left: none;
  padding-left: 20px;
}

body:has(> .container > .sidebar) .menu-item.active::after {
  display: none;
}

body:has(> .container > .sidebar) .menu-item i {
  color: #e1a4bd;
  transition: color 0.25s ease;
}

body:has(> .container > .sidebar) .menu-item:hover i {
  color: #f8bbd9;
}

body:has(> .container > .sidebar) .menu-item.active i {
  color: #ec407a;
}

body:has(> .container > .sidebar) .submenu {
  background-color: rgba(0, 0, 0, 0.2);
}

body:has(> .container > .sidebar) .header {
  background-color: #1e2128;
  box-shadow: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body:has(> .container > .sidebar) .toggle-btn {
  color: #d2d6df;
}

body:has(> .container > .sidebar) .breadcrumb-item {
  color: #e8eaed;
  font-weight: 500;
}

body:has(> .container > .sidebar) .header-item {
  color: #b4b9c5;
}

body:has(> .container > .sidebar) .header-item a:hover,
body:has(> .container > .sidebar) .header-item:hover {
  color: #ec407a;
}

/* 不再使用独立标题卡片（标题以顶栏面包屑与浏览器标签为准） */
body:has(> .container > .sidebar) .page-header {
  display: none !important;
}

body:has(> .container > .sidebar) .page-content {
  background-color: #23262f;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body:has(> .container > .sidebar) .page-header--tabs-bar {
  padding: 0 4px;
  min-height: 0;
}

body:has(> .container > .sidebar) .page-header--tabs-bar .page-title {
  display: none;
}

body:has(> .container > .sidebar) .page-title {
  color: #f0f2f5;
  font-weight: 600;
}

body:has(> .container > .sidebar) .card {
  background-color: #23262f;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

body:has(> .container > .sidebar) .card-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background-color: #262a33;
}

body:has(> .container > .sidebar) .card-title {
  color: #f0f2f5;
  font-weight: 600;
}

/* 后台订单详情：三栏信息（桌面端与截图一致） */
body:has(> .container > .sidebar) .admin-order-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 24px;
}

body:has(> .container > .sidebar) .admin-order-detail-col h4 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #bfc4ce;
}

body:has(> .container > .sidebar) .admin-order-detail-col p {
  margin: 0 0 8px;
  font-size: 14px;
  color: #e4e6eb;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  body:has(> .container > .sidebar) .admin-order-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* 局部样式 only：不改变全局主题，仅配合订单详情 / 积分列表 */
body:has(> .container > .sidebar) .admin-order-status-pill {
  display: inline-block;
  padding: 4px 12px;
  font-size: 13px;
  border-radius: 0;
  background: transparent;
  color: #d2d6df;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 600;
  box-shadow: none;
}

body:has(> .container > .sidebar) .points-delta-pos {
  color: #81c784;
  font-weight: 600;
}

body:has(> .container > .sidebar) .points-delta-neg {
  color: #e57373;
  font-weight: 600;
}

/* 标签：底边基准线 + 每项下划线从左向右滑出 */
body:has(> .container > .sidebar) .admin-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.12);
}

body:has(> .container > .sidebar) .admin-tabs--page {
  width: 100%;
}

body:has(> .container > .sidebar) .admin-tab {
  position: relative;
  display: inline-block;
  padding: 14px 20px;
  margin-bottom: -2px;
  font-size: 15px;
  color: #8b929e;
  text-decoration: none;
  border: none;
  transition: color 0.3s ease;
}

body:has(> .container > .sidebar) .admin-tab::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #ec407a;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

body:has(> .container > .sidebar) .admin-tab:hover {
  color: #e4e6eb;
}

body:has(> .container > .sidebar) .admin-tab:not(.admin-tab--active):hover::after {
  transform: scaleX(1);
  background-color: rgba(236, 64, 122, 0.5);
}

body:has(> .container > .sidebar) .admin-tab--active {
  color: #ec407a;
  font-weight: 600;
}

body:has(> .container > .sidebar) .admin-tab--active::after {
  background-color: #ec407a;
  animation: admin-nav-underline-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body:has(> .container > .sidebar) .admin-tabs--filter {
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 0;
  margin-bottom: 0;
  gap: 0;
}

body:has(> .container > .sidebar) .admin-tabs--filter .admin-tab {
  padding: 10px 16px;
  margin-bottom: -1px;
  font-size: 14px;
}

body:has(> .container > .sidebar) .card-header--with-tabs {
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
}

body:has(> .container > .sidebar) .card-header--with-tabs .card-title {
  flex: 0 0 auto;
  width: 100%;
}

@media (min-width: 900px) {
  body:has(> .container > .sidebar) .card-header--with-tabs .card-title {
    width: auto;
  }

  body:has(> .container > .sidebar) .card-header--with-tabs {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

body:has(> .container > .sidebar) .card-header__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

body:has(> .container > .sidebar) .card-header__toolbar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  flex: 1;
  min-width: 0;
}

@media (min-width: 900px) {
  body:has(> .container > .sidebar) .card-header__toolbar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: flex-end;
    width: auto;
    max-width: 100%;
  }
}

body:has(> .container > .sidebar) .card-header__toolbar .admin-tabs--filter {
  flex: 1 1 auto;
  min-width: min(100%, 280px);
}

body:has(> .container > .sidebar) .admin-tab-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* 手机端专用包装层见 admin-mobile-shell.css；桌面端不参与布局，避免挤压「添加商品」与表头 */
@media (min-width: 769px) {
  body:has(> .container > .sidebar) .admin-m-products-toolbar-row,
  body:has(> .container > .sidebar) .admin-m-taobao-toolbar-row {
    display: contents;
  }

  /* 淘宝导入筛选行：输入、下拉与按钮同一视觉高度、纵向居中 */
  body:has(> .container > .sidebar) .admin-taobao-filter-row.form-inline {
    align-items: center;
  }

  body:has(> .container > .sidebar) .admin-taobao-filter-row .form-control,
  body:has(> .container > .sidebar) .admin-taobao-filter-row .btn,
  body:has(> .container > .sidebar) .admin-taobao-filter-row a.btn {
    min-height: 38px;
    box-sizing: border-box;
  }

  body:has(> .container > .sidebar) .admin-taobao-filter-row .btn,
  body:has(> .container > .sidebar) .admin-taobao-filter-row a.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

body:has(> .container > .sidebar) .taobao-filter-form input[name="search"] {
  min-width: 140px;
  max-width: 240px;
}

body:has(> .container > .sidebar) .dashboard-panels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

body:has(> .container > .sidebar) .dashboard-panels .card {
  background-color: #23262f;
  border-color: rgba(236, 64, 122, 0.22);
  box-shadow: none;
}

@media (max-width: 900px) {
  body:has(> .container > .sidebar) .dashboard-panels {
    grid-template-columns: 1fr;
  }
}

body:has(> .container > .sidebar) .card-body {
  color: #d2d6df;
}

/* 列表页：表格贴齐卡片左右边，分页与表格同宽、有顶部分隔线 */
body:has(> .container > .sidebar) .card-body--table {
  padding: 0 0 0;
}

body:has(> .container > .sidebar) .card-body--table .table {
  width: 100%;
  margin-bottom: 0;
}

body:has(> .container > .sidebar) .card-body--table .table th:first-child,
body:has(> .container > .sidebar) .card-body--table .table td:first-child {
  padding-left: 15px;
}

body:has(> .container > .sidebar) .card-body--table .table th:last-child,
body:has(> .container > .sidebar) .card-body--table .table td:last-child {
  padding-right: 15px;
}

body:has(> .container > .sidebar) .card-body--table > .pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 12px 15px 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
  justify-content: flex-end;
}

/* 后台通用模态框（淘宝批量导入等） */
body:has(> .container > .sidebar) .admin-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10050;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

body:has(> .container > .sidebar) .admin-modal.is-open {
  display: flex;
}

body:has(> .container > .sidebar) .admin-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}

body:has(> .container > .sidebar) .admin-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow: auto;
  background: #23262f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

body:has(> .container > .sidebar) .admin-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body:has(> .container > .sidebar) .admin-modal__title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #f0f2f5;
}

body:has(> .container > .sidebar) .admin-modal__close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: #9aa3b5;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

body:has(> .container > .sidebar) .admin-modal__close:hover {
  color: #f0f2f5;
}

body:has(> .container > .sidebar) .admin-modal__body {
  padding: 16px;
}

body:has(> .container > .sidebar) .admin-modal__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

body:has(> .container > .sidebar) .admin-modal__body .admin-modal__foot {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* 下划线输入（深色卡片上） */
body:has(> .container > .sidebar) input.form-control:not([type="file"]),
body:has(> .container > .sidebar) select.form-control {
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  background-color: transparent;
  padding-left: 2px;
  height: 38px;
  box-shadow: none !important;
  color: #f0f2f5;
}

/* 下拉框：去系统样式 + 自定义箭头（展开列表在部分浏览器仍受系统主题影响，option 尽量深色） */
body:has(> .container > .sidebar) select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 28px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23b8bcc8' d='M0 0h10L5 6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}

body:has(> .container > .sidebar) select.form-control:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23ec407a' d='M0 0h10L5 6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}

body:has(> .container > .sidebar) select.form-control option,
body:has(> .container > .sidebar) select.form-control optgroup {
  background-color: #2c303a;
  color: #e8eaed;
}

body:has(> .container > .sidebar) .content .form-control::placeholder {
  color: #6b7280;
}

body:has(> .container > .sidebar) input.form-control:not([type="file"]):focus,
body:has(> .container > .sidebar) select.form-control:focus {
  border-bottom-color: #ec407a;
  box-shadow: none !important;
  outline: none;
}

/* 商城设置轮播等：整块边框输入，避免仅下划线不易辨认 */
body:has(> .container > .sidebar) input.form-control.admin-form-control--fill:not([type="file"]) {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-color: #1a1d24;
  padding: 10px 12px;
  height: auto;
  min-height: 40px;
  box-sizing: border-box;
}

body:has(> .container > .sidebar) input.form-control.admin-form-control--fill:not([type="file"]):focus {
  border-color: rgba(236, 64, 122, 0.5);
  outline: none;
}

body:has(> .container > .sidebar) input[type="file"].form-control {
  border: 1px dashed rgba(236, 64, 122, 0.35);
  border-radius: 0;
  padding: 8px 10px;
  height: auto;
  background: #1a1d24;
  color: #c4c8d0;
}

body:has(> .container > .sidebar) textarea.form-control {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: #1a1d24;
  padding: 10px 12px;
  min-height: 96px;
  box-shadow: none;
  color: #e8eaed;
}

body:has(> .container > .sidebar) textarea.form-control:focus {
  border-color: #ec407a;
  outline: none;
  background: #1e2128;
}

body:has(> .container > .sidebar) .form-label {
  color: #b4b9c5;
  font-size: 13px;
  font-weight: 500;
}

body:has(> .container > .sidebar) .btn-primary {
  background-color: #1e2746;
  color: #fff;
  border-radius: 0;
}

body:has(> .container > .sidebar) .btn-primary:hover {
  background-color: #2a3558;
  color: #fff;
}

body:has(> .container > .sidebar) .btn-success {
  background-color: #26a69a;
  color: #fff;
  border-radius: 0;
}

body:has(> .container > .sidebar) .btn-success:hover {
  background-color: #00897b;
  color: #fff;
}

body:has(> .container > .sidebar) .btn-danger {
  background-color: #ef5350;
  border-radius: 0;
}

body:has(> .container > .sidebar) .btn-danger:hover {
  background-color: #e53935;
  color: #fff;
}

body:has(> .container > .sidebar) .btn-info {
  background-color: #78909c;
  border-radius: 0;
}

body:has(> .container > .sidebar) .btn-info:hover {
  background-color: #607d8b;
  color: #fff;
}

/* 桌面后台：默认/次要按钮（编辑等），避免无底色像裸链接 */
body:has(> .container > .sidebar) .btn-default,
body:has(> .container > .sidebar) .btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #e8eaed;
  border-radius: 0;
}

body:has(> .container > .sidebar) .btn-default:hover,
body:has(> .container > .sidebar) .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

body:has(> .container > .sidebar) a.btn {
  text-decoration: none;
}

body:has(> .container > .sidebar) .btn {
  box-shadow: none !important;
}

body:has(> .container > .sidebar) .btn-warning {
  border-radius: 0;
}

body:has(> .container > .sidebar) .table {
  border: none;
}

body:has(> .container > .sidebar) .table th {
  background-color: #2f343e;
  color: #f0f2f5;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body:has(> .container > .sidebar) .table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #d2d6df;
}

body:has(> .container > .sidebar) .table tr:hover {
  background-color: rgba(255, 255, 255, 0.04);
}

body:has(> .container > .sidebar) .page-link {
  border-radius: 0;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #d2d6df;
}

body:has(> .container > .sidebar) .page-item.active .page-link {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

body:has(> .container > .sidebar) .page-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

body:has(> .container > .sidebar) .alert {
  border-radius: 0;
  border: 1px solid transparent;
}

body:has(> .container > .sidebar) .alert-success {
  background: rgba(56, 142, 60, 0.18);
  border-color: rgba(129, 199, 132, 0.35);
  color: #c8e6c9;
}

body:has(> .container > .sidebar) .alert-danger {
  background: rgba(198, 40, 40, 0.2);
  border-color: rgba(239, 83, 80, 0.35);
  color: #ffcdd2;
}

body:has(> .container > .sidebar) .content a:not(.btn):not(.page-link) {
  color: #f48fb1;
}

body:has(> .container > .sidebar) .content a:not(.btn):not(.page-link):hover {
  color: #ff80ab;
}

@media (max-width: 768px) {
  body:has(> .container > .sidebar) .card-header {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}

/* ========= 后台组件全集：统计卡、图表区、按钮组、弹窗、淘宝模态、图片上传、积分卡、侧栏折叠等 ========= */

body:has(> .container > .sidebar) .sidebar.collapsed {
  width: 60px;
}

body:has(> .container > .sidebar) .sidebar.collapsed .sidebar-logo {
  justify-content: center;
  padding: 0;
}

body:has(> .container > .sidebar) .sidebar.collapsed .menu-item span {
  display: none;
}

body:has(> .container > .sidebar) .sidebar.collapsed .menu-item i {
  margin-right: 0;
}

body:has(> .container > .sidebar) .sidebar.collapsed .menu-item.active {
  padding-left: 12px;
  border-left-width: 0;
}

body:has(> .container > .sidebar) .main-content.expanded {
  margin-left: 0;
}

body:has(> .container > .sidebar) .stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

body:has(> .container > .sidebar) .stat-card {
  background-color: #23262f;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid rgba(236, 64, 122, 0.22);
  padding: 22px 20px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
}

body:has(> .container > .sidebar) .stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  margin-right: 16px;
  flex-shrink: 0;
  border: 1px solid rgba(236, 64, 122, 0.12);
}

/* 四卡统一玫红主题，纯色底区分层次 */
body:has(> .container > .sidebar) .stat-icon--rose {
  background-color: rgba(236, 64, 122, 0.2);
  color: #f48fb1;
}

body:has(> .container > .sidebar) .stat-icon--teal {
  background-color: rgba(194, 24, 91, 0.18);
  color: #f8bbd9;
}

body:has(> .container > .sidebar) .stat-icon--amber {
  background-color: rgba(136, 14, 79, 0.22);
  color: #f48fb1;
}

body:has(> .container > .sidebar) .stat-icon--coral {
  background-color: rgba(236, 64, 122, 0.14);
  color: #ff80ab;
}

body:has(> .container > .sidebar) .stat-info {
  flex: 1;
  min-width: 0;
}

body:has(> .container > .sidebar) .stat-value {
  font-size: 24px;
  font-weight: 700;
  color: #f5f5f7;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

body:has(> .container > .sidebar) .stat-label {
  font-size: 13px;
  color: #b8a8b5;
}

/* 仪表盘统计卡：左圆标 + 右数值（深色底与后台主区统一，非白卡片） */
body:has(> .container > .sidebar) .dashboard-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

body:has(> .container > .sidebar) .dashboard-stat-grid--secondary {
  margin-bottom: 6px;
}

body:has(> .container > .sidebar) .dashboard-stat-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 24px 22px;
  background: #23262f;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body:has(> .container > .sidebar) .dashboard-stat-card--compact {
  padding: 18px 16px;
  gap: 16px;
}

body:has(> .container > .sidebar) .dashboard-stat-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 26px;
  background: transparent !important;
  color: #9aa3b5;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none !important;
}

body:has(> .container > .sidebar) .dashboard-stat-card--compact .dashboard-stat-card__icon {
  width: 52px;
  height: 52px;
  font-size: 22px;
}

body:has(> .container > .sidebar) .dashboard-stat-card__icon--blue,
body:has(> .container > .sidebar) .dashboard-stat-card__icon--green,
body:has(> .container > .sidebar) .dashboard-stat-card__icon--orange,
body:has(> .container > .sidebar) .dashboard-stat-card__icon--rose,
body:has(> .container > .sidebar) .dashboard-stat-card__icon--slate,
body:has(> .container > .sidebar) .dashboard-stat-card__icon--accent {
  background: transparent !important;
  color: #9aa3b5;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none !important;
}

body:has(> .container > .sidebar) .dashboard-stat-card__body {
  flex: 1;
  min-width: 0;
}

body:has(> .container > .sidebar) .dashboard-stat-card__value {
  font-size: 26px;
  font-weight: 700;
  color: #f0f2f5;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

body:has(> .container > .sidebar) .dashboard-stat-card--compact .dashboard-stat-card__value {
  font-size: 22px;
}

body:has(> .container > .sidebar) .dashboard-stat-card__label {
  margin-top: 6px;
  font-size: 14px;
  color: #a8b0c0;
}

body:has(> .container > .sidebar) .dashboard-stat-card--compact .dashboard-stat-card__label {
  font-size: 13px;
  margin-top: 4px;
}

@media (max-width: 1200px) {
  body:has(> .container > .sidebar) .dashboard-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  body:has(> .container > .sidebar) .dashboard-stat-grid {
    grid-template-columns: 1fr;
  }
}

/* 仪表盘整页：深灰工作区 + 统计卡与深色主题统一（仅 body.admin-dashboard） */
body.admin-dashboard:has(> .container > .sidebar) .header {
  background-color: #14171e !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

body.admin-dashboard:has(> .container > .sidebar) .main-content,
body.admin-dashboard:has(> .container > .sidebar) .content {
  background-color: #14171e !important;
}

body.admin-dashboard:has(> .container > .sidebar) .page-content {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 0 16px;
}

body.admin-dashboard:has(> .container > .sidebar) .admin-dash-tabs {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 8px 36px;
  margin-top: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0;
}

body.admin-dashboard:has(> .container > .sidebar) .admin-dash-tabs .btn {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 10px 0 12px !important;
  font-size: 15px;
  border-radius: 0 !important;
  color: #9b8aa8 !important;
  font-weight: 400;
}

body.admin-dashboard:has(> .container > .sidebar) .admin-dash-tabs .btn:hover {
  color: #c9bdd4 !important;
}

body.admin-dashboard:has(> .container > .sidebar) .admin-dash-tabs .btn-primary {
  color: #42a5f5 !important;
  font-weight: 600 !important;
  border-bottom: 2px solid #42a5f5 !important;
  margin-bottom: -1px;
}

body.admin-dashboard:has(> .container > .sidebar) .admin-dash-tabs .btn-default {
  border-bottom: 2px solid transparent !important;
  margin-bottom: -1px;
}

body.admin-dashboard:has(> .container > .sidebar) .dashboard-stat-card {
  background: #1e2229 !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.admin-dashboard:has(> .container > .sidebar) .dashboard-stat-card__value {
  color: #f5f6f8 !important;
}

body.admin-dashboard:has(> .container > .sidebar) .dashboard-stat-card__label {
  color: #9aa3b5 !important;
}

body.admin-dashboard:has(> .container > .sidebar) .page-content > .card {
  background-color: #23262f !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
}

body:has(> .container > .sidebar) .chart-container {
  background: #23262f;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px;
  margin-bottom: 20px;
}

body:has(> .container > .sidebar) .chart-title {
  font-size: 16px;
  font-weight: 600;
  color: #f0f2f5;
  margin-bottom: 14px;
}

body:has(> .container > .sidebar) .data-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

body:has(> .container > .sidebar) .btn-sm {
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 0;
}

body:has(> .container > .sidebar) .btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

body:has(> .container > .sidebar) .btn-group .btn {
  margin: 0;
}

body:has(> .container > .sidebar) .form-inline {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  gap: 10px;
}

body:has(> .container > .sidebar) .form-inline .form-control {
  width: auto;
  min-width: 140px;
}

body:has(> .container > .sidebar) .alert-info {
  background: rgba(25, 118, 210, 0.18);
  border-color: rgba(100, 181, 246, 0.35);
  color: #bbdefb;
}

body:has(> .container > .sidebar) .alert-warning {
  background: rgba(230, 81, 0, 0.18);
  border-color: rgba(255, 183, 77, 0.35);
  color: #ffe0b2;
}

body:has(> .container > .sidebar) .text-success {
  color: #80cbc4 !important;
}

body:has(> .container > .sidebar) .text-info {
  color: #9fa8da !important;
}

body:has(> .container > .sidebar) .text-danger {
  color: #ef9a9a !important;
}

body:has(> .container > .sidebar) .text-warning {
  color: #ffcc80 !important;
}

body:has(> .container > .sidebar) .text-primary {
  color: #f48fb1 !important;
}

body:has(> .container > .sidebar) .modal-backdrop {
  backdrop-filter: none;
}

body:has(> .container > .sidebar) .modal {
  border-radius: 0;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #2c303a;
  color: #d2d6df;
}

body:has(> .container > .sidebar) .modal-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body:has(> .container > .sidebar) .modal-title {
  color: #f0f2f5;
  font-weight: 600;
}

body:has(> .container > .sidebar) .modal-close:hover {
  color: #ec407a;
}

body:has(> .container > .sidebar) .modal-footer {
  border-top-color: rgba(255, 255, 255, 0.08);
}

body:has(> .container > .sidebar) .modal-body {
  color: #d2d6df;
}

body:has(> .container > .sidebar) .taobao-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

body:has(> .container > .sidebar) .taobao-modal.is-open {
  display: flex;
}

body:has(> .container > .sidebar) .taobao-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  backdrop-filter: none;
}

body:has(> .container > .sidebar) .taobao-modal__dialog {
  position: relative;
  background: #2c303a;
  border-radius: 0;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow: auto;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d2d6df;
}

body:has(> .container > .sidebar) .taobao-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 16px;
  font-weight: 600;
  color: #f0f2f5;
}

body:has(> .container > .sidebar) .taobao-modal__close {
  border: none;
  background: none;
  font-size: 22px;
  line-height: 1;
  color: #9ca3af;
  cursor: pointer;
  padding: 0 4px;
}

body:has(> .container > .sidebar) .taobao-modal__close:hover {
  color: #ec407a;
}

body:has(> .container > .sidebar) .taobao-modal__body {
  padding: 22px;
}

body:has(> .container > .sidebar) .taobao-modal textarea[name="batch_orders"] {
  width: 100%;
  min-height: 200px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  box-sizing: border-box;
  background: #1a1d24;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  color: #e8eaed;
  padding: 12px;
}

body:has(> .container > .sidebar) .taobao-modal textarea[name="batch_orders"]::placeholder {
  color: #6b7280;
}

body:has(> .container > .sidebar) .taobao-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body:has(> .container > .sidebar) .image-upload-container {
  display: inline-block;
  vertical-align: top;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: #1a1d24;
}

body:has(> .container > .sidebar) .image-preview-item {
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 0;
  cursor: pointer;
}

body:has(> .container > .sidebar) .image-upload-placeholder {
  border-radius: 0;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: #9ca3af;
}

body:has(> .container > .sidebar) .image-upload-placeholder:hover {
  border-color: #ec407a;
  color: #ec407a;
  background: rgba(236, 64, 122, 0.06);
}

body:has(> .container > .sidebar) .image-preview-item .image-remove {
  z-index: 6;
  cursor: pointer;
}

body:has(> .container > .sidebar) .image-preview-item--single {
  width: 120px;
  height: 120px;
}

body:has(> .container > .sidebar) .image-remove {
  background: rgba(236, 64, 122, 0.92);
  border-radius: 0;
}

body:has(> .container > .sidebar) .image-remove:hover {
  background: #c2185b;
}

body:has(> .container > .sidebar) .points-card {
  border-radius: 0;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #23262f;
}

body:has(> .container > .sidebar) .points-icon {
  background: rgba(236, 64, 122, 0.2);
  color: #f48fb1;
}

body:has(> .container > .sidebar) .points-value {
  color: #f8bbd9;
}

body:has(> .container > .sidebar) .points-action-icon {
  background: rgba(255, 255, 255, 0.08);
  color: #b4b9c5;
}

body:has(> .container > .sidebar) .points-actions {
  border-top-color: rgba(255, 255, 255, 0.08);
}

body:has(> .container > .sidebar) input[type="checkbox"],
body:has(> .container > .sidebar) input[type="radio"] {
  accent-color: #ec407a;
}

body:has(> .container > .sidebar) .mb-20 {
  margin-bottom: 20px;
}

body:has(> .container > .sidebar) .content hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 16px 0;
}

body:has(> .container > .sidebar) .content code {
  background: rgba(255, 255, 255, 0.08);
  color: #f48fb1;
  padding: 2px 6px;
  border-radius: 0;
  font-size: 13px;
}

body:has(> .container > .sidebar) .content pre {
  background: #1a1d24;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  padding: 12px;
  font-size: 13px;
  overflow-x: auto;
  color: #d2d6df;
}

body:has(> .container > .sidebar) .menu-item a {
  color: inherit;
}

body:has(> .container > .sidebar) .btn:disabled,
body:has(> .container > .sidebar) .btn.disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

body:has(> .container > .sidebar) .form-control:disabled,
body:has(> .container > .sidebar) .form-control[readonly] {
  background-color: rgba(255, 255, 255, 0.04);
  color: #8b919c;
  border-bottom-color: rgba(255, 255, 255, 0.1);
  opacity: 1;
}

body:has(> .container > .sidebar) .table img {
  border-radius: 0;
  vertical-align: middle;
}

body:has(> .container > .sidebar) .avatar {
  border-radius: 0;
}

body:has(> .container > .sidebar) .note-editor.note-frame {
  border-color: rgba(255, 255, 255, 0.12) !important;
  border-radius: 0 !important;
  background: #1a1d24 !important;
}

body:has(> .container > .sidebar) .note-toolbar {
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
  background: #23262f !important;
}

body:has(> .container > .sidebar) .note-editing-area,
body:has(> .container > .sidebar) .note-editable {
  background: #1a1d24 !important;
  color: #e8eaed !important;
}

@media (max-width: 768px) {
  body:has(> .container > .sidebar) .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }

  body:has(> .container > .sidebar) .data-container {
    grid-template-columns: 1fr;
  }
}

/* ========== 后台表格横向滚动 / 分类拖拽 / 手机端侧栏抽屉 ========== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-card-header-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.category-drag-col {
  width: 36px;
  text-align: center;
  vertical-align: middle !important;
}

.category-drag-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  cursor: grab;
  color: var(--text-secondary, #909399);
  border-radius: 4px;
}

.category-drag-handle:active {
  cursor: grabbing;
}

.category-sort-ghost {
  opacity: 0.45;
  background: rgba(64, 158, 255, 0.12) !important;
}

.admin-category-sort-hint {
  margin: 0 0 12px;
}

.admin-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1998;
}

.admin-sidebar-overlay.is-visible {
  display: block;
}

@media (max-width: 768px) {
  body:has(> .container > .sidebar) .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 260px;
    max-width: min(260px, 88vw);
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    z-index: 1999;
    box-shadow: none;
  }

  body:has(> .container > .sidebar) .sidebar.admin-sidebar--open {
    transform: translateX(0);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.35);
  }

  body:has(> .container > .sidebar) .main-content {
    width: 100%;
    min-width: 0;
  }

  body:has(> .container > .sidebar) .main-content.expanded {
    margin-left: 0;
  }

  body:has(> .container > .sidebar) .sidebar.collapsed {
    width: 260px;
  }

  body:has(> .container > .sidebar) .sidebar.collapsed .menu-item span {
    display: inline;
  }

  body:has(> .container > .sidebar) .header {
    flex-wrap: wrap;
    height: auto;
    min-height: 50px;
    padding: 8px 12px;
    gap: 8px;
  }

  body:has(> .container > .sidebar) .header-right {
    flex-wrap: wrap;
    justify-content: flex-end;
    width: 100%;
    font-size: 13px;
  }

  body:has(> .container > .sidebar) .header-item {
    padding: 4px 8px;
  }

  body:has(> .container > .sidebar) .breadcrumb {
    margin-left: 6px;
    min-width: 0;
  }

  body:has(> .container > .sidebar) .breadcrumb-item {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60vw;
  }

  body:has(> .container > .sidebar) .page-content {
    padding: 10px;
  }

  body:has(> .container > .sidebar) .card-header {
    flex-direction: column;
    align-items: stretch !important;
    gap: 10px;
  }

  body:has(> .container > .sidebar) .card-header--with-tabs .card-header__toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  body:has(> .container > .sidebar) .admin-tabs--filter {
    flex-wrap: wrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
  }

  body:has(> .container > .sidebar) .admin-tab {
    flex-shrink: 0;
  }

  body:has(> .container > .sidebar) .form-inline.admin-tab-search {
    flex-wrap: wrap;
    width: 100%;
  }

  body:has(> .container > .sidebar) .form-inline.admin-tab-search .form-control {
    flex: 1;
    min-width: 0;
  }

  body:has(> .container > .sidebar) .table .action-column .btn {
    display: inline-block;
    margin: 2px 4px 2px 0;
  }
}

/* 桌面端：恢复为常规表格布局（避免与移动端 stack 类名混用时出现行间距） */
@media (min-width: 769px) {
  body:has(> .container > .sidebar) table.admin-m-stack-table thead {
    display: table-header-group !important;
  }

  body:has(> .container > .sidebar) table.admin-m-stack-table tbody tr {
    display: table-row !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
  }

  body:has(> .container > .sidebar) table.admin-m-stack-table tbody tr td {
    display: table-cell !important;
    width: auto !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  }

  body:has(> .container > .sidebar) table.admin-m-stack-table tbody tr td[data-label]::before {
    display: none !important;
    content: none !important;
  }
}

body:has(> .container > .sidebar) .admin-multi-image__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
}

body:has(> .container > .sidebar) .admin-multi-image__list .admin-multi-image__thumb {
  width: 100px;
  height: 100px;
}

/* 商城设置 — 首页轮播：左图右文，去掉嵌套卡片 */
body:has(> .container > .sidebar) .admin-settings-banner {
  margin-top: 4px;
  margin-bottom: 4px;
}

body:has(> .container > .sidebar) .admin-settings-banner__intro {
  font-size: 13px;
  color: #9aa3b5;
  margin: 0 0 14px;
  line-height: 1.55;
}

body:has(> .container > .sidebar) .admin-settings-banner__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.12);
  box-shadow: none;
  border-radius: 0;
}

body:has(> .container > .sidebar) .admin-settings-banner__slot {
  grid-column: 1 / -1;
  margin: 0 0 2px;
  font-size: 12px;
  color: #8b929e;
  font-weight: 600;
  letter-spacing: 0.03em;
}

body:has(> .container > .sidebar) .admin-settings-banner__upload-col .form-group {
  margin-bottom: 0;
}

body:has(> .container > .sidebar) .admin-settings-banner__fields .form-group:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  body:has(> .container > .sidebar) .admin-settings-banner__item {
    grid-template-columns: 248px minmax(0, 1fr);
    align-items: start;
    gap: 20px;
  }
}

body:has(> .container > .sidebar) .image-preview-area--banner-replace {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0;
}

body:has(> .container > .sidebar) .image-preview-area--banner-replace .image-preview-item--single,
body:has(> .container > .sidebar) .image-preview-area--banner-replace .image-upload-placeholder {
  width: 112px;
  height: 112px;
  flex-shrink: 0;
}

body:has(> .container > .sidebar) .image-preview-area--banner-replace .image-upload-placeholder span {
  font-size: 11px;
  line-height: 1.25;
  padding: 0 4px;
}

/* 商城设置 — 轮播多图网格 + 点击编辑链接 */
body:has(> .container > .sidebar) .admin-banner-editor {
  margin-top: 8px;
  margin-bottom: 8px;
}

body:has(> .container > .sidebar) .admin-banner-editor__toolbar {
  margin-bottom: 14px;
}

body:has(> .container > .sidebar) .admin-banner-editor__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

body:has(> .container > .sidebar) .admin-banner-tile {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

body:has(> .container > .sidebar) .admin-banner-tile__img-wrap {
  position: relative;
  cursor: pointer;
  aspect-ratio: 16 / 10;
  background: #14171c;
}

body:has(> .container > .sidebar) .admin-banner-tile__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  vertical-align: top;
}

body:has(> .container > .sidebar) .admin-banner-tile__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
}

body:has(> .container > .sidebar) .admin-banner-tile__img-wrap:hover .admin-banner-tile__overlay {
  opacity: 1;
}

body:has(> .container > .sidebar) .admin-banner-tile__hint {
  font-size: 12px;
  color: #fff;
  font-weight: 600;
}

body:has(> .container > .sidebar) .admin-banner-tile__meta {
  font-size: 11px;
  color: #8b929e;
  padding: 8px 10px;
  line-height: 1.35;
  word-break: break-all;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 2.6em;
}

body:has(> .container > .sidebar) .admin-banner-tile__remove {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 3;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  border-radius: 0;
}

body:has(> .container > .sidebar) .admin-banner-tile__remove:hover {
  background: rgba(239, 83, 80, 0.85);
  border-color: transparent;
}

body:has(> .container > .sidebar) .admin-banner-editor__empty {
  font-size: 13px;
  color: #8b929e;
  margin: 0 0 12px;
}

/* 商品编辑：现有图缩略图 + 角标 ×（与轮播块风格一致） */
body:has(> .container > .sidebar) .admin-existing-product-images {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

body:has(> .container > .sidebar) .admin-existing-product-img.admin-banner-tile {
  width: 100px;
  flex: 0 0 auto;
}

/* ========== 管理员登录页（独立全屏，参考双栏 + 波浪分隔） ========== */
body.admin-login-body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: #1c2025;
  color: #e8eaed;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.admin-login-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  box-sizing: border-box;
}

.admin-login-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  max-width: 880px;
  min-height: 460px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.admin-login-brand {
  flex: 0 1 42%;
  min-width: 0;
  background: #1c2025;
  color: #fff;
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.admin-login-brand__tag {
  display: inline-block;
  align-self: flex-start;
  background: #ffeb3b;
  color: #111;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  margin-bottom: 22px;
  transform: skewX(-6deg);
  letter-spacing: 0.02em;
}

.admin-login-brand__welcome {
  color: #9aa3b5;
  font-size: 13px;
  letter-spacing: 0.2em;
  margin: 0 0 10px;
}

.admin-login-brand__title {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.25;
}

.admin-login-brand__slogan {
  color: #8b929e;
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

.admin-login-divider {
  flex: 0 0 32px;
  width: 32px;
  min-height: 100%;
  margin-left: -1px;
  z-index: 1;
  display: flex;
  align-items: stretch;
}

.admin-login-divider svg {
  width: 100%;
  height: 100%;
  min-height: 460px;
  display: block;
}

.admin-login-form-wrap {
  flex: 1 1 58%;
  min-width: 0;
  background: #fff;
  padding: 44px 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.admin-login-form-inner {
  max-width: 360px;
  margin: 0 auto;
  width: 100%;
}

.admin-login-form__title {
  position: relative;
  font-size: 22px;
  font-weight: 700;
  color: #1a1d21;
  margin: 0 0 28px;
  padding-bottom: 12px;
}

.admin-login-form__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  background: #e91e63;
  border-radius: 2px;
}

.admin-login-alert {
  background: rgba(233, 30, 99, 0.08);
  border: 1px solid rgba(233, 30, 99, 0.35);
  color: #c2185b;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 20px;
}

.admin-login-alert i {
  margin-right: 6px;
}

.admin-login-field {
  margin-bottom: 24px;
}

.admin-login-field--password {
  position: relative;
}

.admin-login-field__label {
  display: block;
  font-size: 13px;
  color: #757575;
  margin-bottom: 8px;
}

.admin-login-input {
  width: 100%;
  box-sizing: border-box;
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 10px 36px 10px 0;
  font-size: 16px;
  color: #212121;
  background: transparent;
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s ease;
}

.admin-login-input::placeholder {
  color: #bdbdbd;
}

.admin-login-input:focus {
  border-bottom-color: #e91e63;
}

.admin-login-field--password .admin-login-input {
  padding-right: 40px;
}

.admin-login-toggle-pwd {
  position: absolute;
  right: 0;
  bottom: 8px;
  width: 36px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  color: #9e9e9e;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.admin-login-toggle-pwd:hover {
  color: #616161;
}

.admin-login-remember {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 13px;
}

.admin-login-remember__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #424242;
  user-select: none;
}

.admin-login-remember__hint {
  color: #9e9e9e;
  font-size: 12px;
}

.admin-login-checkbox {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #e91e63;
  cursor: pointer;
}

.admin-login-submit {
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: 4px;
  background: #1c2025;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.05s ease;
}

.admin-login-submit:hover {
  background: #2a3038;
}

.admin-login-submit:active {
  transform: translateY(1px);
}

.admin-login-footer-link {
  text-align: center;
  margin: 24px 0 0;
  font-size: 14px;
}

.admin-login-footer-link a {
  color: #e91e63;
  text-decoration: none;
}

.admin-login-footer-link a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .admin-login-card {
    flex-direction: column;
    max-width: 420px;
    min-height: 0;
  }

  .admin-login-divider {
    display: none;
  }

  .admin-login-brand {
    flex: none;
    padding: 32px 24px 28px;
    text-align: center;
    align-items: center;
  }

  .admin-login-brand__tag {
    align-self: center;
  }

  .admin-login-form-wrap {
    padding: 28px 24px 32px;
  }

  .admin-login-remember {
    flex-direction: column;
    align-items: flex-start;
  }
}
