/* ===== Order Hotel Card ===== */
.order-hotel-card {
  display: flex;
  gap: 12px;
  background: #fff;
  padding: 16px;
  margin-bottom: 10px;
  border-bottom: 4px solid #f5f6fa;
}

.order-hotel-img {
  width: 90px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.order-hotel-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.order-hotel-name {
  font-size: 15px;
  font-weight: 600;
  color: #222;
}

.order-room-type {
  font-size: 13px;
  color: #e84b3a;
  background: #fff5f3;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  width: fit-content;
}

.order-dates {
  font-size: 12px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.date-sep {
  color: #ddd;
}

/* ===== Pay Section ===== */
.pay-section {
  background: #fff;
  padding: 16px;
  margin-bottom: 10px;
  border-radius: 0;
}

.pay-section-title {
  font-size: 15px;
  font-weight: 600;
  color: #222;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f5f5f5;
}

/* ===== Price Detail ===== */
.price-detail-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #555;
}

.price-detail-item.discount {
  color: #07c160;
}

.green {
  color: #07c160;
  font-weight: 500;
}

.price-detail-item.total {
  padding-top: 12px;
  border-top: 1px dashed #eee;
  font-size: 15px;
  font-weight: 600;
  color: #222;
}

.total-price {
  font-size: 22px;
  font-weight: 700;
  color: #e84b3a;
}

/* ===== Coupon ===== */
.coupon-section {
  cursor: pointer;
}

.coupon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.coupon-label {
  font-size: 14px;
  color: #333;
}

.coupon-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.coupon-no {
  font-size: 13px;
  color: #bbb;
}

.coupon-arrow {
  color: #bbb;
  font-size: 16px;
}

/* ===== Pay Methods ===== */
.pay-methods {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pay-method-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #f5f5f5;
  cursor: pointer;
}

.pay-method-item:last-child {
  border-bottom: none;
}

.pay-method-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pay-icon {
  font-size: 28px;
}

.pay-name {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 2px;
}

.pay-desc {
  font-size: 11px;
  color: #999;
}

.pay-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #ddd;
  transition: all 0.2s;
}

.pay-radio.active {
  border-color: #e84b3a;
  background: #e84b3a;
  box-shadow: inset 0 0 0 3px #fff;
}

/* ===== Notice ===== */
.notice-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notice-item {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

/* ===== Agree ===== */
.agree-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 14px 16px;
  background: #fff;
  margin-bottom: 90px;
}

.agree-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  accent-color: #e84b3a;
}

.agree-text {
  font-size: 12px;
  color: #999;
  line-height: 1.6;
}

.agree-link {
  color: #2979ff;
}

/* ===== Pay Footer ===== */
.pay-footer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-top: 1px solid #f0f0f0;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
  z-index: 100;
}

.pf-label {
  font-size: 12px;
  color: #999;
}

.pf-amount {
  font-size: 28px;
  font-weight: 800;
  color: #e84b3a;
  display: block;
  margin-top: -2px;
}

.pay-now-btn {
  background: linear-gradient(135deg, #e84b3a, #ff7961);
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 14px 40px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(232,75,58,0.38);
}

/* ===== Success Modal ===== */
.success-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px;
  z-index: 600;
  text-align: center;
  width: 80%;
  max-width: 320px;
  opacity: 0;
  transition: all 0.35s ease;
  pointer-events: none;
}

.success-modal.show {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.success-icon {
  font-size: 54px;
  margin-bottom: 14px;
}

.success-title {
  font-size: 22px;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}

.success-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 6px;
}

.success-order-no {
  font-size: 12px;
  color: #bbb;
  margin-bottom: 24px;
}

.success-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.success-btn-primary {
  background: linear-gradient(135deg, #e84b3a, #ff7961);
  color: #fff;
  border-radius: 10px;
  padding: 11px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.success-btn-outline {
  border: 1.5px solid #e84b3a;
  color: #e84b3a;
  border-radius: 10px;
  padding: 10px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
