@font-face {
  font-family: 'icomoon';
  src: url('../fonts/icomoon.eot?ynprdi');
  src: url('../fonts/icomoon.eot?ynprdi#iefix') format('embedded-opentype'),
    url('../fonts/icomoon.ttf?ynprdi') format('truetype'),
    url('../fonts/icomoon.woff?ynprdi') format('woff'),
    url('../fonts/icomoon.svg?ynprdi#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"],
[class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-group:before {
  content: "\e900";
}

.icon-people:before {
  content: "\e900";
}

.icon-home:before {
  content: "\e901";
}

.icon-image:before {
  content: "\e90d";
}

.icon-books:before {
  content: "\e920";
}

.icon-library:before {
  content: "\e921";
}

.icon-qrcode:before {
  content: "\e938";
}

.icon-user-plus:before {
  content: "\e973";
}

.icon-lock:before {
  content: "\e98f";
}

.icon-unlocked:before {
  content: "\e990";
}

.icon-equalizer:before {
  content: "\e992";
}

.icon-stats-dots:before {
  content: "\e99b";
}

.icon-bin:before {
  content: "\e9ac";
}

.icon-list2:before {
  content: "\e9bb";
}

.icon-cloud-download:before {
  content: "\e9c2";
}

.icon-sun:before {
  content: "\e9d4";
}

.icon-enter:before {
  content: "\ea13";
}

.icon-exit:before {
  content: "\ea14";
}

.icon-checkbox-checked:before {
  content: "\ea52";
}

.icon-checkbox-unchecked:before {
  content: "\ea53";
}

.icon-share2:before {
  content: "\ea82";
}

.icon-mail:before {
  content: "\ea83";
}

.icon-google:before {
  content: "\ea88";
}

.icon-youtube:before {
  content: "\ea9d";
}

.icon-windows8:before {
  content: "\eac2";
}

.icon-file-word:before {
  content: "\eae1";
}

/* Modal Styles */
.modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  background-color: rgba(0, 0, 0, 0.5) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 9999 !important;
  padding: 1rem !important;
}

.modal-overlay.hidden {
  display: none !important;
}

.modal-container-large {
  background-color: white !important;
  border-radius: 0.75rem !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
  max-width: 42rem !important;
  width: 100% !important;
  max-height: 90vh !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
}

.modal-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 1.5rem !important;
  border-bottom: 1px solid #e5e7eb !important;
}

.modal-title-lg {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #1a202c !important;
  margin: 0 !important;
}

.modal-close-btn {
  background: none !important;
  border: none !important;
  font-size: 1.5rem !important;
  color: #9ca3af !important;
  cursor: pointer !important;
  padding: 0.25rem !important;
  transition: color 0.2s !important;
}

.modal-close-btn:hover {
  color: #374151 !important;
}

.modal-body {
  padding: 1.5rem !important;
  overflow-y: auto !important;
  flex: 1 !important;
}

.search-box {
  position: relative !important;
  margin-bottom: 1rem !important;
}

.search-icon {
  position: absolute !important;
  left: 1rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #9ca3af !important;
}

.search-input {
  width: 100% !important;
  padding: 0.75rem 1rem 0.75rem 2.5rem !important;
  border: 1px solid #d1d5db !important;
  border-radius: 0.5rem !important;
  font-size: 0.875rem !important;
  transition: border-color 0.2s !important;
}

.search-input:focus {
  outline: none !important;
  border-color: #10b981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

.courses-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
  max-height: 400px !important;
  overflow-y: auto !important;
}

.course-item {
  border: 1px solid #e5e7eb !important;
  border-radius: 0.5rem !important;
  transition: all 0.2s !important;
}

.course-item:hover {
  border-color: #10b981 !important;
  background-color: #f0fdf4 !important;
}

.course-item.hidden {
  display: none !important;
}

.course-label {
  display: flex !important;
  align-items: start !important;
  padding: 1rem !important;
  cursor: pointer !important;
  margin: 0 !important;
}

.course-checkbox {
  margin-top: 0.25rem !important;
  margin-right: 0.75rem !important;
  cursor: pointer !important;
  width: 1.125rem !important;
  height: 1.125rem !important;
  flex-shrink: 0 !important;
}

.course-info {
  flex: 1 !important;
}

.course-name {
  font-weight: 600 !important;
  color: #1f2937 !important;
  margin-bottom: 0.25rem !important;
}

.course-institution {
  font-size: 0.875rem !important;
  color: #6b7280 !important;
  margin-bottom: 0.5rem !important;
}

.course-institution i {
  margin-right: 0.25rem !important;
}

.course-meta {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  font-size: 0.75rem !important;
  color: #9ca3af !important;
}

.course-meta i {
  margin-right: 0.25rem !important;
}

.course-provider-badge {
  padding: 0.125rem 0.5rem !important;
  border-radius: 0.25rem !important;
  font-weight: 500 !important;
}

.course-provider-badge.google {
  background-color: #dbeafe !important;
  color: #1e40af !important;
}

.course-provider-badge.manual {
  background-color: #f3f4f6 !important;
  color: #4b5563 !important;
}

.empty-state {
  text-align: center !important;
  padding: 3rem 1rem !important;
  color: #9ca3af !important;
}

.empty-state i {
  font-size: 3rem !important;
  margin-bottom: 1rem !important;
  color: #d1d5db !important;
}

.empty-state p {
  margin-bottom: 1rem !important;
  font-size: 1rem !important;
}

.link-primary {
  color: #10b981 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
}

.link-primary:hover {
  text-decoration: underline !important;
}

.modal-footer {
  padding: 1rem 1.5rem !important;
  border-top: 1px solid #e5e7eb !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.selected-count {
  font-size: 0.875rem !important;
  color: #6b7280 !important;
  font-weight: 500 !important;
}

.selected-count span {
  color: #10b981 !important;
  font-weight: 700 !important;
}

.modal-actions {
  display: flex !important;
  gap: 0.75rem !important;
}

.btn-cancel {
  padding: 0.5rem 1rem !important;
  background-color: white !important;
  border: 1px solid #d1d5db !important;
  border-radius: 0.5rem !important;
  font-weight: 500 !important;
  color: #374151 !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
}

.btn-cancel:hover {
  background-color: #f9fafb !important;
}

.btn-confirm {
  padding: 0.5rem 1rem !important;
  background-color: #10b981 !important;
  border: none !important;
  border-radius: 0.5rem !important;
  font-weight: 500 !important;
  color: white !important;
  cursor: pointer !important;
  transition: background-color 0.2s !important;
}

.btn-confirm:hover {
  background-color: #059669 !important;
}