/* CSS ĐỘC QUYỀN TRANG THANH TOÁN */
.checkout-page { padding: 50px 0; }
.checkout-header { text-align: center; margin-bottom: 40px; padding-top:50px; }
.checkout-header h1 { font-size: 2.2rem; color: var(--text-dark); margin: 0 0 10px; font-weight: 800; display: flex; justify-content: center; align-items: center; gap: 10px; }
.checkout-header h1 i { color: var(--primary-blue); }
.checkout-header p { color: var(--text-muted); font-size: 1.1rem; margin: 0; }

.checkout-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 30px; align-items: flex-start; }

.checkout-card { background: white; border-radius: 16px; border: 1px solid #e5e7eb; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); padding: 30px; }
.checkout-card h2 { margin: 0 0 25px; font-weight: 700; font-size: 1.3rem; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #f3f4f6; padding-bottom: 15px; }
.checkout-card h2 i { color: var(--primary-blue); font-size: 1.6rem; }

.payment-radio-input { display: none; }
.payment-box { 
  display: flex; align-items: center; gap: 15px; padding: 20px; 
  border: 2px solid #e5e7eb; border-radius: 12px; cursor: pointer; 
  transition: all 0.2s; margin-bottom: 15px; background: white;
}
.payment-box:hover { border-color: #cbd5e1; }
.radio-circle { 
  width: 22px; height: 22px; border: 2px solid #cbd5e1; border-radius: 50%; 
  display: flex; align-items: center; justify-content: center; transition: 0.2s; flex-shrink: 0;
}
.payment-icon { font-size: 2rem; color: var(--text-muted); transition: 0.2s; }
.payment-text { display: flex; flex-direction: column; }
.payment-text b { font-size: 1.05rem; color: var(--text-dark); }
.payment-text span { font-size: 0.85rem; color: var(--text-muted); }

.payment-radio-input:checked + .payment-box { border-color: var(--primary-blue); background: #f0f5ff; }
.payment-radio-input:checked + .payment-box .radio-circle { border: 6px solid var(--primary-blue); }
.payment-radio-input:checked + .payment-box .payment-icon { color: var(--primary-blue); }

.summary-item { display: flex; justify-content: space-between; margin-bottom: 18px; color: var(--text-muted); font-size: 1.05rem; }
.summary-item .value { color: var(--text-dark); font-weight: 600; }
.summary-total { display: flex; justify-content: space-between; margin-top: 25px; padding-top: 25px; border-top: 2px dashed #e5e7eb; align-items: center; }
.summary-total .label { font-size: 1.2rem; font-weight: 600; color: var(--text-dark); }
.summary-total .value { font-size: 1.8rem; font-weight: 800; color: #ef4444; }

#btn-pay { width: 100%; padding: 16px; font-size: 1.1rem; margin-top: 15px; }

@media (max-width: 992px) {
  .checkout-layout { grid-template-columns: 1fr; }
}

.qr-modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(11, 17, 32, 0.85); backdrop-filter: blur(4px); z-index: 9999; justify-content: center; align-items: center; }
.qr-modal-content { background: white; padding: 40px; border-radius: 20px; text-align: center; max-width: 420px; width: 90%; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); position: relative; animation: modalPop 0.3s ease-out; }
@keyframes modalPop { 0% { transform: scale(0.9); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes spin { 100% { transform: rotate(360deg); } }

/* ==========================================
   🌟 TOAST NOTIFICATION STYLES
   ========================================== */
#toast-container {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.vlemp-toast {
  min-width: 280px;
  max-width: 400px;
  padding: 16px 20px;
  border-radius: 12px;
  background: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 15px;
  transform: translateX(120%);
  animation: toastSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  font-weight: 500;
  font-size: 0.95rem;
  border-left: 5px solid transparent;
  color: var(--text-dark);
}
.vlemp-toast.success { border-left-color: #10b981; }
.vlemp-toast.success i { color: #10b981; }
.vlemp-toast.error { border-left-color: #ef4444; }
.vlemp-toast.error i { color: #ef4444; }
.vlemp-toast.info { border-left-color: var(--primary-blue); }
.vlemp-toast.info i { color: var(--primary-blue); }

.vlemp-toast.hiding {
  animation: toastSlideOut 0.3s ease-in forwards;
}
@keyframes toastSlideIn {
  to { transform: translateX(0); }
}
@keyframes toastSlideOut {
  to { transform: translateX(120%); opacity: 0; }
}