/* =========================================================
   Card Shield / Shield Services — Manage Payments
   Page-specific styles (extends custom.css, uses Bootstrap 3+)
   Brand color: #01437D (navy), accent #d49d2f (gold)
   ========================================================= */

.mp-page { padding: 24px 0 60px; }

.mp-crumbs {
  font-size: 12px;
  color: #6b7385;
  margin-bottom: 8px;
}
.mp-crumbs a { color: #01437D; font-weight: 600; text-decoration: none; }
.mp-crumbs a:hover { text-decoration: underline; }

.mp-title {
  color: #01437D;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 4px;
}
.mp-sub {
  color: #4a5063;
  font-size: 14px;
  margin: 0 0 24px;
}

/* ---------- Cards (landing page) ---------- */
.mp-card {
  background: #fff;
  border: 1px solid #d8dde7;
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 18px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.mp-card-icon {
  width: 44px;
  height: 44px;
  background: #eef2fa;
  color: #01437D;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.mp-card h2 {
  color: #01437D;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
}
.mp-card p {
  color: #4a5063;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 16px;
}
.mp-card .mp-meta {
  background: #f6f8fc;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 12px;
  color: #555;
  margin-bottom: 16px;
}

/* ---------- Stepper ---------- */
.mp-stepper {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.mp-step {
  flex: 1 1 200px;
  background: #f1f3f8;
  color: #6b7385;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  border-left: 4px solid #d8dde7;
}
.mp-step .num { font-weight: 800; margin-right: 6px; }
.mp-step-active { background: #eef2fa; color: #01437D; border-left-color: #01437D; }
.mp-step-done   { background: #eaf3ec; color: #2e7d4a; border-left-color: #2e7d4a; }

/* ---------- Panels ---------- */
.mp-panel {
  background: #fff;
  border: 1px solid #d8dde7;
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 16px;
}
.mp-panel h3 {
  color: #01437D;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 14px;
}
.mp-form-label {
  display: block;
  font-size: 11px;
  color: #4a5063;
  font-weight: 700;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.mp-hint { font-size: 12px; color: #6b7385; margin-top: 5px; }

/* ---------- Account selector ---------- */
.mp-acct {
  border: 1px solid #d8dde7;
  border-radius: 5px;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.mp-acct.selected { border-color: #01437D; background: #f6f9fd; }
.mp-acct-name { color: #01437D; font-weight: 700; font-size: 14px; }
.mp-acct-meta { color: #6b7385; font-size: 12px; margin-top: 3px; }
.mp-acct-status { font-size: 12px; color: #4a5063; }

/* ---------- Info boxes ---------- */
.mp-info, .mp-warn, .mp-ok, .mp-err {
  border-radius: 5px;
  padding: 14px 16px;
  font-size: 13px;
  margin-bottom: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.mp-info  { background: #eef4fb; border: 1px solid #b8d0ea; color: #01437D; }
.mp-warn  { background: #fdf2dd; border: 1px solid #e9c25c; color: #7a5300; }
.mp-ok    { background: #e8f3ec; border: 1px solid #8ec79e; color: #1e6a37; }
.mp-err   { background: #fdecec; border: 1px solid #e9a3a3; color: #8a1f1f; }
.mp-info .ic, .mp-warn .ic, .mp-ok .ic, .mp-err .ic { font-size: 18px; line-height: 1; }

/* ---------- Review list ---------- */
.mp-review { list-style: none; padding: 0; margin: 0; }
.mp-review li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eef0f5;
  font-size: 13px;
}
.mp-review li:last-child { border-bottom: 0; }
.mp-review .lbl { color: #6b7385; }
.mp-review .val { color: #2a3242; font-weight: 600; }

/* ---------- Actions row ---------- */
.mp-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

/* Existing buttons match site convention via .default_btn (custom.css);
   add ghost variant locally */
.mp-btn-ghost {
  background: #fff;
  color: #01437D;
  border: 1px solid #01437D;
  padding: 9px 22px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  display: inline-block;
}
.mp-btn-ghost:hover { background: #f6f9fd; color: #01437D; text-decoration: none; }
.btn.disabled, .default_btn.disabled { opacity: 0.55; pointer-events: none; }

/* ---------- Date picker calendar (uses bootstrap-datepicker) ---------- */
.mp-cal-legend { display: flex; gap: 16px; font-size: 11px; color: #6b7385; margin-top: 10px; flex-wrap: wrap; }
.mp-cal-legend .sw {
  display: inline-block; width: 12px; height: 12px;
  border-radius: 2px; vertical-align: middle; margin-right: 5px;
}
.mp-cal-legend .sw-today { background: #eef2fa; }
.mp-cal-legend .sw-draft { background: #d49d2f; }
.mp-cal-legend .sw-avail { background: #eaf3ec; }
.mp-cal-legend .sw-selected { background: #01437D; }

/* bootstrap-datepicker overrides — colour-code the dates */
.datepicker td.day.draft-original {
  background: #d49d2f !important;
  color: #fff !important;
  font-weight: 700;
  border-radius: 4px;
}
.datepicker td.day.in-window {
  background: #eaf3ec !important;
  color: #1e6a37 !important;
  font-weight: 600;
}
.datepicker td.day.active,
.datepicker td.day.active:hover {
  background: #01437D !important;
  color: #fff !important;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .mp-actions { flex-direction: column; gap: 10px; align-items: stretch; }
  .mp-actions a, .mp-actions input { width: 100%; text-align: center; }
}
