/* fonts */
/* Regular font */
/* Regular font */
@font-face {
  font-family: "SF Pro Display";
  src: url("fonts/SFPRODISPLAYREGULAR.OTF") format("opentype");
  font-weight: normal;
  font-style: normal;
}

/* Medium font */
@font-face {
  font-family: "SF Pro Display";
  src: url("fonts/SFPRODISPLAYMEDIUM.OTF") format("opentype");
  font-weight: 500; /* Medium weight */
  font-style: normal;
}

/* Bold font */
@font-face {
  font-family: "SF Pro Display";
  src: url("fonts/SFPRODISPLAYBOLD.OTF") format("opentype");
  font-weight: bold;
  font-style: normal;
}

/* Apply SF Pro Display to all elements */
body {
  font-family: "SF Pro Display", sans-serif;
}

/* Optional: Apply different font weights for specific elements */
h1,
h2,
h3 {
  font-family: "SF Pro Display", sans-serif;
  font-weight: bold; /* For headers */
}

p,
ul,
li {
  font-family: "SF Pro Display", sans-serif;
  font-weight: normal; /* For body text */
}

strong {
  font-family: "SF Pro Display", sans-serif;
  font-weight: bold; /* For bold text */
}

em {
  font-family: "SF Pro Display", sans-serif;
  font-weight: 500; /* For medium weight (italicized) text */
}

/* navbar no border bottom */
.navbar.fixed-top {
  border-bottom: none;
}
/* button css */
/* Custom Primary Button Style */
.btn-primary-future,
.btn-primary {
  border-radius: 5.786px;
  background: radial-gradient(
    62.78% 145.97% at 49.77% 145.97%,
    #9e87d0 0%,
    #3c1296 100%
  );
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.15),
    0 4px 8px 0 rgba(255, 255, 255, 0.4) inset;
  color: #fff; /* Ensure the text color contrasts with the button background */
  border: 1px solid #5833a6;
}

/* Ensure focus state is also customized */
.btn-primary-future:focus,
.btn-primary-future:hover,
.btn-primary:focus,
.btn-primary:hover {
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.25),
    0 4px 8px 0 rgba(255, 255, 255, 0.5) inset;
  background: radial-gradient(
    62.78% 145.97% at 49.77% 145.97%,
    #3c1296 0%,
    #9e87d0 100%
  );
}

/* course header css */

.page-header-wrapper.has-course-header-image {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 10px 0;
  color: #fff;
}

.course-header-bg {
  min-height: 280px;
  position: relative;
  display: block;
  background-size: cover;
  background-position: center center;
  border-radius: 16px;
}
.page-header-wrapper-for-sidenav {
  position: relative;
  /* height: 70px; */
  margin-bottom: 20px;
}

.course-header-txt-for-sidenav {
  display: block; /* Make the div full width */
  top: 10%;
  padding: 10px;
  /* background-color: #e9ecef; Mihir it is actually fff */
  background-color: #fff;
  border-radius: 1rem;
  opacity: 0.8;
}
/* left overlay container */
.course-header-overlay {
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  max-width: 520px;
  /* background: rgba(0, 0, 0, 0.35); /* subtle dark overlay for readability */
  padding: 18px;
  border-radius: 8px;
  min-width: 400px;
}

/* Title */
.course-title {
  margin: 0 0 12px 0;
  font-size: 1.6rem;
  line-height: 1.2;
  color: #ffffff;
}

/* Progress */
.course-progress {
  margin-bottom: 10px;
}
.progress-label {
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: #e6ffe6;
}

.progress-bar-outer {
  width: 100%;
  height: 12px;
  background: rgb(112, 80, 181);
  border-radius: 8px;
  overflow: hidden;
}

.progress-bar-inner {
  height: 100%;
  width: 0%;
  background: #28a745; /* green */
  border-radius: 8px;
  transition: width 0.5s ease;
}

/* Continue link */
.course-continue .continue-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.9rem;
  color: #dff0d8;
  text-decoration: underline;
}

/** notification page css **/
#page-message-output-popup-notifications .page-header-wrapper-for-sidenav {
  display: none;
}
.notification-area {
  border: none !important;
}
.notification-area .control-area .content {
  position: relative;
  margin-right: 10px;
}
.content-item-container {
  border-radius: 8px;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  border: 1px solid rgba(60, 18, 150, 0.1);
  background: var(--Colors-Base-white-base01, #fff);
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.03),
    0 -6px 12px 0 rgba(0, 0, 0, 0.05) inset;
}
.content-item-container.selected {
  background-color: #3c129612 !important;
  color: #000;
  border-color: #3c1296 !important;
}
.notification-area .content-area {
  padding-left: 20px;
}
.content-item-container.selected .content-item-footer .timestamp {
  color: #7a7a7a !important;
  opacity: 0.8;
}
.content-item-container:hover {
  color: #fff;
  background-color: #3c1296 !important;
}
/** end of notification page css **/

/* Mihir 6 NOV for user grades page **/
#page-course-user .user-report-container .table-responsive {
  border-radius: 8px;
  border: 1px solid #ccc;
}
.path-grade-report-user .user-grade thead th,
.grade-report-user .user-grade thead th {
  color: #3c1296;
  font-style: normal;
  font-weight: 400;
}
.user-report-container .table-responsive table > thead {
  background: #fcfbff;
}

/* for quiz / view , assignment / view and other mod view Mihir 7 NOV 2025 */
.path-mod .activity-header:not(:empty) {
  border-radius: 16px;
  border: 1.5px solid #ededed;
  background-color: #fff !important;
}
table.quizreviewsummary th.cell {
  border-right: 1px solid rgba(60, 18, 150, 0.12);
  background: #fcfbff !important;
  color: #3c1296;
  font-family: "SF Pro";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.48px;
  text-align: left !important;
  padding: 0.75rem;
}
#page-mod-quiz-view .card-header {
  background: #fcfbff;
}
table.quizreviewsummary {
  border-radius: 8px;
  border: 0.7px solid rgba(60, 18, 150, 0.12);
}

/* end pf quiz view assignment view and other mod view Mihir 7 NOV 2025 */
