/* 湖南垫齿科技有限公司 - 网络科技培训平台样式表 */
/* 更新日期：2026年 */

:root {
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --accent-color: #4ade80;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
}

/* 容器布局 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 顶部导航 */
.header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
}

.nav-links a:hover {
  background: rgba(255,255,255,0.2);
  color: white;
}

/* Hero区域 */
.hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 80px 0;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="3" fill="rgba(255,255,255,0.08)"/><circle cx="40" cy="80" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  background-size: 100px;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto 30px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 40px;
  flex-wrap: wrap;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  display: block;
}

.stat-label {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 14px 35px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: white;
  color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--accent-color);
  color: white;
}

.btn-secondary:hover {
  background: #22c55e;
  transform: translateY(-2px);
}

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

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* 区块标题 */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* 课程卡片网格 */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.course-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.course-card a {
  text-decoration: none;
  color: inherit;
}

.course-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

.course-card:hover .course-image {
  transform: scale(1.05);
}

.course-image-wrapper {
  overflow: hidden;
  position: relative;
}

.course-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--accent-color);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.course-content {
  padding: 25px;
}

.course-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.course-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 15px;
  line-height: 1.6;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #e5e7eb;
}

.course-price {
  font-size: 1.4rem;
  font-weight: bold;
  color: #ef4444;
}

.course-price span {
  font-size: 0.9rem;
  color: var(--text-light);
  text-decoration: line-through;
  margin-left: 8px;
}

.course-info {
  display: flex;
  gap: 15px;
  color: var(--text-light);
  font-size: 0.85rem;
}

/* 特色区块 */
.features {
  background: var(--bg-white);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.feature-item {
  text-align: center;
  padding: 30px;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
}

.feature-item h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.feature-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* 评价区块 */
.reviews {
  background: linear-gradient(135deg, #f0f4ff, #f8f0ff);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.review-card {
  background: var(--bg-white);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.review-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
}

.review-author h4 {
  font-size: 1rem;
  color: var(--text-dark);
}

.review-author span {
  font-size: 0.85rem;
  color: var(--text-light);
}

.review-stars {
  color: #fbbf24;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.review-text {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* 详情页样式 */
.detail-hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 60px 0;
  color: white;
}

.detail-container {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: start;
}

.detail-main {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: var(--shadow-md);
}

.detail-sidebar {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 100px;
}

.detail-image {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: 25px;
}

.detail-title {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.detail-desc {
  color: var(--text-light);
  margin-bottom: 25px;
  line-height: 1.8;
}

.detail-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
  padding: 25px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-item span:first-child {
  color: var(--primary-color);
  font-size: 1.3rem;
}

.curriculum {
  margin-top: 30px;
}

.curriculum h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.curriculum-list {
  list-style: none;
}

.curriculum-list li {
  padding: 15px 20px;
  background: var(--bg-light);
  margin-bottom: 10px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
}

.curriculum-list li::before {
  content: '✓';
  color: var(--accent-color);
  font-weight: bold;
}

.sidebar-price {
  text-align: center;
  padding-bottom: 25px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 25px;
}

.sidebar-price .price {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ef4444;
}

.sidebar-price .original {
  font-size: 1.1rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.sidebar-features {
  list-style: none;
  margin-bottom: 25px;
}

.sidebar-features li {
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  border-bottom: 1px solid #f3f4f6;
}

.sidebar-features li::before {
  content: '✓';
  color: var(--accent-color);
  font-weight: bold;
}

/* 订单页面 */
.order-section {
  padding: 60px 0;
  min-height: calc(100vh - 200px);
}

.order-container {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
}

.order-form {
  background: var(--bg-white);
  padding: 35px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: var(--text-dark);
  padding-bottom: 15px;
  border-bottom: 2px solid var(--primary-color);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.order-summary {
  background: var(--bg-white);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 100px;
  height: fit-content;
}

.summary-title {
  font-size: 1.3rem;
  margin-bottom: 25px;
  color: var(--text-dark);
}

.summary-item {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #e5e7eb;
}

.summary-item img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.summary-info h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.summary-info p {
  color: #ef4444;
  font-weight: bold;
}

.summary-total {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid #e5e7eb;
}

.summary-total .row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--text-light);
}

.summary-total .total-row {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--text-dark);
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e5e7eb;
}

.summary-total .total-row span:last-child {
  color: #ef4444;
}

/* ========== 返回顶部按钮 ========== */
.back-to-top {
  position: fixed;
  z-index: 998;
  right: 20px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

/* ========== 漂浮客服按钮 ========== */
.floating-service {
  position: fixed;
  right: -30px;
  bottom: 80px;
  z-index: 999;
  transition: right 0.3s ease;
}

.floating-service:hover {
  right: 0;
}

.service-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 12px 10px;
  min-width: 50px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  color: white;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.service-btn:hover {
  box-shadow: 0 6px 25px rgba(102, 126, 234, 0.6);
}

.service-icon {
  font-size: 20px;
  line-height: 1;
}

.service-text {
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

/* ========== 在线聊天框 ========== */
.chat-box {
  position: fixed;
  right: 24px;
  bottom: 150px;
  width: 340px;
  height: 420px;
  max-height: calc(100vh - 180px);
  background: var(--bg-white);
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s ease;
  overflow: hidden;
}

.chat-box.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  flex-shrink: 0;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.chat-title {
  font-size: 15px;
  font-weight: 600;
}

.chat-status {
  font-size: 12px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.chat-close {
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #f8fafc;
}

.chat-message {
  display: flex;
  gap: 10px;
  max-width: 85%;
}

.chat-message.bot {
  align-self: flex-start;
}

.chat-message.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.message-avatar {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  color: white;
}

.message-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.message-text {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
}

.chat-message.bot .message-text {
  background: white;
  color: var(--text-dark);
  border: 1px solid #e5e7eb;
}

.chat-message.user .message-text {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.message-time {
  font-size: 11px;
  color: var(--text-light);
  padding: 0 4px;
}

.chat-quick-replies {
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: white;
  border-top: 1px solid #e5e7eb;
}

.quick-reply-btn {
  padding: 8px 14px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  border-radius: 20px;
  font-size: 13px;
  color: var(--primary-color);
  cursor: pointer;
  transition: all 0.2s;
}

.quick-reply-btn:hover {
  background: rgba(102, 126, 234, 0.1);
  border-color: var(--primary-color);
}

.chat-input-area {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  background: white;
  border-top: 1px solid #e5e7eb;
}

.chat-input-area input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  border-radius: 24px;
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s;
}

.chat-input-area input:focus {
  border-color: var(--primary-color);
}

.chat-input-area input::placeholder {
  color: var(--text-light);
}

.chat-send {
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.chat-send:hover {
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* 页脚 */
.footer {
  background: #1e293b;
  color: #94a3b8;
  padding: 50px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #334155;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.footer-brand p {
  line-height: 1.7;
  font-size: 0.95rem;
}

.footer-links h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  padding: 25px 0;
  text-align: center;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: white;
}

.footer-icp {
  margin-top: 10px;
}

.footer-icp a {
  color: #667eea;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .detail-container,
  .order-container {
    grid-template-columns: 1fr;
  }
  
  .detail-sidebar,
  .order-summary {
    position: static;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 15px;
  }
  
  .nav-links {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-stats {
    gap: 30px;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .course-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .floating-service {
    right: -26px;
    bottom: 70px;
  }
  
  .floating-service:hover {
    right: 0;
  }
  
  .service-btn {
    width: 44px;
    height: 44px;
    padding: 10px 8px;
  }
  
  .service-icon {
    font-size: 16px;
  }
  
  .service-text {
    font-size: 8px;
  }
  
  .chat-box {
    width: calc(100vw - 40px);
    max-width: 300px;
    right: 20px;
    bottom: 130px;
    height: 380px;
  }
  
  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  
  .detail-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero {
    padding: 50px 0;
  }
  
  .hero h1 {
    font-size: 1.6rem;
  }
  
  .btn {
    padding: 12px 25px;
  }
  
  .back-to-top {
    right: 15px;
    bottom: 20px;
    width: 45px;
    height: 45px;
  }
}

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

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* 课程标签颜色变体 */
.tag-hot {
  background: #ef4444;
}

.tag-new {
  background: var(--accent-color);
}

.tag-recommend {
  background: #f59e0b;
}

/* 表单验证样式 */
.form-group.error input {
  border-color: #ef4444;
}

.error-message {
  color: #ef4444;
  font-size: 0.85rem;
  margin-top: 5px;
}

/* 支付方式选择 */
.payment-methods {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.payment-option {
  flex: 1;
  min-width: 120px;
  padding: 15px;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}

.payment-option:hover {
  border-color: var(--primary-color);
}

.payment-option.selected {
  border-color: var(--primary-color);
  background: rgba(102, 126, 234, 0.05);
}

.payment-option input {
  display: none;
}

.payment-option .icon {
  font-size: 2rem;
  margin-bottom: 5px;
}

/* 成功提示 */
.success-message {
  background: #d1fae5;
  color: #065f46;
  padding: 15px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
