
/* ==========================================
   CARGOTRANS GLOBAL
   SHARED LIGHT BLUE / WHITE THEME
   ========================================== */

:root {
  --ct-blue: #075cf5;
  --ct-blue-light: #0870ff;
  --ct-dark: #0b3272;
  --ct-ink: #172b4d;
  --ct-muted: #536783;
  --ct-line: #d6e4f5;
  --ct-white: #ffffff;
}

/* PAGE BACKGROUND */

body {
  background:
    radial-gradient(
      ellipse at 85% 5%,
      rgba(67,156,255,.17),
      transparent 45%
    ),
    linear-gradient(
      135deg,
      #ffffff 0%,
      #eef7ff 48%,
      #dcecff 100%
    ) !important;

  color: var(--ct-ink);
}

/* HEADER */

body > header {
  background: linear-gradient(
    115deg,
    #ffffff 0%,
    #edf7ff 55%,
    #c9e4ff 100%
  ) !important;

  border-bottom: 1px solid #cddff4 !important;
  color: #0b2149 !important;
}

body > header a,
body > header h1,
body > header h2 {
  color: #0b2149 !important;
}

/* CARDS */

main section,
main article,
main .bg-white {
  border-color: var(--ct-line) !important;
  box-shadow:
    0 12px 35px rgba(29,82,151,.075) !important;
}

main section,
main article {
  border-radius: 16px;
}

/* TITLES */

main h1,
main h2,
main h3 {
  color: var(--ct-dark);
}

/* FORM FIELDS */

main input:not([type="checkbox"]):not([type="radio"]),
main select,
main textarea {
  border-color: #cddff4;
  border-radius: 9px;
}

main input:focus,
main select:focus,
main textarea:focus {
  outline-color: #0870ff;
}

/* PRIMARY ACTION BUTTONS */

main button.bg-blue-600,
main button.bg-blue-700,
main button.bg-indigo-600,
main button.bg-indigo-700 {
  background: linear-gradient(
    135deg,
    #0870ff,
    #0755e9
  ) !important;

  color: #ffffff !important;
  border-radius: 10px;
}

/* INFORMATION PANELS */

main .bg-blue-50,
main .bg-sky-50 {
  background-color: #edf7ff !important;
}

/* DIVIDERS */

main .border-slate-200,
main .border-gray-200 {
  border-color: var(--ct-line) !important;
}

/* FOOTER */

body > footer {
  background: #edf7ff !important;
  border-top: 1px solid #cddff4 !important;
}

body > footer a {
  color: var(--ct-blue);
}

/* MOBILE */

@media (max-width: 640px) {
  main section,
  main article {
    border-radius: 12px;
  }
}


/* ==========================================
   CARGONET GLOBAL BRANDING
   LIGHT LOGO & NAVIGATION
   ========================================== */

/* Light background behind globe */
/* Light background ONLY behind globe */
body > header a.group > div:first-child:has(svg) {
  background: linear-gradient(
    135deg,
    #ffffff,
    #e1f1ff
  ) !important;
  border: 1px solid #bfdbfe !important;
  box-shadow: 0 3px 10px rgba(7,92,245,.10) !important;
}

/* Remove unwanted background from logo link */
body > header a.group {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #e1f1ff 100%
  ) !important;

  border: 1px solid #bfdbfe !important;
  box-shadow: 0 3px 10px rgba(7, 92, 245, 0.10) !important;
}

/* Blue globe */
body > header a.group > div:first-child svg {
  color: #0870ff !important;
}

/* CargoNet brand text */
body > header a.group .font-black {
  color: #0b3272 !important;
}

/* Net in bright blue */
body > header a.group .text-cyan-400 {
  color: #0870ff !important;
}

/* Subtitle */
body > header a.group .text-slate-400 {
  color: #64748b !important;
}

/* Navigation */
body > header nav a {
  color: #0b3272 !important;
}

/* Active navigation button */
body > header nav a.bg-blue-600,
body > header nav a.bg-enterprise-600 {
  background: #075cf5 !important;
  color: #ffffff !important;
}

/* PayFreight identity */
body > header nav a[href*="payfreight"] {
  background: #f3e8ff !important;
  border: 1px solid #d8b4fe !important;
  color: #6b21a8 !important;
}

/* HEADER NAVIGATION - DARK BUTTON FIX */

body > header nav a.bg-slate-800,
body > header nav a.bg-slate-900 {
  background: #e5f1ff !important;
  color: #075cf5 !important;
  border: 1px solid #bfdbfe !important;
}

body > header nav a.bg-slate-800:hover,
body > header nav a.bg-slate-900:hover {
  background: #d1e7ff !important;
  color: #075cf5 !important;
}

