/* =====================================
   AIMM Canvas Desktop Theme Custom CSS
   ===================================== */

/* 1) Remove overlay on dashboard course card images */
.ic-DashboardCard__header_image .ic-DashboardCard__header_hero {
  background: none !important;
}

/* 2) Mobile Login Logo (now uses AIMM SVG) */
.mobileLogin-Header {
  z-index: 1;
  background-image: url("https://canvas-catalog.s3.us-east-2.amazonaws.com/AIMM+Logos+2025-black.svg") !important;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 260px auto;  /* responsive, maintains aspect ratio */
  min-height: 94px;
}
@media (min-width: 380px) {
  .mobileLogin-Header { background-size: 300px auto; min-height: 108px; }
}
@media (min-width: 520px) {
  .mobileLogin-Header { background-size: 360px auto; min-height: 130px; }
}

/* 3) Hide dashboard options button ONLY on dashboard */
.ic-Dashboard .ic-Dashboard-header__actions {
  visibility: hidden !important;
}

/* 4) Link hover/focus styling (keeps it elegant + accessible) */
a:hover,
a:focus {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* 5) Accessibility focus ring in AIMM gold */
:focus-visible {
  outline: 2px solid #F1BA53;
  outline-offset: 2px;
}

/* 6) Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }

  /* =====================================
   AIMM Canvas Typography
   ===================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700&family=Nunito+Sans:wght@400;600&display=swap');

/* Global reset to AIMM fonts */
body, html, input, select, textarea, button {
  font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  color: #000000;
}

/* Headings and navigation emphasis */
h1, h2, h3, h4, h5, h6,
.ic-NavMenu-list-item__text,
.ic-app-header__logomark-text,
.ic-Layout-contentMain h2,
.ic-Layout-contentMain h3 {
  font-family: 'Poppins', 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #000000;
}

/* Dashboard course cards (titles and labels) */
.ic-DashboardCard__header-title {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600;
}

/* Buttons and interface labels */
.Button, .ic-Button, .ic-Button--primary, .ic-Button--secondary {
  font-family: 'Poppins', 'Nunito Sans', sans-serif !important;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-transform: none;
}

/* Optional: Slightly larger line height for better readability */
body {
  line-height: 1.6;
}
}