﻿.course-card-header {
    background-color: #011B3C;
    color: white;
    font-weight: 600;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

    .course-card-header h3, .course-card-header h5 {
        color: inherit;
    }

.faculty {
    color: #00A2DB !important;
    font-weight: 600;
    font-size: 1rem;
}

.person {
    font-weight: 600;
    font-size: 1rem;
}

.person-mail {
    /*color: #E84E10 !important;*/
    font-weight: 600;
    font-size: 1rem;
}

.total-students {
    /* align the ID text with icons/buttons */
    display: inline-flex;
    align-items: center; /* vertically center with button */
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
}

/* ensure small buttons align nicely with surrounding text */
.card-body .btn-sm {
    padding: 0.25rem 0.5rem;
    line-height: 1;
}

/* fine tune spacing on the person row */
.person {
    gap: 0.5rem;
    display: inline-flex;
    align-items: center;
}

/* Accordion header styling for CourseDetails: light gray tint */
.card .accordion {
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* equivalent to bootstrap gap-2 */
}

    .card .accordion .accordion-button {
        background-color: #f5f6f7;
        color: #111;
        font-weight: 600;
    }

        .card .accordion .accordion-button:not(.collapsed) {
            background-color: #e9ecef; /* slightly darker when open */
        }

        .card .accordion .accordion-button:focus {
            box-shadow: none;
        }

    .card .accordion .accordion-item {
        border: none;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .card .accordion .accordion-body {
        background: transparent;
    }

/* Custom styles for OrchestrateResults source logo */
.source-logo {
  width: 120px; /* default width within metadata flow (if used) */
  height: auto;
 /* object-fit: contain;*/
}

.source-logo-abs {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 100px; /* set between 75-100px as requested */
  max-width: 100px;
  height: auto;
  object-fit: contain;
  z-index: 3;
  opacity: 0.95;
  /* allow hover/tooltips so do not disable pointer-events */
}

/* Slight shadow so logo stands out over content */
.source-logo-abs {
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.2));
  background: rgba(255,255,255,0.92);
  padding: 4px;
  border-radius: 4px;
}

/* Responsive: smaller on narrow screens */
@media (max-width: 576px) {
  .source-logo-abs {
    width: 75px;
    max-width: 75px;
  }
}
