/* - This stylizes the injected links within the #user-nav element, and updates various icon colors - */
/* - Default Element Styles - */
a {
  color: #d12e2e;
}

/* - #user-nav Styles - */
#user-nav {
  padding-top: 25px;
}
#page-links {
  display: inline-block;
}
#page-links a {
  display: inline-block;
  padding: 5px 10px 5px 0;
  font-size: 14px;
}
#page-links .piped-list>li:after {
  content: "|";
}
#page-links .piped-list>li:before {
  display: none;
  margin-right: 0;
}
button#accountDropdown {
  padding: 5px 10px 5px 0;
}

/* - Button/Icon Color Branding Text - */
.spinner,
.btn-link,
.btn-link:hover,
.nav>li>a:hover,
#page-links a:hover,
.nav-tabs>li.active>a,
.nav-tabs>li.active>a:hover,
.nav-tabs>li.active>a:focus,
.product-tile .product-footer,
.Analytics__Stats .Analytics__Statistic.active a,
a.ember-view.admin-product-table__product-link:hover {
  color: #d12e2e;
}

/* - Button/Icon Color Branding Background - */
.btn-info,
.feature-region,
.Icon__CircleWrap--info,
.product-flag.product-flag-free,
.ProductIcon__LargeCircle--course,
.ProductIcon__SmallCircle--course {
  background: #d12e2e;
}

/* - Button/Icon Color :hover - */
.btn-info:hover,
.btn-info:focus,
.ProductIcon__LargeCircle--course:focus {
  background: #153A86;
}
.product-results .product-tile:hover {
  box-shadow: inset 0px -5px 0px #d12e2e;
}

/* - Feature Region/Search Bar - */
.feature-region {
  background-image: inherit;
}
#search-form .search-form-container {
  background-color: #fff;
}


/* =========================================
   LACC MODERN CATALOG DESIGN
   ========================================= */

:root {
  --lacc-navy: #122e52;
  --lacc-red: #bc1934;
  --lacc-light: #eff3f9;
  --lacc-border: #d5dfed;
  --lacc-text: #526580;
  --lacc-white: #ffffff;
}

/* Typography */

body {
  font-family: Arial, Helvetica, sans-serif;
}

h1, h2, h3, h4 {
  color: var(--lacc-navy);
  font-weight: 700;
}

/* Navigation */

#user-nav {
  padding-top: 20px;
  padding-bottom: 20px;
}

#page-links a {
  color: var(--lacc-navy);
  font-weight: 600;
}

/* Catalog background */

body:has(.product-results) {
  background-color: #ffffff;
}

/* Feature and search region */

.feature-region {
  background-color: var(--lacc-light);
  background-image: none;
  border-bottom: 1px solid var(--lacc-border);
}

#search-form .search-form-container {
  background-color: transparent;
  padding-top: 15px;
  padding-bottom: 15px;
}

#search-form input {
  border: 1px solid var(--lacc-border);
  border-radius: 10px;
  min-height: 44px;
  font-size: 15px;
  padding-left: 35px;
  background-color: #ffffff;
  box-shadow: none;
}

#search-form input:focus {
  border-color: var(--lacc-navy);
}

/* Course listings */

.product-results {
  padding-top: 20px;
  padding-bottom: 40px;
}

/* Modern course cards */

.product-results .product-tile {
  background-color: #ffffff;
  border: 1px solid var(--lacc-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(18,46,82,0.04);
  transition: transform 0.2s ease,
              box-shadow 0.2s ease,
              border-color 0.2s ease;
}

.product-results .product-tile:hover {
  transform: translateY(-4px);
  border-color: #b8c8dd;
  box-shadow: 0 8px 24px rgba(18,46,82,0.10);
}

/* Course titles */

.product-tile h2,
.product-tile h3,
.product-tile h4,
.product-tile .product-title,
.product-tile .product-name {
  color: var(--lacc-navy);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

/* Course descriptions */

.product-tile p,
.product-tile .product-description {
  color: var(--lacc-text);
  font-size: 14px;
  line-height: 1.7;
}

/* Course footer */

.product-tile .product-footer {
  color: var(--lacc-navy);
  border-top: 1px solid #e5eaf1;
  background-color: #ffffff;
  font-weight: 600;
}

/* Course icons */

.ProductIcon__LargeCircle--course,
.ProductIcon__SmallCircle--course,
.Icon__CircleWrap--info {
  background-color: var(--lacc-navy);
}

/* Branded buttons */

.btn-info {
  background-color: var(--lacc-red);
  border-color: var(--lacc-red);
  border-radius: 8px;
  font-weight: 600;
  color: #ffffff;
}

.btn-info:hover,
.btn-info:focus {
  background-color: #a3152c;
  border-color: #a3152c;
  color: #ffffff;
}

/* Custom welcome banner */

.lacc-welcome {
  box-sizing: border-box;
  background: #eff3f9;
  border: 1px solid #d5dfed;
  border-radius: 18px;
  padding: 42px 36px;
  margin: 24px 0 28px;
  font-family: Arial, Helvetica, sans-serif;
}

.lacc-welcome-label {
  color: #bc1934;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.lacc-welcome h2 {
  color: #122e52;
  font-size: 38px;
  line-height: 1.15;
  font-weight: 700;
  max-width: 750px;
  margin: 0 0 18px;
}

.lacc-welcome p {
  color: #526580;
  font-size: 17px;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 0 24px;
}

.lacc-welcome-button {
  display: inline-block;
  background-color: #bc1934;
  color: #ffffff !important;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: underline;
}

.lacc-welcome-button:hover {
  background-color: #a3152c;
  color: #ffffff;
}

/* Mobile responsive styling */

@media (max-width: 767px) {
  .lacc-welcome {
    padding: 26px 22px;
    margin: 15px 0;
  }

  .lacc-welcome h2 {
    font-size: 28px;
  }

  .lacc-welcome p {
    font-size: 15px;
  }

  .lacc-welcome-label {
    font-size: 11px;
  }

  .product-results .product-tile {
    border-radius: 12px;
  }

  #search-form input {
    width: 100%;
  }
}

/* Respect reduced motion preferences */

@media (prefers-reduced-motion: reduce) {
  .product-results .product-tile {
    transition: none;
  }

  .product-results .product-tile:hover {
    transform: none;
  }
}

/* END LACC MODERN CATALOG DESIGN */

/* LACC COURSE PAGE TEST */

#product-page .product-bg {
    background-color: #ffdddd !important;
}

#product-page .hero-head {
    color: #bc1934 !important;
    font-size: 45px !important;
}

#product-page .product-image img {
    border-radius: 25px !important;
}

/* =============================================
   LACC - MODERN INDIVIDUAL COURSE PAGES
   ============================================= */

/* Main page */

#product-page {
    background: #ffffff !important;
    font-family: Arial, Helvetica, sans-serif;
    color: #526580;
}

/* Course hero background */

#product-page .product-bg {
    background: #eff3f9 !important;
    border: 1px solid #d5dfed;
    border-radius: 20px;
    max-width: 1200px;
    margin: 32px auto;
    padding: 0;
    box-sizing: border-box;
}

/* Main course section */

#product-page .hero-region {
    background: transparent !important;
    padding: 40px 32px !important;
    margin: 0 auto !important;
    width: 100%;
    box-sizing: border-box;
}

/* Course image */

#product-page .product-image {
    border-radius: 16px;
    overflow: hidden;
}

#product-page .image-wrapper {
    border-radius: 16px;
    overflow: hidden;
}

#product-page .product-image img {
    border-radius: 16px !important;
    max-width: 100%;
    height: auto;
}

/* Branding label */

#product-page .hero-head::before {
    content: "LOS ANGELES CAREER COLLEGE / ONLINE LEARNING";
    display: block;
    color: #bc1934;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.3px;
    line-height: 1.6;
    margin-bottom: 18px;
}

/* Course title */

#product-page .hero-head {
    color: #122e52 !important;
    font-size: 38px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.5px;
    margin-top: 8px;
    margin-bottom: 24px;
}

/* Course information */

#product-page .hero-region p {
    color: #526580 !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
}

#product-page .hero-region strong {
    color: #122e52;
}

/* Enrollment button container */

#product-page .product-enroll-button {
    margin-top: 12px;
    margin-bottom: 8px;
}

/* Enrollment buttons */

#product-page button[data-customizationid="enroll-button"] {
    background: #bc1934 !important;
    background-color: #bc1934 !important;
    background-image: none !important;
    border: 1px solid #bc1934 !important;
    border-radius: 9px !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    min-height: 48px;
    min-width: 190px;
    padding: 12px 22px !important;
    box-shadow: none !important;
    transition: background-color 0.2s ease;
}

#product-page button[data-customizationid="enroll-button"] span {
    background: transparent !important;
    color: #ffffff !important;
}

#product-page button[data-customizationid="enroll-button"]:hover {
    background: #a3152c !important;
    border-color: #a3152c !important;
}

/* Add to cart buttons */

#product-page button[data-customizationid="add-remove-cart-button"] {
    background: #ffffff !important;
    border: 1px solid #d5dfed !important;
    border-radius: 9px !important;
    color: #122e52 !important;
    font-size: 15px !important;
    font-weight: 600;
    min-height: 48px;
    padding: 12px 20px !important;
    box-shadow: none !important;
}

#product-page button[data-customizationid="add-remove-cart-button"]:hover {
    background: #e5edf7 !important;
    border-color: #122e52 !important;
}

/* Keyboard accessibility */

#product-page button:focus-visible {
    outline: 3px solid #122e52 !important;
    outline-offset: 3px;
}

/* Course description section */

#product-page .product-details {
    background: #ffffff;
    max-width: 1200px;
    width: calc(100% - 40px);
    margin: 30px auto !important;
    padding: 32px !important;
    border: 1px solid #d5dfed;
    border-radius: 16px;
    box-sizing: border-box;
    font-size: 16px !important;
    line-height: 1.8 !important;
    color: #526580 !important;
}

/* Course overview label */

#product-page .product-details::before {
    content: "COURSE OVERVIEW";
    display: block;
    color: #bc1934;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}

/* Course description text */

#product-page .product-details p,
#product-page .product-details li {
    color: #526580 !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
}

#product-page .product-details h2:not(.sr-only),
#product-page .product-details h3 {
    color: #122e52 !important;
    font-weight: 700;
    line-height: 1.3;
}

/* Logo inside the course description */

#product-page .product-account-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 20px;
}

/* Bottom enrollment section */

#product-page .callout-region {
    background: #eff3f9 !important;
    border: 1px solid #d5dfed;
    border-radius: 18px;
    max-width: 1200px;
    width: calc(100% - 40px);
    margin: 32px auto !important;
    padding: 36px 24px !important;
    text-align: center;
    box-sizing: border-box;
}

/* Bottom enrollment heading */

#product-page .callout-region h2 {
    color: #122e52 !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    font-style: normal !important;
    line-height: 1.3;
    margin-bottom: 20px;
}

/* Mobile and tablet */

@media (max-width: 767px) {

    #product-page .product-bg {
        margin: 16px;
        border-radius: 14px;
    }

    #product-page .hero-region {
        padding: 22px 18px !important;
    }

    #product-page .hero-head {
        font-size: 28px !important;
        margin-top: 24px;
    }

    #product-page .hero-head::before {
        font-size: 11px;
    }

    #product-page .product-details {
        padding: 22px !important;
        width: calc(100% - 32px);
    }

    #product-page .callout-region {
        padding: 26px 18px !important;
        width: calc(100% - 32px);
    }

    #product-page .callout-region h2 {
        font-size: 24px !important;
    }

    #product-page button[data-customizationid="enroll-button"],
    #product-page button[data-customizationid="add-remove-cart-button"] {
        max-width: 100%;
        white-space: normal;
    }
}

/* END LACC INDIVIDUAL COURSE PAGES */

/* =========================================
   LACC - CLEAN MODERN BUTTONS
   ========================================= */

/* Enrollment button */

#product-page button[data-customizationid="enroll-button"] {
    background: #bc1934 !important;
    border: 1px solid #bc1934 !important;
    border-radius: 9px !important;
    padding: 0 !important;
    min-height: 48px !important;
    min-width: 190px;
    box-shadow: none !important;
    color: #ffffff !important;
}

/* Shopping cart button */

#product-page button[data-customizationid="add-remove-cart-button"] {
    background: #ffffff !important;
    border: 1px solid #d5dfed !important;
    border-radius: 9px !important;
    padding: 0 !important;
    min-height: 48px !important;
    box-shadow: none !important;
    color: #122e52 !important;
}

/* Remove duplicate internal button borders */

#product-page button[data-customizationid="enroll-button"] span,
#product-page button[data-customizationid="add-remove-cart-button"] span {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Button hover effects */

#product-page button[data-customizationid="enroll-button"]:hover {
    background: #a3152c !important;
}

#product-page button[data-customizationid="add-remove-cart-button"]:hover {
    background: #e5edf7 !important;
}

/* END LACC CLEAN MODERN BUTTONS */

/* =========================================
   LACC - BUTTON ALIGNMENT AND IMAGE FIX
   ========================================= */

/* Align enrollment and shopping cart buttons */

#product-page .product-enroll-button {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    vertical-align: middle !important;
}

#product-page button[data-customizationid="enroll-button"],
#product-page button[data-customizationid="add-remove-cart-button"] {
    height: 48px !important;
    min-height: 48px !important;
    vertical-align: middle !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
}

/* END LACC BUTTON ALIGNMENT AND IMAGE FIX */
