/* Amplify HR branding – matches amplifyhr.com */
:root {
  --primary: #3c68ff;
  --secondary: #3c68ff;
  --primary-light: #5a7fff;
  --accent: #4c6ef5;
  --success: #37ca37;
  --info: #e8eef4;
  --warning: #FFB81C;
  --danger: #dc3545;
  --light: #f7fafc;
  --dark: #333333;
  --text: #1a202c;
  --text-muted: #4a5568;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.bg-primary { background-color: var(--primary) !important; }
.text-primary { color: var(--primary) !important; }
.border-primary { border-color: var(--primary) !important; }
.bg-info { background-color: var(--info) !important; }

a { color: var(--primary) !important; }
a:hover { color: var(--primary) !important; opacity: 0.85; }
.btn-primary, .btn-primary *, a.btn, a.btn *,
.btn-success, .btn-success *, .btn-info, .btn-info *, .btn-warning, .btn-warning *, .btn-danger, .btn-danger * { color: #fff !important; }
.btn-primary { background-color: var(--secondary) !important; border-color: var(--secondary) !important; }
.btn-primary:hover { background-color: var(--primary-light) !important; border-color: var(--primary-light) !important; }
.btn-success, .btn-success:hover { background-color: var(--primary) !important; border-color: var(--primary) !important; }
.btn-info, .btn-info:hover { background-color: var(--primary) !important; border-color: var(--primary) !important; }

/* Nav: border color only (Bootstrap handles layout) */
.amplify-nav { border-bottom-color: rgba(0, 0, 0, 0.08) !important; }
.amplify-brand-link {
  text-decoration: none !important;
  color: #0F0928 !important;
}
.amplify-brand-link:hover { opacity: 0.85; color: #0F0928 !important; }
.amplify-logo { max-height: 44px; width: auto; }
.careington-logo { max-height: 30px; }
.amplify-wordmark {
  font-size: 16px;
  color: #0F0928;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.amplify-logo-placeholder {
  min-width: 80px;
  min-height: 44px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px dashed #cbd5e0;
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
}

/* Hero: gradient + accent border (Bootstrap handles padding) */
.amplify-hero {
  background: linear-gradient(180deg, #f0f4f9 0%, #e8eef4 100%);
  border-bottom: 1px solid rgba(60, 104, 255, 0.15);
}
.amplify-hero-title { font-size: 2.25rem; color: #0F0928; letter-spacing: -0.02em; }
@media (min-width: 768px) {
  .amplify-hero-title { font-size: 2.75rem; }
}

/* Card: subtle border + radius (Bootstrap handles bg, padding, shadow) */
.amplify-card {
  border-color: rgba(0, 0, 0, 0.06) !important;
  border-radius: 12px;
}

/* Footer: faint line color + sticky (Bootstrap handles bg, padding) */
.amplify-footer {
  border-top-color: rgba(15, 9, 40, 0.1) !important;
  margin-top: auto;
}
.amplify-disclosure { color: #0F0928; }
.amplify-disclosure a { text-decoration: underline; color: #2563eb !important; }
.amplify-disclosure a:hover { color: #1d4ed8 !important; }
.amplify-footer .border-top { border-color: rgba(15, 9, 40, 0.1) !important; }
.amplify-footer-text { color: #0F0928; }

@media (max-width: 767px) {
  .navbar .nav-link { font-size: 1.25rem; padding: 0.75rem 1.25rem; min-height: 44px; display: inline-flex; align-items: center; }
}

/* Smart Search (same as AXA for identical behavior) */
.psl.custom-select { -webkit-appearance: none; -moz-appearance: none; appearance: none; }
.n-line { text-decoration: none !important; }
.psl-dropdown:after { content: none !important; }
.shadow-lg-up { box-shadow: 0 0 3rem 0 rgba(0, 0, 0, 0.5) !important; }
#mapDirCont { z-index: 9999 !important; }
.psl-directions { height: 500px; }
.inline-block { display: inline-block !important; }
.psl-count, .psl-shortcuts { text-align: right; }
.CMAL td, .CRNT td, .HMIP-COLUMNS th, .MTMD td, .prov-info { width: 33% !important; }
.network-logos { max-width: 80px !important; width: 100% !important; }
.hide { display: none !important; }
@media (max-width: 1024px) { .psl-directions { height: 500px; } }
@media (max-width: 768px) { #topbar { font-size: 12px; } .psl-directions { height: 500px; } .psl-count, .psl-title { text-align: center; } .psl-shortcuts { text-align: left; } .prov-info { width: 40% !important; } }

.panel .accordionCustomClass .panel-heading { background-color: var(--dark) !important; color: #fff !important; padding: 10px !important; height: 40px !important; }
.panel .accordionCustomClass .panel-default > .panel-heading { border-color: transparent !important; height: 40px !important; color: #fff !important; }
.custom-theme .bs-datepicker-head { background-color: var(--danger) !important; }
.red, .text-red { color: red !important; }
.custom-theme .bs-datepicker-body table td span.selected, .custom-theme .bs-datepicker-body table td span[class*=select-]:after, .custom-theme .bs-datepicker-body table td.selected span, .custom-theme .bs-datepicker-body table td[class*=select-] span:after { background-color: #e9edf0; color: #000; }
.smart-app.nav-pills a.active { color: #fff; background: var(--secondary) !important; border: 0 !important; }
.smart-app.nav-pills a { border: 1px solid #333; }
