/* Course List Styles - Unified with course_detail and course_study */

/* Breadcrumb styles (как в course_study.css) */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: #6c757d;
  font-weight: 400;
}

.breadcrumb-item a {
  color: #6c757d;
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: #0d6efd;
  text-decoration: none;
}

/* Header Styles (как в course_study.css) */
.course-header {
  max-width: 100%;
  margin-bottom: 24px;
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
}

/* Header Layout with Button */
.course-header .d-flex.justify-content-between {
  align-items: flex-start;
  gap: 20px;
}

.course-header .btn {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Orleu Site Button - Minimal Design */
.orleu-site-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: transparent;
  color: #6c757d;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s ease;
}

.orleu-site-btn:hover {
  color: #0D81FF;
  border-color: #0D81FF;
  background: #f8f9fa;
  text-decoration: none;
}

.orleu-site-btn i {
  font-size: 14px;
  transition: transform 0.2s ease;
}

.orleu-site-btn:hover i {
  transform: translateX(2px);
}

.course-title {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.2;
  color: #1a1a1a;
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
}

/* Header badges (как в course_study.css) */
.header-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  gap: 6px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #495057;
  transition: all 0.2s ease;
}

.header-badge:hover {
  background: #e9ecef;
  border-color: #dee2e6;
}

.header-badge i {
  opacity: 0.7;
  font-size: 12px;
}

/* Search Panel - Custom Design */
.search-panel-container {
  width: 100%;
  padding: 20px 0;
}

.search-panel-bg {
  width: 100%;
  background-color: #f5f5f7;
  border-radius: 14px;
  padding: 20px;
}

.search-panel-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Search Header Inline */
.search-header-inline {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 20px;
  display: flex;
  align-items: center;
  height: 42px;
}

/* Search Row - Complete One Line Layout */
.search-row {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  min-height: 42px;
}

/* Search Input Group */
.search-input-group {
  flex: 1;
  min-width: 250px;
}

.search-input-wrapper {
  position: relative;
  width: 100%;
  height: 42px;
  display: flex;
  align-items: center;
}

.search-input-field {
  width: 100%;
  height: 42px;
  background-color: #fff;
  border: none;
  border-radius: 4px;
  padding: 12px 42px 12px 12px;
  font-size: 14px;
  font-weight: 600;
  color: #969696;
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.search-input-field::placeholder {
  color: #969696;
}

.search-button-primary {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  background-color: #0d81ff;
  border: none;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s;
}

.search-button-primary:hover {
  background-color: #0056b3;
}

.search-button-primary i {
  color: white;
  font-size: 12px;
}

/* Filter Group */
.filter-group {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-select {
  height: 42px;
  background: #ffffff;
  border: 1px solid #e1e5e9;
  border-radius: 8px;
  padding: 10px 36px 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #495057;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  min-width: 180px;
  transition: all 0.2s ease;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3e%3cpath fill='%23495057' d='M6 8L2 4h8z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  text-align: left;
}

.filter-select:hover {
  border-color: #0d81ff;
  background-color: #f8f9fa;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filter-select:focus {
  outline: none;
  border-color: #0d81ff;
  box-shadow: 0 0 0 3px rgba(13, 129, 255, 0.1);
  background-color: #ffffff;
}

.filter-select option {
  padding: 12px 16px;
  font-size: 14px;
  color: #495057;
  background: #ffffff;
  text-align: left;
  white-space: nowrap;
}

.filter-select option:hover {
  background: #f8f9fa;
}

.filter-select option:checked {
  background: #0d81ff;
  color: #ffffff;
}

/* Active Filter State */
.filter-select.active {
  background: #e3f2fd;
  border-color: #0d81ff;
  color: #0d81ff;
  font-weight: 600;
}

.filter-select.active:hover {
  background: #e3f2fd;
  border-color: #0056b3;
}

/* Search Action Button */
.search-action-btn {
  height: 42px;
  background: linear-gradient(#0d81ff, #0d81ff), #303340;
  border: none;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.search-action-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Clear Filters Button */
.filter-clear-btn {
  height: 42px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #6c757d;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.filter-clear-btn:hover {
  background: #e9ecef;
  border-color: #adb5bd;
  color: #495057;
  transform: translateY(-1px);
}

/* Courses Section */
.courses-section {
  margin-bottom: 48px;
}

/* Course Card */
.course-card {
  background: #FFFFFF;
  border: 1px solid #E8E8E8;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* Course Image Section */
.course-image-section {
  position: relative;
  height: 180px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f8f9fa;
}

.course-category-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: white;
}

/* Course Status Badge */
.course-status-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.course-status-badge.completed {
  background: rgba(40, 167, 69, 0.9);
  color: white;
}

.course-status-badge.in-progress {
  background: rgba(13, 129, 255, 0.9);
  color: white;
}

/* Course Content Section */
.course-content-section {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.course-title-card {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: #1a1a1a;
  margin: 0 0 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-description {
  font-size: 14px;
  line-height: 1.6;
  color: #6c757d;
  margin: 0 0 16px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Course Meta Info */
.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.course-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #6c757d;
}

.course-meta-item i {
  font-size: 14px;
  opacity: 0.7;
}

/* Course Footer */
.course-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.course-price {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
}

.course-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #0D81FF;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.course-link:hover {
  background: #0056b3;
  color: white;
  transform: translateX(2px);
}

/* Different button states */
.course-link.continue {
  background: #28a745;
}

.course-link.continue:hover {
  background: #218838;
}

.course-link.completed {
  background: #6c757d;
}

.course-link.completed:hover {
  background: #5a6268;
}

.course-link.start {
  background: #ffc107;
  color: #212529;
}

.course-link.start:hover {
  background: #e0a800;
  color: #212529;
}

/* Empty State */
.empty-state {
  padding: 60px 20px;
}

.empty-icon {
  font-size: 64px;
  color: #dee2e6;
}

.empty-state h5 {
  color: #495057;
  font-weight: 500;
}

.empty-state .btn {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
}

/* Loading Spinner */
.orleu-loading-spinner {
  width: 3rem;
  height: 3rem;
  border: 0.3em solid #e9ecef;
  border-top: 0.3em solid #0D81FF;
  border-radius: 50%;
  animation: orleu-spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes orleu-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .course-header {
    padding: 16px 0;
  }

  .course-header .d-flex.justify-content-between {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .course-header .orleu-site-btn {
    align-self: flex-start;
    padding: 6px 12px;
    font-size: 13px;
  }

  .course-title {
    font-size: 24px;
    line-height: 1.3;
  }

  .search-panel-bg {
    padding: 16px;
    border-radius: 12px;
  }

  .search-row {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .search-header-inline {
    margin-right: 0;
    margin-bottom: 12px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
  }

  .search-input-group {
    width: 100%;
    min-width: auto;
  }

  .search-input-wrapper {
    width: 100%;
    height: 44px;
  }

  .search-input-field {
    height: 44px;
    padding: 12px 44px 12px 14px;
    font-size: 16px;
    border-radius: 8px;
  }

  .search-button-primary {
    width: 44px;
    height: 44px;
    border-radius: 8px;
  }

  .filter-group {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
  }

  .filter-select {
    flex: 1;
    min-width: 140px;
    height: 44px;
    padding: 12px 32px 12px 14px;
    font-size: 14px;
    border-radius: 8px;
    background-size: 14px;
    background-position: right 12px center;
  }

  .search-action-btn {
    min-width: 120px;
    width: 100%;
    height: 44px;
    padding: 12px 16px;
    font-size: 16px;
    border-radius: 8px;
    margin-top: 8px;
  }

  .filter-clear-btn {
    height: 44px;
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 8px;
    width: 100%;
    margin-top: 8px;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .course-title {
    font-size: 20px;
    line-height: 1.2;
  }

  .header-badge {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
  }

  .search-panel-bg {
    padding: 14px;
    border-radius: 10px;
  }

  .search-header-inline {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
  }

  .search-row {
    gap: 14px;
  }

  .search-input-wrapper {
    height: 48px;
  }

  .search-input-field {
    height: 48px;
    font-size: 16px;
    padding: 14px 48px 14px 16px;
    border-radius: 10px;
  }

  .search-button-primary {
    width: 48px;
    height: 48px;
    border-radius: 10px;
  }

  .search-button-primary i {
    font-size: 14px;
  }

  .filter-group {
    gap: 8px;
    justify-content: center;
  }

  .filter-select {
    height: 46px;
    font-size: 14px;
    padding: 12px 32px 12px 14px;
    min-width: 140px;
    border-radius: 10px;
    background-size: 14px;
    background-position: right 12px center;
  }

  .search-action-btn {
    height: 48px;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 16px;
    min-width: 140px;
    border-radius: 10px;
    margin-top: 12px;
  }

  .course-image-section {
    height: 160px;
  }

  .course-content-section {
    padding: 16px;
  }

  .course-title-card {
    font-size: 16px;
    line-height: 1.4;
  }

  .course-description {
    font-size: 14px;
    line-height: 1.5;
  }
}

/* Extra Small Devices (480px and below) */
@media (max-width: 480px) {
  .search-panel-bg {
    padding: 12px;
    border-radius: 8px;
  }

  .search-header-inline {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .search-input-wrapper {
    height: 44px;
  }

  .search-input-field {
    height: 44px;
    font-size: 15px;
    padding: 12px 44px 12px 14px;
    border-radius: 8px;
  }

  .search-button-primary {
    width: 44px;
    height: 44px;
    border-radius: 8px;
  }

  .filter-group {
    gap: 6px;
  }

  .filter-select {
    height: 44px;
    font-size: 13px;
    padding: 10px 30px 10px 12px;
    min-width: 130px;
    border-radius: 8px;
    background-size: 12px;
    background-position: right 10px center;
  }

  .search-action-btn {
    height: 44px;
    font-size: 15px;
    padding: 12px 14px;
    min-width: 130px;
    border-radius: 8px;
    margin-top: 10px;
  }

  .filter-clear-btn {
    height: 44px;
    font-size: 13px;
    padding: 12px 14px;
    border-radius: 8px;
    width: 100%;
    margin-top: 8px;
    justify-content: center;
  }

  .course-content-section {
    padding: 14px;
  }
}

/* Dark Theme Support */
[data-bs-theme="dark"] .breadcrumb-item a {
  color: #adb5bd;
}

[data-bs-theme="dark"] .breadcrumb-item a:hover {
  color: #66b3ff;
}

[data-bs-theme="dark"] .breadcrumb-item + .breadcrumb-item::before {
  color: #6c757d;
}

/* Header Styles - Dark Theme */
[data-bs-theme="dark"] .course-header {
  border-bottom: 1px solid #343a40;
}

[data-bs-theme="dark"] .course-title {
  color: #f8f9fa;
}

[data-bs-theme="dark"] .header-badge {
  background: #343a40;
  border: 1px solid #495057;
  color: #adb5bd;
}

[data-bs-theme="dark"] .header-badge:hover {
  background: #495057;
  border-color: #6c757d;
}

/* Orleu Site Button - Dark Theme */
[data-bs-theme="dark"] .orleu-site-btn {
  color: #adb5bd;
  border-color: #495057;
}

[data-bs-theme="dark"] .orleu-site-btn:hover {
  color: #66b3ff;
  border-color: #66b3ff;
  background: #343a40;
}

[data-bs-theme="dark"] .text-muted {
  color: #6c757d !important;
}

/* Search Action Button - Dark Theme */
[data-bs-theme="dark"] .search-action-btn {
  background: #0d81ff;
  border: 1px solid #0d81ff;
  color: #ffffff;
}

[data-bs-theme="dark"] .search-action-btn:hover {
  background: #0056b3;
  border-color: #0056b3;
  color: #ffffff;
}

[data-bs-theme="dark"] .search-action-btn:focus {
  box-shadow: 0 0 0 3px rgba(13, 129, 255, 0.25);
  background: #0056b3;
}

[data-bs-theme="dark"] .search-action-btn:active {
  background: #004085;
  border-color: #004085;
}

/* Search Panel - Dark Theme */
[data-bs-theme="dark"] .search-panel-bg {
  background-color: #212529;
  border: 1px solid #343a40;
}

[data-bs-theme="dark"] .search-header-inline {
  color: #f8f9fa;
}

[data-bs-theme="dark"] .search-input-field {
  background-color: #343a40;
  border: 1px solid #495057;
  color: #f8f9fa;
}

[data-bs-theme="dark"] .search-input-field::placeholder {
  color: #6c757d;
}

[data-bs-theme="dark"] .search-input-field:focus {
  background-color: #343a40;
  border-color: #0d81ff;
  box-shadow: 0 0 0 3px rgba(13, 129, 255, 0.25);
}

/* Search Button Primary - Dark Theme */
[data-bs-theme="dark"] .search-button-primary {
  background: #495057;
  border: 1px solid #495057;
  color: #f8f9fa;
}

[data-bs-theme="dark"] .search-button-primary:hover {
  background: #6c757d;
  border-color: #6c757d;
  color: #ffffff;
}

[data-bs-theme="dark"] .search-button-primary:focus {
  box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.25);
  background: #6c757d;
}

[data-bs-theme="dark"] .search-button-primary:active {
  background: #5a6268;
  border-color: #5a6268;
}

/* Filter Select - Dark Theme */
[data-bs-theme="dark"] .filter-select {
  background: #343a40;
  border: 1px solid #495057;
  color: #f8f9fa;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3e%3cpath fill='%23f8f9fa' d='M6 8L2 4h8z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

[data-bs-theme="dark"] .filter-select:hover {
  border-color: #0d81ff;
  background-color: #495057;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3e%3cpath fill='%23f8f9fa' d='M6 8L2 4h8z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
}

[data-bs-theme="dark"] .filter-select:focus {
  border-color: #0d81ff;
  box-shadow: 0 0 0 3px rgba(13, 129, 255, 0.25);
  background-color: #343a40;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3e%3cpath fill='%23f8f9fa' d='M6 8L2 4h8z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
}

[data-bs-theme="dark"] .filter-select option {
  background: #343a40 !important;
  color: #f8f9fa !important;
  padding: 12px 16px;
  font-size: 14px;
  text-align: left;
  white-space: nowrap;
}

[data-bs-theme="dark"] .filter-select option:hover {
  background: #495057 !important;
}

[data-bs-theme="dark"] .filter-select option:checked {
  background: #0d81ff !important;
  color: #ffffff !important;
}

[data-bs-theme="dark"] .filter-select.active {
  background: #1a3d5c;
  border-color: #0d81ff;
  color: #66b3ff;
}

[data-bs-theme="dark"] .filter-select.active:hover {
  background: #1a3d5c;
  border-color: #0056b3;
}

/* Clear Filter Button - Dark Theme */
[data-bs-theme="dark"] .filter-clear-btn {
  background: #343a40;
  border: 1px solid #495057;
  color: #adb5bd;
}

[data-bs-theme="dark"] .filter-clear-btn:hover {
  background: #495057;
  border-color: #6c757d;
  color: #f8f9fa;
}

/* Course Card - Dark Theme */
[data-bs-theme="dark"] .course-card {
  background: #212529;
  border: 1px solid #343a40;
}

[data-bs-theme="dark"] .course-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

[data-bs-theme="dark"] .course-title-card {
  color: #f8f9fa;
}

[data-bs-theme="dark"] .course-description {
  color: #adb5bd;
}

[data-bs-theme="dark"] .course-meta {
  border-top: 1px solid #343a40;
}

[data-bs-theme="dark"] .course-meta-item {
  color: #6c757d;
}

[data-bs-theme="dark"] .course-footer {
  border-top: 1px solid #343a40;
}

[data-bs-theme="dark"] .course-price {
  color: #f8f9fa;
}

/* Empty State - Dark Theme */
[data-bs-theme="dark"] .empty-icon {
  color: #495057;
}

[data-bs-theme="dark"] .empty-state h5 {
  color: #adb5bd;
}

[data-bs-theme="dark"] .empty-state .text-muted {
  color: #6c757d !important;
}

/* Course Status Badge - Dark Theme */
[data-bs-theme="dark"] .course-status-badge.completed {
  background: #1e7e34;
  color: #d4edda;
  border: 1px solid #1e7e34;
}

[data-bs-theme="dark"] .course-status-badge.in-progress {
  background: #ffc107;
  color: #212529;
  border: 1px solid #ffc107;
}

/* Course Category Badge - Dark Theme */
[data-bs-theme="dark"] .course-category-badge {
  background: rgba(0, 0, 0, 0.7);
  color: #f8f9fa;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Course Link - Dark Theme */
[data-bs-theme="dark"] .course-link {
  color: #f8f9fa;
}

[data-bs-theme="dark"] .course-link:hover {
  color: #0d81ff;
}

[data-bs-theme="dark"] .course-link.completed {
  color: #66b3ff;
}

[data-bs-theme="dark"] .course-link.in-progress {
  color: #ffc107;
}

/* Course Link States - Dark Theme */
[data-bs-theme="dark"] .course-link.completed:hover {
  color: #3399ff;
}

[data-bs-theme="dark"] .course-link.in-progress:hover {
  color: #e6b800;
}

/* Course Link States - Dark Theme */
[data-bs-theme="dark"] .course-link.start {
  color: #0d81ff;
}

[data-bs-theme="dark"] .course-link.start:hover {
  color: #0056b3;
}

[data-bs-theme="dark"] .course-link.continue {
  color: #ffc107;
}

[data-bs-theme="dark"] .course-link.continue:hover {
  color: #e6b800;
}

/* Container Background - Dark Theme */
[data-bs-theme="dark"] .container {
  background: transparent;
}

/* Courses Section - Dark Theme */
[data-bs-theme="dark"] .courses-section {
  background: transparent;
}

/* Icons in Meta Items - Dark Theme */
[data-bs-theme="dark"] .course-meta-item i {
  color: #6c757d;
}

/* Icons in Status Badges - Dark Theme */
[data-bs-theme="dark"] .course-status-badge i {
  color: inherit;
}

/* Theme Toggle Button - Dark Theme */
[data-bs-theme="dark"] #theme-toggle {
  background: #343a40;
  border: 1px solid #495057;
  color: #f8f9fa;
}

[data-bs-theme="dark"] #theme-toggle:hover {
  background: #495057;
  border-color: #6c757d;
  color: #ffffff;
}

[data-bs-theme="dark"] #theme-toggle:focus {
  box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.25);
  background: #495057;
}

[data-bs-theme="dark"] #theme-toggle:active {
  background: #5a6268;
  border-color: #5a6268;
}
