/* ============================================
   CF Consolidation — Client-Facing Styles
   Uses !important to override Elementor theme.
   ============================================ */

/* ---- Card container ---- */
.cf-card {
  max-width: 680px;
  margin: 24px auto;
  padding: 28px 30px 24px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  font-family: -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: #333 !important;
  line-height: 1.6 !important;
}
.cf-card h2 { margin: 0 0 4px !important; }
.cf-card h3 { font-size: 15px !important; font-weight: 600 !important; color: #444 !important; }

/* ---- Address block (structured) ---- */
.cf-addr-block {
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 16px 18px;
  margin: 14px 0;
}
.cf-addr-row {
  padding: 5px 0;
  font-size: 14px;
  line-height: 1.7;
}
.cf-addr-label {
  display: inline-block;
  min-width: 78px;
  color: #888;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 600;
}
.cf-addr-note {
  margin-top: 10px;
  font-size: 12px;
  color: #999;
  font-style: italic;
}

/* ---- Buttons ---- */
.cf-btn {
  display: inline-block;
  padding: 9px 20px;
  background: linear-gradient(135deg, #e8552d, #d04a25) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(232,85,45,0.25) !important;
}
.cf-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232,85,45,0.35) !important;
}

/* ---- Quick action buttons (vertical big) ---- */
.cf-qa-big {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 16px 20px !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.22s ease !important;
  border: 2px solid transparent !important;
}
/* Primary (orange filled) */
.cf-qa-big {
  background: linear-gradient(135deg, #e8552d, #d04a25) !important;
  color: #fff !important;
  box-shadow: 0 3px 10px rgba(232,85,45,0.2) !important;
}
.cf-qa-big:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(232,85,45,0.32) !important;
}
/* Ghost (white with orange border) */
.cf-qa-big.ghost {
  background: #fff !important;
  color: #e8552d !important;
  border-color: #e8552d !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06) !important;
}
.cf-qa-big.ghost:hover {
  background: #fef6f4 !important;
  border-color: #d04a25 !important;
  color: #c43e1e !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 14px rgba(232,85,45,0.15) !important;
}

/* ---- Subtitle / hint text ---- */
.cf-sub {
  color: #777 !important;
  font-size: 13px !important;
  margin: 2px 0 14px !important;
}
.cf-hint {
  font-weight: 400 !important;
  font-size: 12px !important;
  color: #999 !important;
}

/* ---- Error / success messages ---- */
.cf-err-box {
  background: #fef2f0;
  border-left: 4px solid #e8552d;
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  margin: 12px 0;
  font-size: 13px;
  color: #c43e1e;
}
.cf-ok {
  background: #f0fdf4;
  border-left: 4px solid #22c55e;
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  margin: 12px 0;
  font-size: 13px;
  color: #15803d;
}

/* ---- Forms ---- */
.cf-card input[type="text"],
.cf-card input[type="email"],
.cf-card input[type="password"],
.cf-card input[type="number"],
.cf-card textarea,
.cf-card select {
  width: 100%;
  max-width: 420px;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  box-sizing: border-box;
  margin-top: 4px;
  background: #fff !important;
}
.cf-card textarea { min-height: 90px; resize: vertical; }
.cf-card p { margin: 10px 0 !important; }

/* ---- Navigation links ---- */
.cf-nav {
  margin-top: 14px !important;
  font-size: 13px !important;
  color: #888 !important;
}
.cf-nav a {
  color: #e8552d !important;
  font-weight: 600;
  text-decoration: none;
}
.cf-nav a:hover { text-decoration: underline; }

/* ---- Parcel list items ---- */
.cf-parcel {
  padding: 12px 14px;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.7;
  transition: background 0.15s;
}
.cf-parcel:hover { background: #fafbfc; }
.cf-parcel input[type="checkbox"]:checked + span {
  /* when checked, highlight the row */
}
.cf-parcel label:has(input:checked) {
  background: #fef6f4;
  border-color: #f5d0c8;
  border-radius: 8px;
  padding: 10px;
  margin: -10px;
}
.cf-tbl {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 13px;
}
.cf-tbl th,
.cf-tbl td {
  padding: 9px 12px;
  border: 1px solid #eee;
  text-align: left;
}
.cf-tbl th {
  background: #f7f7f7;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  color: #666;
}
.cf-tbl tr:nth-child(even) { background: #fafbfc; }
.cf-tbl tr:hover { background: #fef6f4; }

/* ---- Filters bar ---- */
.cf-filters {
  margin: 10px 0 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.cf-filters select {
  padding: 7px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 13px;
  background: #fff !important;
}
.cf-filters a {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 13px;
  text-decoration: none;
  color: #e8552d !important;
  border: 1px solid #e8552d;
  transition: all 0.15s;
}
.cf-filters a:hover {
  background: #e8552d !important;
  color: #fff !important;
}

/* ---- Note helper ---- */
.cf-note {
  font-size: 12px;
  color: #aaa;
}

/* ---- Logged-out quick links (legacy .cf-qa) ---- */
.cf-quick {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.cf-qa {
  flex: 1;
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  gap: 4px !important;
  padding: 18px 16px !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  background: linear-gradient(135deg, #e8552d, #d04a25) !important;
  color: #fff !important;
  box-shadow: 0 3px 10px rgba(232,85,45,0.2) !important;
  transition: all 0.22s ease !important;
}
.cf-qa:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(232,85,45,0.32) !important;
}
.cf-qa.ghost {
  background: #fff !important;
  color: #e8552d !important;
  border: 2px solid #e8552d !important;
  box-shadow: none !important;
}
.cf-qa.ghost:hover {
  background: #fef6f4 !important;
  border-color: #d04a25 !important;
  color: #c43e1e !important;
  transform: translateY(-2px) !important;
}
.cf-qa-ic { font-size: 22px; }
.cf-qa-sub {
  font-size: 11px !important;
  font-weight: 400 !important;
  opacity: 0.9;
}

/* ---- Status badges ---- */
.cf-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.badge-prealert     { background:#fef3c7;color:#92400e; }
.badge-received     { background:#dbeafe;color:#1e40af; }
.badge-pending_pack { background:#ede9fe;color:#5b21b6; }
.badge-shipped      { background:#d1fae5;color:#065f46; }
.badge-exception    { background:#fee2e2;color:#991b1b; }
