/* 我的账户页面样式 */
#my-panel {
  background: white;
  border-radius: 25px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  animation: fadeIn 0.6s ease;
}

#my-panel h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 15px;
  border-bottom: 2px solid #ecf0f1;
}

#my-panel h2 i {
  background: linear-gradient(135deg, #3498db, #9b59b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(52, 152, 219, 0.1);
}

#my-panel .section-desc {
  color: #95a5a6;
  margin-bottom: 25px;
  font-size: 0.95rem;
}

/* 用户信息样式 */
.color-stat {
  max-width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.color-box {
  background: linear-gradient(135deg, #3498db, #9b59b6);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.stat-name {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.stat-count {
  color: #95a5a6;
  font-size: 0.95rem;
}

/* 设计画廊样式 */
.design-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.design-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.design-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.design-image {
  height: 160px;
  background: #ecf0f1;
  position: relative;
  overflow: hidden;
}

.design-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.design-info {
  padding: 15px;
}

.design-title {
  font-weight: 600;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.design-author {
  color: #95a5a6;
  font-size: 0.85rem;
}

/* 按钮样式 */
.action-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.btn {
  flex: 1;
  padding: 18px;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, #3498db, #9b59b6);
  color: white;
  box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 12px 25px rgba(52, 152, 219, 0.4);
  transform: translateY(-3px);
}

.btn-secondary {
  background: white;
  color: #3498db;
  border: 2px solid #3498db;
}

.btn-secondary:hover {
  background: rgba(52, 152, 219, 0.05);
  transform: translateY(-3px);
}

/* 页脚样式 */
footer {
  text-align: center;
  padding: 30px 0 20px;
  color: #95a5a6;
  font-size: 0.9rem;
}

/* 动画 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 响应式调整 */
@media (max-width: 480px) {
  #my-panel {
    padding: 25px 20px;
  }
  
  .design-gallery {
    grid-template-columns: 1fr;
  }
  
  .btn {
    padding: 15px;
    font-size: 1rem;
  }
}
/* 修改8：添加Material图标基础样式 */
mat-icon {
  font-family: 'Material Icons';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
  margin-right: 8px;
}
/* 修改23：添加CSS变量定义 */
:root {
  --primary: #3498db;
  --accent: #9b59b6;
  --success: #2ecc71;
  --warning: #f39c12;
  --danger: #e74c3c;
  --light: #ecf0f1;
  --dark: #2c3e50;
  --gray: #95a5a6;
}

/* 修改24：其他样式保持不变但使用CSS变量 */
#my-panel {
  background: white;
  border-radius: 25px;
  padding: 30px;
  margin: 0 auto 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  animation: fadeIn 0.6s ease;
  max-width: 1200px;
}

/* 其余样式保持不变... */

/* 定义颜色变量 */
:root {
  --primary: #3498db;
  --accent: #9b59b6;
  --success: #2ecc71;
  --warning: #f39c12;
  --danger: #e74c3c;
  --light: #ecf0f1;
  --dark: #2c3e50;
  --gray: #95a5a6;
}

/* 基础样式重置 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 主面板样式 */
#my-panel {
  background: white;
  border-radius: 25px;
  padding: 30px;
  margin: 0 auto 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  animation: fadeIn 0.6s ease;
  max-width: 1200px;
}

#my-panel h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--light);
}

#my-panel h2 fa-icon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(52, 152, 219, 0.1);
}

#my-panel .section-desc {
  color: var(--gray);
  margin-bottom: 25px;
  font-size: 0.95rem;
}

/* 用户信息卡片 */
.user-profile-card {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(155, 89, 182, 0.1));
  padding: 20px;
  border-radius: 15px;
  align-items: center;
}

.user-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.user-info {
  flex: 1;
}

.user-name {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.user-level {
  display: inline-block;
  background: linear-gradient(135deg, var(--warning), #e67e22);
  color: white;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.user-stats {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--gray);
}

/* 快速操作区域 */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 30px;
}

.action-item {
  background: white;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
}

.action-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.action-icon {
  width: 40px;
  height: 40px;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 1.2rem;
}

.action-title {
  font-weight: 600;
  font-size: 0.9rem;
}

/* 订单卡片样式 */
.order-card {
  background: white;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.order-id {
  font-weight: 600;
  color: var(--dark);
}

.order-date {
  color: var(--gray);
  font-size: 0.9rem;
}

.order-status {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-processing {
  background-color: rgba(52, 152, 219, 0.1);
  color: var(--primary);
}

.status-shipped {
  background-color: rgba(46, 204, 113, 0.1);
  color: var(--success);
}

.status-delivered {
  background-color: rgba(155, 89, 182, 0.1);
  color: var(--accent);
}

.order-content {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.order-image {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #eee;
}

.order-details {
  flex: 1;
}

.order-title {
  font-weight: 600;
  margin-bottom: 5px;
}

.order-description {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.order-price {
  font-weight: 700;
  color: var(--dark);
}

.order-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* 设计画廊样式 */
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.section-title h3 {
  font-size: 1.2rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.view-all {
  font-size: 0.9rem;
  color: var(--primary);
  text-decoration: none;
  cursor: pointer;
}

.design-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.design-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid #eee;
}

.design-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.design-image {
  height: 160px;
  background: var(--light);
  position: relative;
  overflow: hidden;
}

.design-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.design-item:hover .design-image img {
  transform: scale(1.05);
}

.design-info {
  padding: 15px;
}

.design-title {
  font-weight: 600;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.design-meta {
  color: var(--gray);
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
}

/* 按钮样式 */
.btn {
  padding: 8px 15px;
  border-radius: 20px;
  border: none;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.btn-sm {
  padding: 5px 12px;
  font-size: 0.8rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
}

.btn-primary:hover {
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  background: rgba(52, 152, 219, 0.05);
}

.action-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  justify-content: flex-end;
}

/* 空状态提示 */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--gray);
  background-color: #f9f9f9;
  border-radius: 15px;
  margin: 20px 0;
}

.empty-state h4 {
  margin-bottom: 15px;
}

.empty-state p {
  margin-bottom: 15px;
}

/* 动画 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 响应式调整 */
@media (max-width: 768px) {
  .quick-actions {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .user-profile-card {
    flex-direction: column;
    text-align: center;
  }
  
  .user-stats {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  #my-panel {
    padding: 20px 15px;
  }
  
  .quick-actions {
    grid-template-columns: 1fr;
  }
  
  .design-gallery {
    grid-template-columns: 1fr;
  }
  
  .order-content {
    flex-direction: column;
  }
  
  .order-image {
    width: 100%;
    height: 150px;
  }
  
  .action-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
}

