/**
 * ✅ Fact Check Confirmation Modal Styles
 */

/* ========== Modal使用和build-confirm-modal相同的基础样式 ========== */
.factcheck-confirm-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10001; /* 比build modal高 */
  animation: fadeIn 0.3s ease;
}

.factcheck-confirm-overlay.show {
  display: flex;
}

.factcheck-confirm-modal {
  background: #1a1a1a;
  border: 2px solid #00ff88;
  border-radius: 16px;
  padding: 32px;
  max-width: 550px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 255, 136, 0.3);
  animation: slideUp 0.3s ease;
}

/* ========== Fact Check特色 ========== */
.factcheck-info {
  background: rgba(0, 255, 136, 0.05);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: #ccc;
  font-size: 14px;
}

.info-item .icon {
  font-size: 24px;
  min-width: 32px;
  text-align: center;
}

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

.info-highlight {
  color: #00ff88;
  font-weight: bold;
}

/* ========== Cost显示（绿色主题）========== */
.factcheck-confirm-modal .cost-breakdown {
  background: rgba(0, 255, 136, 0.08);
  border: 2px solid rgba(0, 255, 136, 0.3);
}

.factcheck-confirm-modal .cost-row,
.factcheck-confirm-modal .balance-row {
  border-bottom: 1px solid rgba(0, 255, 136, 0.15);
}

.factcheck-confirm-modal .after-row {
  border-top: 2px solid rgba(0, 255, 136, 0.3);
}

.factcheck-confirm-modal .cost-label-large {
  color: #ccc;
  font-size: 16px;
  font-weight: bold;
}

.factcheck-confirm-modal .cost-value-large {
  display: flex;
  align-items: center;
  gap: 10px;
}

.factcheck-confirm-modal .cost-value-large .tire-amount {
  font-size: 24px;
  color: #00ff88;
}

.factcheck-confirm-modal .cost-value-large .usd-amount {
  font-size: 16px;
  color: #999;
}

/* ========== Premium服务标签 ========== */
.premium-badge {
  display: inline-block;
  background: linear-gradient(135deg, #00ff88, #00cc6a);
  color: #000;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
  margin-left: 8px;
}

/* ========== 确认按钮（绿色主题）========== */
.factcheck-confirm-modal .btn-confirm {
  background: linear-gradient(135deg, #00ff88, #00cc6a);
  color: #000;
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.factcheck-confirm-modal .btn-confirm:hover {
  box-shadow: 0 6px 20px rgba(0, 255, 136, 0.5);
}

/* ========== Build信息显示 ========== */
.build-info {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

.build-info-title {
  color: #999;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.build-info-value {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
  .factcheck-confirm-modal {
    padding: 24px;
    width: 95%;
  }
}
