/*
* Contributors:       FixBD
* Author URI:         http://fixbd.net
* Source:             https://fixbd.net/educare/add-ons/profiles/educare-dashboard-profiles
* License:            Commercial License (based on plugin)
* version:            1.0.0
*/

.profiles-cover {
  border-bottom: 0px !important;
  padding: 0px !important;
  height: auto !important;
  max-height: auto !important;
}

.profiles-cover .transbox {
  padding: 4% !important;
  background-color: #000000;
  opacity: 0.6;
}

.profiles-page section {
  padding: 0px;
  margin: 18px auto 0;
}

/* #page-content-wrapper {
  min-width: unset;
  width: 100%;
} */
.educare-container {
  padding-top: calc(var(--bs-gutter-x) * 0.5);
  margin: unset;
}

.dropdown-toggle::after {
  transform: unset;
}

.educare-container .tab button.active {
  color: #fff !important;
}

.educare-container button:hover,
.educare-container a.active button {
  color: unset;
  background-color: unset !important;
}

#educareProfiles .container {
  width: 100% !important;
}

.dropdown ul,
.dropdown ol {
  padding-left: 0px;
}

#educareProfiles .dropdown-toggle {
  position: relative !important;
}

.educare-container .box {
  background-color: #f8f9fa;
}


/* Notice */
/* Style for the front-end notice */
.notice.notice-error,
.notice.notice-success {
  position: relative;
  padding: 12px 15px;
  padding-right: 22px;
  margin: 10px 0;
  border-radius: 4px;
}

.notice.notice-error {
  background-color: #f2dede;
  color: #a94442;
  border: 1px solid #d9534f;
}

.notice.notice-success {
  border: 1px solid #5cb85c;
  /* Green border color for success */
  background-color: #dff0d8;
  /* Light green background color for success */
  color: #4cae4c;
  /* Dark green text color for success */
}

.notice p {
  margin: 0px;
}

/* Dismissible "x" button style */
.notice .notice-dismiss {
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 10px;
  transform: translateY(-50%);
  border: none;
  background: #a94442;
  margin: 0px;
  padding: 3px;
  line-height: 0.5;
  border-radius: 50%;
}

.notice.notice-error .notice-dismiss {
  background: #a94442;
}

.notice.notice-success .notice-dismiss {
  background: #5cb85c;
}

/* Styling for the "x" symbol */
.notice .notice-dismiss:before {
  content: '\00d7';
  font-size: 15px;
  color: white;
}

#wrapper {
  direction: ltr;
  min-height: 80vh;
}

#sidebar-wrapper {
  min-height: 100%;
}

html:dir(rtl) #sidebar-wrapper {
  direction: rtl;
}




#educareProfiles .educare-container .tab {
  top: unset;
  flex-direction: unset;
  width: unset;
}

#educareProfiles .educare-container .tab {
  position: unset;
  top: unset;
  flex-direction: unset;
  width: unset;
}

#educareProfiles .educare-container .tab button span {
  display: unset;
}







.analytics-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.analytics-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}



/* Certificate */
.certificate-font {
  font-family: 'Playfair Display', serif;
}

.body-font {
  font-family: 'Crimson Text', serif;
}

.certificate-border {
  background: linear-gradient(135deg, #f6f7f8 0%, #ffffff 50%, #f6f7f8 100%);
  border: 3px solid #1e3a8a;
  position: relative;
}

.certificate-border::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px solid #1e3a8a;
  pointer-events: none;
}

.seal {
  background: radial-gradient(circle, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  font-size: 8rem;
  color: rgba(30, 58, 138, 0.03);
  pointer-events: none;
  font-weight: bold;
  text-transform: uppercase;
  z-index: 0;
}

@media print {
  .no-print {
    display: none !important;
  }

  .print-only {
    display: block !important;
  }

  .bg-slate-100 {
    background: white !important;
  }

  .certificate-container {
    box-shadow: none !important;
  }
}


/* Transcript */
@media print {
    .no-print { display: none !important; }
    .bg-slate-100 { background: white !important; }
    .transcript-container { box-shadow: none; }
    /* .page-break { page-break-before: always; } */
}
.transcript-header { background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 100%); }
.grade-a { color: #059669; font-weight: 600; }
.grade-b { color: #2563eb; font-weight: 600; }
.grade-c { color: #d97706; font-weight: 600; }
.grade-d { color: #ea580c; font-weight: 600; }
.grade-f { color: #dc2626; font-weight: 600; }

.collapse.show {
  visibility: initial !important;
}

#educareProfiles .educare_post {
  margin: 0;
}

#educareProfiles {
  width: 100% !important;
  max-width: 100% !important;
}

.wp-block-group:has(#educareProfiles) {
  margin-top: 0px !important;
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}
body:has(#educareProfiles) .wp-block-post-title,
body:has(#educareProfiles) header.wp-block-template-part,
body:has(#educareProfiles) footer.wp-block-template-part {
  display: none !important;
}
