
/* <!-- CSS for Loader Animation --> */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#landedCostModal .loader {
    display: inline-block;
}

#landedCostModal .modal-content {
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

#landedCostModal .modal-header .close {
    margin-top: -2px;
}

#landedCostModal .table tbody tr:last-child td {
    padding-bottom: 12px;
}

/* new styles */

/* Landed Cost Modal Enhanced Styling */
#landedCostModal .lc-modal { border-radius:4px; }
#landedCostModal .lc-header {
  background:#0d4f8b;
  color:#fff;
  padding:16px 24px;
  display:flex;
  align-items:center;
  position:relative;
  min-height:56px;
  border-bottom:none;
  border-top-left-radius:4px;
  border-top-right-radius:4px;
}
#landedCostModal .lc-header .modal-title {
  margin:0;
  font-size:20px;
  font-weight:700;
  letter-spacing:.5px;
  line-height:1;  
}
#landedCostModal .lc-header .lc-close {
  position:absolute;
  top:50%;
  right:16px;                    
  transform:translateY(-50%);
  margin:0;
  padding:0;
  font-size:26px;
  line-height:1;
  opacity:0.9;
  color:#fff;
}
#landedCostModal .lc-header .lc-close:hover {
  opacity:1;
}
#landedCostModal .lc-close { color:#fff; opacity:0.9; font-size:26px; }
#landedCostModal .lc-body { padding:0 24px 28px 24px; }

#landedCostModal .lc-card {
  border:1px solid #d9dde1;
  background:#fff;
  border-radius:4px;
  margin-top:24px;
}

#landedCostModal .lc-summary-card { padding:0; }
#landedCostModal .lc-service-head {
  padding:16px 20px 14px;
  border-bottom:1px solid #d9dde1;
  background:#fafcff;
  border-radius:4px 4px 0 0;
}
#landedCostModal .lc-service-type {
  font-weight:700;
  font-size:13px;
  letter-spacing:.5px;
  color:#083b68;
}
#landedCostModal .lc-service-desc {
  font-size:12px;
  line-height:1.45;
  margin-top:6px;
  color:#555;
}

#landedCostModal .lc-total-wrapper {
  text-align:center;
  padding:24px 10px 22px;
  border-bottom:1px solid #e6eaee;
}
#landedCostModal .lc-total-label {
  font-size:12px;
  font-weight:600;
  letter-spacing:1px;
  color:#555;
}
#landedCostModal .lc-total-amount {
  font-size:36px;
  font-weight:700;
  margin-top:10px;
  color:#2d2d2d;
  line-height:1;
}
#landedCostModal .lc-currency-symbol { font-size:26px; margin-right:6px; position:relative; top:-2px; }
#landedCostModal .lc-currency-code { font-size:14px; font-weight:600; margin-left:6px; }

#landedCostModal .lc-breakdown { padding:8px 0 2px; }
#landedCostModal .lc-row {
  display:flex;
  justify-content:space-between;
  padding:11px 26px;
  font-size:13px;
  color:#2f3b44;
  border-top:1px solid #f1f2f3;
}
#landedCostModal .lc-row:first-of-type { border-top:none; }
#landedCostModal .lc-label { font-weight:600; }
#landedCostModal .lc-value { font-weight:500; }
#landedCostModal .lc-sub { font-size:11px; color:#777; margin-left:4px; }

#landedCostModal .lc-terms-card { padding:0 0 8px 0; }
#landedCostModal .lc-terms-head {
  padding:18px 20px 6px;
  font-weight:700;
  font-size:13px;
  letter-spacing:.8px;
  color:#2d2d2d;
}
#landedCostModal .lc-terms-content {
  padding:2px 20px 8px;
  font-size:12px;
  line-height:1.55;
  color:#2e3c44;
  white-space:pre-line;
}
#landedCostModal .lc-checkbox-row {
  border-top:1px solid #eceff2;
  margin-top:14px;
  padding:14px 20px 10px;
}
#landedCostModal .lc-ack-label {
  font-size:13px;
  font-weight:500;
  color:#1f2f38;
  cursor:pointer;
  user-select:none;
}
#landedCostModal .lc-checkbox { margin-right:8px; }

#landedCostModal .lc-footer {
  border-top:1px solid #e2e6ea;
  padding:14px 24px;
  display:flex;
  justify-content:flex-end;
  gap:12px;
}
#landedCostModal .lc-btn-secondary {
  background:#f5f7f9;
  border:1px solid #cfd6dc;
  color:#2e3c44;
  font-weight:600;
  text-transform:uppercase;
  min-width:125px;
}
#landedCostModal .lc-btn-secondary:hover { background:#ebf0f3; }
#landedCostModal .lc-btn-primary {
  background:#0d4f8b;
  border:1px solid #0d4f8b;
  font-weight:600;
  text-transform:uppercase;
  min-width:185px;
}
#landedCostModal .lc-btn-primary[disabled] {
  background:#c7ced4;
  border-color:#c7ced4;
  cursor:not-allowed;
  opacity:1;
}

#landedCostModal .lc-loading-wrapper { text-align:center; padding:70px 0 60px; }
#landedCostModal .lc-spinner {
  height:58px;width:58px;margin:0 auto 26px;
  border:6px solid #e9eef2;border-top:6px solid #0d4f8b;
  border-radius:50%; animation:spin 1s linear infinite;
}
#landedCostModal .lc-loading-title { font-size:18px; font-weight:600; color:#2d2d2d; }
#landedCostModal .lc-loading-sub { margin-top:6px; color:#6b7780; font-size:12px; }

#landedCostModal .lc-alert-icon {
  width:90px;height:90px;border-radius:50%;
  background:#fff5e6;margin:48px auto 26px;
  display:flex;align-items:center;justify-content:center;
}
#landedCostModal .lc-alert-icon i { color:#d79b18;font-size:46px; }
#landedCostModal .lc-unavail-title { text-align:center;font-weight:600;margin:0 0 12px;font-size:22px;color:#2d2d2d; }
#landedCostModal .lc-unavail-text { text-align:center;max-width:600px;margin:0 auto 24px;font-size:13px;line-height:1.5;color:#4a5560; }
#landedCostModal .lc-note-box {
  max-width:740px;margin:0 auto 26px;
  border:1px solid #e2eaf2;
  background:#f5faff;
  font-weight:500;
  padding:16px 18px;
  font-size:12px;
  line-height:1.5;
  color:#25313b;
  border-radius:4px;
  text-align:center;  
  display:flex;
  flex-direction:column;
  align-items:center;     
}
#landedCostModal .lc-error-code {
  max-width:620px;margin:0 auto 10px;
  background:#f7f7f7;
  border-left:4px solid #d79b18;
  padding:10px 14px;
  font-size:11px;
  font-family:monospace;
  color:#555;
}
#landedCostModal .lc-generic-error { font-weight:600;color:#c00;margin-bottom:18px; }

@media (max-width: 880px) {
  #landedCostModal .lc-total-amount { font-size:30px; }
  #landedCostModal .lc-row { padding:10px 16px; }
  #landedCostModal .lc-service-head { padding:14px 16px 12px; }
  #landedCostModal .lc-terms-content { padding:2px 16px 8px; }
  #landedCostModal .lc-checkbox-row { padding:12px 16px; }
}