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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

input::placeholder {
  color: #999;  
  opacity: 1;
  font-size:0.9rem;
  letter-spacing:0.05em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    /*justify-content: space-between;*/
    justify-content: center;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing:0.05em;
}

.nav-brand a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background 0.3s;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 主要内容 */
.main-content {
    padding: 1.5rem 0;
    /*padding-top:3rem;*/
}

/* 用户卡片 */
.user-section {
    /*margin-bottom: 2rem;*/
}

.user-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 2rem;
    color: white;
    margin-bottom: 1rem;
}

.user-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.user-tab {
    padding: 12px 24px;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
}

.user-tab:hover,
.user-tab.active {
    background: rgba(255,255,255,0.3);
}

.user-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.info-item {
    background: rgba(255,255,255,0.1);
    padding-bottom: 1rem;
    border-radius: 8px;
}

.info-item .label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.info-item .value {
    display: block;
    font-weight: bold;
}

.user-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.agent-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.agent-links a {
    color: #667eea;
    text-decoration: none;
    padding: 8px 16px;
    border: 2px solid #667eea;
    border-radius: 6px;
    transition: all 0.3s;
}

.agent-links a:hover {
    background: #667eea;
    color: white;
}

/* 公告栏 */
.announcement-section {
    margin-bottom: 2rem;
}

.announcement-card {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    color: white;
}

.announcement-icon {
    font-size: 2rem;
}

.announcement-content h3 {
    margin-bottom: 0.5rem;
}

.announcement-text {
    line-height: 1.8;
}

/* 标签页 */
.tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e0e0e0;
}

.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    color: #666;
    transition: all 0.3s;
}

.tab-btn:hover {
    color: #667eea;
}

.tab-btn.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 商品网格 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
}

.product-spec,
.product-models,
.product-device {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.spec-label {
    font-weight: bold;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f5576c;
    margin: 1rem 0;
}

.product-coupon {
    margin-bottom: 1rem;
}

.product-description-preview {
    margin: 0.75rem 0;
    font-size: 0.85rem;
    color: #888;
    line-height: 1.5;
    min-height: 2.5rem;
}

.product-more-hint {
    margin: 0.75rem 0 1rem 0;
    text-align: center;
    padding: 0.5rem 0;
}

.more-link {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.more-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
}

.badge-success {
    background: #4caf50;
    color: white;
}

.badge-secondary {
    background: #9e9e9e;
    color: white;
}

/* 按钮 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 87, 108, 0.4);
}

.btn-secondary {
    background: #667eea;
    /*background: #22358d;*/
    color: white;
}

.btn-secondary:hover {
    background: #5568d3;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

.btn-block {
    display: block;
    width: 100%;
}

/* 对比表格 */
.compare-table-wrapper {
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.compare-table th,
.compare-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.compare-table th {
    background: #667eea;
    color: white;
    font-weight: bold;
}

.compare-table tr:hover {
    background: #f5f5f5;
}

.price-cell {
    color: #f5576c;
    font-weight: bold;
}

/* FAQ */
.faq-list {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    padding-bottom: 0rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.faq-answer {
    color: #666;
    line-height: 1.8;
}

.faq-answer p {
    margin-bottom: 0.5rem;
}

/* 页脚 */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
    font-size:15px;
}

/* 表单样式 */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.required {
    color: #f5576c;
}

/* 认证页面 */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.auth-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 420px;
}

.auth-title {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.auth-form {
    margin-top: 1rem;
}

.form-footer {
    display: flex;
    /*justify-content: space-between;*/
    justify-content: center;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.form-footer a {
    color: #667eea;
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* 订单页面 */
.order-create,
.order-detail {
    max-width: 800px;
    margin: 0 auto;
}

.order-form-wrapper {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.order-product-info {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

#order_row > div{
    color: rgba(255,255,255,0.8); 
    margin-bottom: 4px;
    font-size: 15px; 
    letter-spacing:0.02em;
}

.product-summary {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
}

.summary-row .label {
    font-weight: bold;
    color: #666;
    letter-spacing:0.03em;
    font-family: /*"Microsoft YaHei", "微软雅黑",*/ SimHei, "黑体", Arial, sans-serif;
}

.order-summary {
    background: #f5f5f5;
    padding: 1.5rem;
    padding-bottom:0.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.summary-item.total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #ddd;
    font-size: 1.2rem;
    font-weight: bold;
}

.summary-item .discount {
    color: #4caf50;
}


.payment-section {
    text-align:center;
}

.order-number a {
    color: white;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.payment-method:hover {
    border-color: #667eea;
}

.payment-method input[type="radio"]:checked + .payment-icon {
    color: #667eea;
}

.payment-icon {
    font-size: 2rem;
}

.payment-method {
    display: flex;
    align-items: center;  /* 确保所有项目在交叉轴上居中 */
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
}

/* 统一所有内部直接子元素的行高和垂直对齐 */
.payment-method > input,
.payment-method > span {
    margin: 0;
    line-height: 1;  /* 关键：取消默认行高对居中的干扰 */
    display: inline-block; /* 或 inline-flex */
    vertical-align: middle;
    font-size:20px;
}

/* 单独调整单选按钮的缩放导致的偏移 */
.payment-method input[type="radio"] {
    transform: scale(1.5);  /* 缩放可能会改变实际占位，可以尝试用 width/height 代替 */
    width: 20px;
    height: 20px;
    transform: none;  /* 如果尺寸固定，直接取消缩放 */
}

/* 订单详情 */
.order-info-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.info-section {
    margin-bottom: 2rem;
}

.info-section h3 {
    margin-bottom: 1rem;
    color: #333;
}

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

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-item .label {
    font-size: 0.9rem;
    color: #666;
}

.info-item .value {
    font-size: 0.9rem;
    color: #333;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
}

.status-pending {
    background: #ff9800;
    color: white;
}

.status-paid {
    background: #2196f3;
    color: white;
}

.status-shipped {
    /*background: #4caf50;*/
    background: #17a2b8;
    color: white;
}

.status-completed {
    background: #4caf50;
    color: white;
}

.status-cancelled {
    /*background: #f44336;*/
    background: #545050;
    color: white;
}

.status-expired {
    background-color: #ffd33d;
    color: #222222;
}

.account-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.account-info {
    background: #f5f5f5;
    padding: 1.5rem;
    border-radius: 8px;
}

.account-info code {
    background: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-family: monospace;
    margin-right: 10px;
}

.activation-code {
    font-size: 1.2rem;
    font-weight: bold;
    color: #667eea;
    white-space: pre-wrap;  /* 保留换行和空格 */
    word-break: break-all;  /* 允许长单词换行 */
    display: block;         /* 改为块级元素 */
    margin-bottom: 10px;    /* 与复制按钮保持间距 */
}

/* 多卡密列表样式 */
.activation-codes-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.activation-code-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    transition: all 0.3s;
}

.activation-code-item:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.code-number {
    font-weight: bold;
    color: #999;
    min-width: 25px;
    font-size: 0.9rem;
}

.activation-code-single {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    font-family: 'Courier New', monospace;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 4px;
    word-break: break-all;
}

.btn-copy-small {
    padding: 6px 16px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-copy-small:hover {
    background: #5568d3;
    transform: translateY(-1px);
}

.copy-all-wrapper {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.btn-copy-all {
    padding: 10px 24px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-copy-all:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.single-code-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-copy {
    padding: 6px 12px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.3s;
}

.btn-copy:hover {
    background: #5568d3;
}

.info-note {
    margin-top: 1rem;
    padding: 1rem;
    background: #e3f2fd;
    border-radius: 6px;
    color: #1976d2;
}

.info-note p {
    margin-bottom: 0.5rem;
}

/* 用户中心 */
.user-center {
    max-width: 1200px;
    margin: 0 auto;
}

.info-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.info-card h2 {
    margin-bottom: 1.5rem;
    color: #333;
}

.referral-link-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-right: 10px;
}

.orders-section,
.coupons-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.orders-table-wrapper {
    overflow-x: auto;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th,
.orders-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.orders-table th {
    background: #f5f5f5;
    font-weight: bold;
    color: #333;
}

.orders-table tr:hover {
    background: #f9f9f9;
}

.orders-table a {
  color: navy; 
  text-decoration: underline; 
}
.orders-table a:hover {
  color: #1976d2; /* 悬浮变色 */
}

.btn-link {
    color: #667eea;
    text-decoration: none;
}

.btn-link:hover {
    text-decoration: underline;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: #666;
}

/* 商品详情 */
.product-detail {
    max-width: 900px;
    margin: 0 auto;
}

.breadcrumb {
    margin-bottom: 1rem;
    color: #666;
    font-size:16px;
    font-weight:400;
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
}

.product-detail-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-detail-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #333;
    text-align: center;
    font-weight: 500;
}

.product-detail-info {
    margin-bottom: 2rem;
}

.info-row {
    display: flex;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.info-row .label {
    min-width: 120px;
    font-weight: bold;
    color: #666;
}

.product-price-large {
    font-size: 2rem;
    font-weight: bold;
    color: #f5576c;
    margin: 1rem 0;
    text-align: center;
}

.product-description {
    margin: 2rem 0;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.product-description h3 {
    margin-bottom: 1rem;
    color: #333;
}

.description-content {
    line-height: 1.8;
    color: #666;
}

.product-actions {
    margin-top: 2rem;
    text-align: center;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* 支付页面 */
.payment-page {
    max-width: 600px;
    margin: 0 auto;
}

.order-summary-card,
.payment-methods-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-option:hover {
    border-color: #667eea;
}

.payment-option input[type="radio"] {
    margin-right: 1rem;
}

.payment-option-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.payment-actions {
    margin-top: 2rem;
}

.payment-tips {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.payment-tips h4 {
    margin-bottom: 1rem;
    color: #856404;
}

.payment-tips ul {
    list-style-position: inside;
    color: #856404;
}

.payment-tips li {
    margin-bottom: 0.5rem;
}

/* 提示框 */
.alert {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size:12px;
}

.alert-error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef5350;
    font-size:0.9rem;
    text-align:center;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #4caf50;
    font-size:0.9rem;
    text-align:center;
}

.alert-info {
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid #2196f3;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.badge-info {
    background: #2196f3;
    color: white;
}

.badge-warning {
    background: #ff9800;
    color: white;
}

.page-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
}

.price-large {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f5576c;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .user-info {
        grid-template-columns: 1fr;
    }
    
    .user-actions {
        flex-direction: column;
    }
    
    .compare-table-wrapper {
        overflow-x: scroll;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
}

/* 收款码支付样式 */
.payment-qrcode-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    text-align: center;
}

.payment-qrcode-card h3 {
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.5rem;
}

.qrcode-container {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qrcode-image {
    max-width: 300px;
    width: 100%;
    height: auto;
    border: 4px solid white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.qrcode-tip {
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.qrcode-placeholder {
    padding: 3rem;
    color: #999;
}

.qrcode-placeholder p {
    margin-bottom: 0.5rem;
}

.qrcode-placeholder code {
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9rem;
}
.checkout-qrcode-tip{
    font-size:0.9rem;
}

.text-muted {
    color: #999;
    font-size: 0.9rem;
}

.account-info {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f0f7ff;
    border-radius: 6px;
    border-left: 4px solid #667eea;
}

.account-info p {
    margin: 0;
    color: #333;
}

.payment-confirm-form {
    margin-top: 2rem;
    text-align: left;
}

.payment-confirm-form .form-group {
    margin-bottom: 1.5rem;
}

.payment-confirm-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.payment-confirm-form .form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.payment-confirm-form .form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.payment-option.active {
    border-color: #667eea;
    background: #f0f7ff;
}

.payment-method-selector {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .qrcode-image {
        max-width: 250px;
    }
    
    .payment-qrcode-card {
        padding: 1.5rem;
    }
    .main-content {
        padding: 1rem 0;
    }
    .user-section {
        margin-bottom: 0rem;
    }
    .tab-btn {
        font-size:0.9rem;
        padding: 10px 20px;
    }
    input::placeholder {
        font-size:0.8rem;
    }
    .nav-brand a {
        font-size: 1.2rem;
        gap: 5px;
    }
    #registerForm {
        padding:0rem 0;
    }
    #loginForm {
        padding:2rem 0;
    }
}

/* 正在下单时，变灰并锁死鼠标/手势事件 */
.btn.is-loading {
    background-color: #a0aec0 !important; /* 变灰 */
    border-color: #a0aec0 !important;
    pointer-events: none;                /* 🌟 核心：锁死所有鼠标点击、手势触摸事件 */
    cursor: not-allowed;
}

