    /* Teacher Courses Page Styles */
    .teacher-courses-section {
      padding-bottom: 80px;
    }

    /* ==================== */
    /* WISHLIST BUTTON STYLES */
    /* ==================== */
    .course-favorite-btn-enhanced {
      position: absolute;
      top: 12px;
      right: 12px;
      width: 40px;
      height: 40px;
      background: rgba(255, 255, 255, 0.95);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 10;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      border: 2px solid transparent;
    }

    .course-favorite-btn-enhanced i {
      font-size: 18px;
      color: #94a3b8;
      transition: all 0.3s ease;
    }

    .course-favorite-btn-enhanced:hover {
      transform: scale(1.1);
      box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
      border-color: rgba(245, 158, 11, 0.3);
    }

    .course-favorite-btn-enhanced:hover i {
      color: #f59e0b;
    }

    /* Active state - when item is in wishlist */
    .course-favorite-btn-enhanced.active {
      background: linear-gradient(135deg, #f59e0b, #d97706);
      border-color: #d97706;
      box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    }

    .course-favorite-btn-enhanced.active i {
      color: #ffffff;
    }

    .course-favorite-btn-enhanced.active:hover {
      transform: scale(1.1);
      box-shadow: 0 6px 25px rgba(245, 158, 11, 0.5);
    }

    /* Loading state */
    .course-favorite-btn-enhanced.loading {
      pointer-events: none;
      opacity: 0.7;
    }

    .course-favorite-btn-enhanced.loading i {
      animation: spin 1s linear infinite;
    }

    /* Pop animation when adding to wishlist */
    @keyframes wishlist-pop {
      0% { transform: scale(1); }
      50% { transform: scale(1.4); }
      100% { transform: scale(1); }
    }

    .wishlist-pop {
      animation: wishlist-pop 0.3s ease-out;
    }

    @keyframes spin {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }

    /* Dark theme styles for wishlist button */
    .dark-theme .course-favorite-btn-enhanced {
      background: rgba(30, 41, 59, 0.95);
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    .dark-theme .course-favorite-btn-enhanced i {
      color: #94a3b8;
    }

    .dark-theme .course-favorite-btn-enhanced:hover {
      background: rgba(30, 41, 59, 0.95);
      border-color: rgba(245, 158, 11, 0.5);
    }

    .dark-theme .course-favorite-btn-enhanced:hover i {
      color: #f59e0b;
    }

    .dark-theme .course-favorite-btn-enhanced.active {
      background: linear-gradient(135deg, #f59e0b, #d97706);
    }

    .dark-theme .course-favorite-btn-enhanced.active i {
      color: #ffffff;
    }

    /* Pulse effect on hover for non-active state */
    .course-favorite-btn-enhanced:not(.active):hover::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 100%;
      height: 100%;
      border-radius: 50%;
      background: rgba(245, 158, 11, 0.2);
      animation: pulse-ring 1s ease-out infinite;
    }

    @keyframes pulse-ring {
      0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
      }
      100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
      }
    }

    /* Quick Action Wishlist Button in Overlay */
    .quick-action-btn.quick-action-wishlist {
      transition: all 0.3s ease;
    }

    .quick-action-btn.quick-action-wishlist:hover {
      background: rgba(245, 158, 11, 0.2) !important;
    }

    .quick-action-btn.quick-action-wishlist:hover i {
      color: #f59e0b !important;
    }

    .quick-action-btn.quick-action-wishlist.active {
      background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    }

    .quick-action-btn.quick-action-wishlist.active i {
      color: #ffffff !important;
    }

    .quick-action-btn.quick-action-wishlist.active:hover {
      background: linear-gradient(135deg, #d97706, #d97706) !important;
      transform: scale(1.1);
    }

    /* ==================== */
    /* END WISHLIST STYLES */
    /* ==================== */

    /* Breadcrumb */
    .teacher-breadcrumb-nav {
      margin-bottom: 24px;
    }

    .teacher-breadcrumb {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 6px;
      list-style: none;
      margin: 0;
      padding: 10px 14px;
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 14px;
      box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    }

    .teacher-breadcrumb-item {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      font-weight: 500;
      color: #64748b;
      max-width: 100%;
    }

    .teacher-breadcrumb-item:not(.is-active)::after {
      content: '\f054';
      font-family: 'Font Awesome 6 Free';
      font-weight: 900;
      font-size: 9px;
      color: #cbd5e1;
      margin-left: 6px;
    }

    .teacher-breadcrumb-item a {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 10px;
      border-radius: 10px;
      color: #3a92bd;
      text-decoration: none;
      transition: background-color 0.2s ease, color 0.2s ease;
    }

    .teacher-breadcrumb-item a:hover {
      background: rgba(58, 146, 189, 0.08);
      color: #0c5374;
    }

    .teacher-breadcrumb-item a i {
      font-size: 12px;
      opacity: 0.9;
    }

    .teacher-breadcrumb-item.is-active span {
      display: inline-block;
      padding: 6px 12px;
      border-radius: 10px;
      background: rgba(58, 146, 189, 0.1);
      color: #0f172a;
      font-weight: 700;
      max-width: 220px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .dark-theme .teacher-breadcrumb {
      background: #1e293b;
      border-color: rgba(148, 163, 184, 0.2);
      box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    }

    .dark-theme .teacher-breadcrumb-item {
      color: #94a3b8;
    }

    .dark-theme .teacher-breadcrumb-item:not(.is-active)::after {
      color: #475569;
    }

    .dark-theme .teacher-breadcrumb-item a {
      color: #7dd3fc;
    }

    .dark-theme .teacher-breadcrumb-item a:hover {
      background: rgba(58, 146, 189, 0.15);
      color: #bae6fd;
    }

    .dark-theme .teacher-breadcrumb-item.is-active span {
      background: rgba(58, 146, 189, 0.18);
      color: #f8fafc;
    }

    @media (max-width: 576px) {
      .teacher-breadcrumb {
        padding: 8px 10px;
        gap: 4px;
      }

      .teacher-breadcrumb-item {
        font-size: 12px;
      }

      .teacher-breadcrumb-item a,
      .teacher-breadcrumb-item.is-active span {
        padding: 5px 8px;
      }

      .teacher-breadcrumb-item.is-active span {
        max-width: 140px;
      }
    }

    /* Teacher Profile Card */
    .teacher-profile-card {
      display: flex;
      gap: 30px;
      padding: 30px;
      background: #ffffff;
      border-radius: 20px;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
      border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .dark-theme .teacher-profile-card {
      background: #1e293b;
      border-color: rgba(255, 255, 255, 0.1);
    }

    .teacher-profile-image {
      position: relative;
      width: 180px;
      height: 180px;
      flex-shrink: 0;
    }

    .teacher-profile-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 16px;
      border: 4px solid #ffffff;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

    .dark-theme .teacher-profile-image img {
      border-color: #334155;
    }

    .teacher-verified-badge {
      position: absolute;
      bottom: -8px;
      right: -8px;
      width: 36px;
      height: 36px;
      background: linear-gradient(135deg, #3a92bd 0%, #0c5374 100%);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 16px;
      border: 3px solid white;
    }

    .teacher-profile-info {
      flex: 1;
    }

    .teacher-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 15px;
    }

    .teacher-badges span {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 14px;
      border-radius: 20px;
      font-size: 13px;
      font-weight: 500;
    }

    .badge-subject {
      background: rgba(58, 146, 189, 0.1);
      color: #3a92bd;
    }

    .badge-teacher-code {
      background: rgba(34, 197, 94, 0.1);
      color: #16a34a;
    }

    .badge-rating {
      background: rgba(251, 191, 36, 0.1);
      color: #f59e0b;
    }

    .teacher-name {
      font-size: 2rem;
      font-weight: 700;
      color: #1e293b;
      margin: 0 0 8px 0;
    }

    .dark-theme .teacher-name {
      color: #f1f5f9;
    }

    .teacher-specialty {
      font-size: 16px;
      color: #3a92bd;
      font-weight: 500;
      margin-bottom: 10px;
    }

    .teacher-bio {
      font-size: 15px;
      color: #64748b;
      line-height: 1.6;
      margin-bottom: 20px;
    }

    .dark-theme .teacher-bio {
      color: #94a3b8;
    }

    .teacher-stats-row {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      align-items: center;
    }

    .teacher-wishlist-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 14px;
      border-radius: 999px;
      border: 1px solid #e2e8f0;
      background: #ffffff;
      color: #64748b;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .teacher-wishlist-btn:hover,
    .teacher-wishlist-btn.active {
      border-color: #3a92bd;
      background: rgba(58, 146, 189, 0.08);
      color: #3a92bd;
    }

    .teacher-wishlist-btn.active i {
      color: #f59e0b;
    }

    .dark-theme .teacher-wishlist-btn {
      background: #0f172a;
      border-color: rgba(148, 163, 184, 0.2);
      color: #94a3b8;
    }

    .dark-theme .teacher-wishlist-btn:hover,
    .dark-theme .teacher-wishlist-btn.active {
      background: rgba(58, 146, 189, 0.15);
      color: #7dd3fc;
    }

    .teacher-stat {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      color: #64748b;
    }

    .teacher-stat i {
      color: #3a92bd;
      font-size: 16px;
    }

    .dark-theme .teacher-stat {
      color: #94a3b8;
    }

    /* Quick Info Card */
    .teacher-quick-info-card {
      padding: 22px;
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 18px;
      box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
      color: #1e293b;
      gap: 18px;
    }

    .quick-info-header {
      display: flex;
      align-items: center;
      gap: 12px;
      padding-bottom: 14px;
      border-bottom: 1px solid #eef2f7;
    }

    .quick-info-icon {
      width: 42px;
      height: 42px;
      border-radius: 12px;
      background: rgba(58, 146, 189, 0.1);
      color: #3a92bd;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      flex-shrink: 0;
    }

    .quick-info-title {
      font-size: 17px;
      font-weight: 700;
      margin: 0;
      color: #0f172a;
    }

    .quick-info-subtitle {
      margin: 2px 0 0;
      font-size: 12px;
      color: #64748b;
    }

    .quick-info-items {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .quick-info-item {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      padding: 12px;
      border-radius: 12px;
      background: #f8fafc;
      border: 1px solid #eef2f7;
    }

    .quick-info-item-icon {
      width: 36px;
      height: 36px;
      border-radius: 10px;
      background: #ffffff;
      border: 1px solid #e2e8f0;
      color: #3a92bd;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      flex-shrink: 0;
    }

    .quick-info-item-content {
      display: flex;
      flex-direction: column;
      gap: 2px;
      min-width: 0;
    }

    .info-label {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: #64748b;
    }

    .info-value {
      font-size: 14px;
      font-weight: 600;
      color: #0f172a;
      line-height: 1.45;
      word-break: break-word;
    }

    .dark-theme .teacher-quick-info-card {
      background: #1e293b;
      border-color: rgba(148, 163, 184, 0.2);
      color: #f8fafc;
      box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
    }

    .dark-theme .quick-info-header {
      border-bottom-color: rgba(148, 163, 184, 0.15);
    }

    .dark-theme .quick-info-title,
    .dark-theme .info-value {
      color: #f8fafc;
    }

    .dark-theme .quick-info-subtitle,
    .dark-theme .info-label {
      color: #94a3b8;
    }

    .dark-theme .quick-info-item {
      background: rgba(15, 23, 42, 0.35);
      border-color: rgba(148, 163, 184, 0.15);
    }

    .dark-theme .quick-info-item-icon {
      background: #0f172a;
      border-color: rgba(148, 163, 184, 0.2);
      color: #7dd3fc;
    }

    /* Filter Section */
    .courses-filter-section-enhanced {
      background: #ffffff;
      border-radius: 16px;
      padding: 20px 24px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
      border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .dark-theme .courses-filter-section-enhanced {
      background: #1e293b;
      border-color: rgba(255, 255, 255, 0.08);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }

    .search-filter-wrapper {
      display: flex;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    /* Modern Search Box */
    .search-box-modern {
      flex: 1;
      min-width: 280px;
      position: relative;
      display: flex;
      align-items: center;
    }

    .search-box-modern .search-icon {
      position: absolute;
      left: 16px;
      color: #94a3b8;
      font-size: 15px;
      pointer-events: none;
      transition: color 0.3s ease;
    }

    .search-input-modern {
      width: 100%;
      padding: 14px 44px 14px 46px;
      border: 2px solid rgba(0, 0, 0, 0.08);
      border-radius: 12px;
      font-size: 14px;
      background: #f8fafc;
      color: #1e293b;
      transition: all 0.3s ease;
    }

    .search-input-modern:focus {
      outline: none;
      border-color: #3a92bd;
      background: #ffffff;
      box-shadow: 0 0 0 4px rgba(58, 146, 189, 0.1);
    }

    .search-input-modern:focus+.search-icon,
    .search-box-modern:focus-within .search-icon {
      color: #3a92bd;
    }

    .search-input-modern::placeholder {
      color: #94a3b8;
    }

    .dark-theme .search-input-modern {
      background: rgba(255, 255, 255, 0.05);
      border-color: rgba(255, 255, 255, 0.1);
      color: #f1f5f9;
    }

    .dark-theme .search-input-modern:focus {
      background: rgba(255, 255, 255, 0.08);
      border-color: #3a92bd;
      box-shadow: 0 0 0 4px rgba(58, 146, 189, 0.15);
    }

    .search-clear-btn {
      position: absolute;
      right: 12px;
      background: none;
      border: none;
      color: #94a3b8;
      cursor: pointer;
      padding: 6px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s ease;
    }

    .search-clear-btn:hover {
      background: rgba(0, 0, 0, 0.05);
      color: #64748b;
    }

    .dark-theme .search-clear-btn:hover {
      background: rgba(255, 255, 255, 0.1);
      color: #cbd5e1;
    }

    /* Modern Filter Dropdown */
    .filter-dropdown-modern {
      position: relative;
      display: flex;
      align-items: center;
      min-width: 180px;
    }

    .filter-dropdown-modern .filter-icon {
      position: absolute;
      left: 14px;
      color: #94a3b8;
      font-size: 13px;
      pointer-events: none;
      z-index: 1;
    }

    .filter-select-modern {
      width: 100%;
      padding: 14px 40px 14px 40px;
      border: 2px solid rgba(0, 0, 0, 0.08);
      border-radius: 12px;
      font-size: 14px;
      background: #f8fafc;
      color: #1e293b;
      cursor: pointer;
      transition: all 0.3s ease;
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 14px center;
    }

    .filter-select-modern:focus {
      outline: none;
      border-color: #3a92bd;
      background-color: #ffffff;
      box-shadow: 0 0 0 4px rgba(58, 146, 189, 0.1);
    }

    .filter-select-modern:hover {
      border-color: #3a92bd;
    }

    .dark-theme .filter-select-modern {
      background-color: rgba(255, 255, 255, 0.05);
      border-color: rgba(255, 255, 255, 0.1);
      color: #f1f5f9;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    }

    .dark-theme .filter-select-modern:focus {
      background-color: rgba(255, 255, 255, 0.08);
      border-color: #3a92bd;
      box-shadow: 0 0 0 4px rgba(58, 146, 189, 0.15);
    }

    .dark-theme .filter-dropdown-modern .filter-icon {
      color: #64748b;
    }

    /* Clear Filters Button */
    .clear-filters-btn {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 14px 20px;
      background: transparent;
      border: 2px solid rgba(0, 0, 0, 0.08);
      border-radius: 12px;
      color: #64748b;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .clear-filters-btn:hover {
      border-color: #3a92bd;
      color: #3a92bd;
      background: rgba(58, 146, 189, 0.05);
    }

    .clear-filters-btn i {
      font-size: 12px;
    }

    .dark-theme .clear-filters-btn {
      border-color: rgba(255, 255, 255, 0.1);
      color: #94a3b8;
    }

    .dark-theme .clear-filters-btn:hover {
      border-color: #3a92bd;
      color: #3a92bd;
      background: rgba(58, 146, 189, 0.1);
    }

    /* Responsive Filter Section */
    @media (max-width: 768px) {
      .search-filter-wrapper {
        flex-direction: column;
      }

      .search-box-modern,
      .filter-dropdown-modern {
        width: 100%;
        min-width: auto;
      }

      .clear-filters-btn {
        width: 100%;
        justify-content: center;
      }
    }

    .filter-options {
      display: flex;
      gap: 15px;
      justify-content: flex-end;
    }

    .filter-select {
      padding: 12px 20px;
      border: 1px solid rgba(0, 0, 0, 0.1);
      border-radius: 10px;
      font-size: 14px;
      background: #ffffff;
      color: #1e293b;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .filter-select:hover {
      border-color: #3a92bd;
    }

    .dark-theme .filter-select {
      background: #1e293b;
      border-color: rgba(255, 255, 255, 0.1);
      color: #f1f5f9;
    }



    /* Section Title */
    .teacher-courses-section .courses-content-grid {
      width: 100%;
      margin-top: 0.5rem;
    }

    .section-title {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 1.5rem;
      font-weight: 700;
      color: #1e293b;
      margin: 0 0 1.25rem;
    }

    .section-title i {
      color: #3a92bd;
    }

    .dark-theme .section-title {
      color: #f1f5f9;
    }

    /* Teacher Courses Grid & Cards */
    .teacher-courses-section .courses-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
      gap: 1.5rem;
      width: 100%;
      margin-top: 0;
      align-items: stretch;
    }

    .teacher-courses-section .teacher-course-card {
      width: 100%;
      max-width: none;
      margin: 0;
      height: 100%;
      border-radius: 16px;
      border: 1px solid #e2e8f0;
      box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .teacher-courses-section .teacher-course-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 10px 28px rgba(58, 146, 189, 0.12);
    }

    .teacher-courses-section .course-card-media-enhanced {
      position: relative;
      height: 200px;
      flex-shrink: 0;
    }

    .teacher-courses-section .course-card-media-enhanced img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
    }

    .teacher-courses-section .course-card-media-enhanced .course-favorite-btn-enhanced {
      position: absolute;
      top: 12px;
      right: 12px;
      z-index: 3;
    }

    .teacher-courses-section .course-card-body-enhanced {
      padding: 1.25rem;
      display: flex;
      flex-direction: column;
      flex: 1;
      gap: 0;
      min-height: 0;
    }

    .teacher-courses-section .course-meta {
      margin-bottom: 8px;
    }

    .teacher-courses-section .course-unit {
      display: inline-flex;
      align-items: center;
      font-size: 12px;
      font-weight: 600;
      color: #3a92bd;
      background: rgba(58, 146, 189, 0.08);
      padding: 4px 10px;
      border-radius: 8px;
      text-transform: uppercase;
      letter-spacing: 0.03em;
    }

    .teacher-courses-section .course-card-title-enhanced {
      font-size: 1.05rem;
      margin-bottom: 0.5rem;
      line-height: 1.35;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      min-height: 2.7em;
    }

    .teacher-courses-section .course-card-description-enhanced {
      font-size: 0.875rem;
      margin-bottom: 0.75rem;
      -webkit-line-clamp: 2;
      line-clamp: 2;
      min-height: 2.6em;
    }

    .teacher-courses-section .teacher-course-stats {
      display: block;
      margin-bottom: 14px;
    }

    .teacher-courses-section .teacher-course-stats .stat-item {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 12px;
      background: #f8fafc;
      border: 1px solid #eef2f7;
      border-radius: 10px;
      text-align: left;
    }

    .teacher-courses-section .teacher-course-stats .stat-item i {
      display: inline;
      margin-bottom: 0;
      font-size: 14px;
    }

    .teacher-courses-section .teacher-course-stats .stat-item span {
      font-size: 13px;
    }

    .teacher-courses-section .teacher-course-footer {
      margin-top: auto;
      padding-top: 1rem;
      border-top: 1px solid #eef2f7;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

    .teacher-courses-section .course-price-container-enhanced {
      margin-bottom: 0;
    }

    .teacher-courses-section .price-wrapper {
      margin-bottom: 0;
    }

    .teacher-courses-section .course-price-current-enhanced {
      font-size: 1.25rem;
      font-weight: 800;
      color: #0f172a;
    }

    .teacher-courses-section .course-price-original-enhanced {
      font-size: 0.9rem;
    }

    .teacher-courses-section .course-actions-enhanced {
      margin-top: 0;
      width: 100%;
    }

    .teacher-courses-section .btn-add-to-cart-enhanced,
    .teacher-courses-section .btn-fully-booked-enhanced,
    .teacher-courses-section .btn-already-purchased {
      width: 100%;
      padding: 12px 16px;
      border-radius: 10px;
      font-size: 14px;
    }

    .dark-theme .teacher-courses-section .teacher-course-card {
      border-color: rgba(148, 163, 184, 0.2);
      background: #1e293b;
    }

    .dark-theme .teacher-courses-section .teacher-course-footer {
      border-top-color: rgba(148, 163, 184, 0.15);
    }

    .dark-theme .teacher-courses-section .teacher-course-stats .stat-item {
      background: rgba(15, 23, 42, 0.4);
      border-color: rgba(148, 163, 184, 0.15);
    }

    .dark-theme .teacher-courses-section .course-price-current-enhanced {
      color: #f8fafc;
    }

    @media (min-width: 1400px) {
      .teacher-courses-section .courses-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
        gap: 2rem;
      }
    }

    @media (max-width: 992px) {
      .teacher-courses-section .courses-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
        gap: 1.25rem;
      }
    }

    @media (max-width: 768px) {
      .teacher-courses-section .courses-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
      }

      .teacher-courses-section .course-card-media-enhanced {
        height: 190px;
      }
    }

    @media (max-width: 576px) {
      .teacher-courses-section .courses-grid {
        gap: 1rem;
      }

      .teacher-courses-section .course-card-media-enhanced {
        height: 180px;
      }

      .teacher-courses-section .course-card-body-enhanced {
        padding: 1rem;
      }
    }

    /* Course Type Badge */
    .course-type-badge {
      position: absolute;
      bottom: 12px;
      left: 12px;
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 6px 12px;
      border-radius: 8px;
      font-size: 12px;
      font-weight: 600;
      color: white;
    }

    .course-type-badge.online {
      background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    }

    .course-type-badge.recorded {
      background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    }

    .course-type-badge.onground {
      background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    }

    /* Course Features */
    .course-features {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 15px;
    }

    .course-feature {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 12px;
      color: #64748b;
      background: rgba(58, 146, 189, 0.08);
      padding: 4px 10px;
      border-radius: 20px;
    }

    .course-feature i {
      color: #22c55e;
      font-size: 10px;
    }

    .dark-theme .course-feature {
      background: rgba(58, 146, 189, 0.15);
      color: #94a3b8;
    }

    /* Fully Booked Button Enhanced */
    .btn-fully-booked-enhanced {
      width: 100%;
      padding: 14px 20px;
      background: linear-gradient(135deg, rgba(58, 146, 189, 0.15) 0%, rgba(12, 83, 116, 0.1) 100%);
      border: 2px solid rgba(58, 146, 189, 0.3);
      border-radius: 12px;
      color: #64748b;
      font-size: 14px;
      font-weight: 600;
      cursor: not-allowed;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      position: relative;
      overflow: hidden;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      transition: all 0.3s ease;
    }

    .btn-fully-booked-enhanced:hover {
      background: linear-gradient(135deg, rgba(58, 146, 189, 0.2) 0%, rgba(12, 83, 116, 0.15) 100%);
      border-color: rgba(58, 146, 189, 0.4);
    }

    .btn-fully-booked-enhanced i {
      font-size: 16px;
      color: #3a92bd;
    }

    .btn-fully-booked-enhanced .fully-booked-text {
      color: #64748b;
    }

    .dark-theme .btn-fully-booked-enhanced {
      background: linear-gradient(135deg, rgba(58, 146, 189, 0.1) 0%, rgba(12, 83, 116, 0.08) 100%);
      border-color: rgba(58, 146, 189, 0.25);
      color: #94a3b8;
    }

    .dark-theme .btn-fully-booked-enhanced:hover {
      background: linear-gradient(135deg, rgba(58, 146, 189, 0.15) 0%, rgba(12, 83, 116, 0.12) 100%);
      border-color: rgba(58, 146, 189, 0.35);
    }

    .dark-theme .btn-fully-booked-enhanced .fully-booked-text {
      color: #94a3b8;
    }

    .dark-theme .btn-fully-booked-enhanced i {
      color: rgba(58, 146, 189, 0.8);
    }

    .quick-action-btn.fully-booked {
      background: linear-gradient(135deg, rgba(58, 146, 189, 0.15) 0%, rgba(12, 83, 116, 0.1) 100%);
      border: 1px solid rgba(58, 146, 189, 0.3);
      cursor: not-allowed;
      opacity: 0.9;
    }

    .quick-action-btn.fully-booked i {
      color: #3a92bd;
    }

    /* Already Purchased Button */
    .btn-already-purchased {
      width: 100%;
      padding: 14px 20px;
      /* Solid green background */
      background: #10b981;
      border: 2px solid #10b981;
      border-radius: 12px;
      /* White text */
      color: white;
      font-size: 14px;
      font-weight: 600;
      cursor: default;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      position: relative;
      overflow: hidden;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      opacity: 1;
      box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
    }

    .btn-already-purchased i {
      font-size: 16px;
      color: white;
    }

    .btn-already-purchased .fully-booked-text {
      color: white;
    }

    /* Dark theme adjustment if needed, but keeping it green is usually preferred for success states */
    .dark-theme .btn-already-purchased {
      background: #059669;
      border-color: #059669;
      color: white;
    }

    /* Responsive */
    @media (max-width: 992px) {
      .teacher-profile-card {
        flex-direction: column;
        text-align: center;
      }

      .teacher-profile-image {
        margin: 0 auto;
      }

      .teacher-badges {
        justify-content: center;
      }

      .teacher-stats-row {
        justify-content: center;
      }

      .filter-options {
        flex-direction: column;
        margin-top: 15px;
      }

      .filter-select {
        width: 100%;
      }
    }

    @media (max-width: 768px) {
      .teacher-profile-image {
        width: 140px;
        height: 140px;
      }

      .teacher-name {
        font-size: 1.5rem;
      }

      .teacher-stats-row {
        flex-direction: column;
        gap: 10px;
      }
    }

    /* Bestseller and New Badges */
    .course-offer-badge-enhanced.bestseller {
      background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
      color: white;
    }

    .course-offer-badge-enhanced.new {
      background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
      color: white;
    }

    /* Cart Notification Styles - Premium Design */
    .cart-notification {
      position: fixed;
      top: 20px;
      right: 20px;
      min-width: 320px;
      max-width: 420px;
      padding: 0;
      border-radius: 16px;
      z-index: 99999;
      transform: translateX(calc(100% + 40px));
      transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
      overflow: hidden;
    }

    .cart-notification.show {
      transform: translateX(0);
    }

    .cart-notification-success,
    .cart-notification-error,
    .cart-notification-info {
      background: #ffffff;
      border: 1px solid rgba(58, 146, 189, 0.15);
      box-shadow: 0 20px 50px rgba(58, 146, 189, 0.2),
        0 8px 20px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }

    .cart-notification-content {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 18px 22px;
      font-size: 14px;
      font-weight: 500;
      color: #1e293b;
      position: relative;
    }

    .cart-notification-content::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 4px;
      background: linear-gradient(180deg, #3a92bd 0%, #0c5374 100%);
      border-radius: 4px 0 0 4px;
    }

    .cart-notification-content i {
      width: 38px;
      height: 38px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 12px;
      font-size: 16px;
      flex-shrink: 0;
    }

    .cart-notification-success .cart-notification-content i {
      background: linear-gradient(135deg, rgba(58, 146, 189, 0.15) 0%, rgba(12, 83, 116, 0.1) 100%);
      color: #3a92bd;
    }

    .cart-notification-error .cart-notification-content i {
      background: linear-gradient(135deg, rgba(100, 116, 139, 0.15) 0%, rgba(71, 85, 105, 0.1) 100%);
      color: #64748b;
    }

    .cart-notification-info .cart-notification-content i {
      background: linear-gradient(135deg, rgba(58, 146, 189, 0.15) 0%, rgba(12, 83, 116, 0.1) 100%);
      color: #3a92bd;
    }

    .cart-notification-content span {
      flex: 1;
      line-height: 1.5;
      color: #334155;
    }

    /* Dark Theme */
    .dark-theme .cart-notification-success,
    .dark-theme .cart-notification-error,
    .dark-theme .cart-notification-info {
      background: #1e293b;
      border-color: rgba(58, 146, 189, 0.2);
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4),
        0 8px 20px rgba(58, 146, 189, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }

    .dark-theme .cart-notification-content {
      color: #f1f5f9;
    }

    .dark-theme .cart-notification-content span {
      color: #cbd5e1;
    }

    .dark-theme .cart-notification-success .cart-notification-content i {
      background: linear-gradient(135deg, rgba(58, 146, 189, 0.2) 0%, rgba(12, 83, 116, 0.15) 100%);
      color: #5fb3d9;
    }

    .dark-theme .cart-notification-error .cart-notification-content i {
      background: linear-gradient(135deg, rgba(148, 163, 184, 0.15) 0%, rgba(100, 116, 139, 0.1) 100%);
      color: #94a3b8;
    }

    .dark-theme .cart-notification-info .cart-notification-content i {
      background: linear-gradient(135deg, rgba(58, 146, 189, 0.2) 0%, rgba(12, 83, 116, 0.15) 100%);
      color: #5fb3d9;
    }

    /* Responsive */
    @media (max-width: 480px) {
      .cart-notification {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
      }
    }

    /* ==================== */
    /* COURSE QUICK VIEW SIDEBAR */
    /* ==================== */
    body.quickview-open {
      overflow: hidden;
    }

    .course-quickview-overlay {
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.45);
      backdrop-filter: blur(4px);
      z-index: 9998;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .course-quickview-overlay.is-visible {
      opacity: 1;
      visibility: visible;
    }

    .course-quickview-sidebar {
      position: fixed;
      top: 0;
      right: 0;
      width: min(440px, 100vw);
      height: 100vh;
      background: #f8fafc;
      z-index: 9999;
      display: flex;
      flex-direction: column;
      transform: translate3d(calc(100% + 24px), 0, 0);
      visibility: hidden;
      pointer-events: none;
      overflow: hidden;
      transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.35s;
      box-shadow: -8px 0 40px rgba(15, 23, 42, 0.12);
    }

    .course-quickview-sidebar.is-open {
      transform: translate3d(0, 0, 0);
      visibility: visible;
      pointer-events: auto;
      transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
    }

    .course-quickview-header {
      background: linear-gradient(135deg, #3a92bd 0%, #0c5374 100%);
      padding: 1.5rem;
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 1rem;
      position: relative;
      overflow: hidden;
    }

    .course-quickview-header::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.08) 1px, transparent 0);
      background-size: 20px 20px;
      pointer-events: none;
    }

    .course-quickview-header-content {
      display: flex;
      align-items: center;
      gap: 1rem;
      position: relative;
      z-index: 1;
      min-width: 0;
    }

    .course-quickview-thumb {
      width: 56px;
      height: 56px;
      border-radius: 12px;
      object-fit: cover;
      border: 2px solid rgba(255, 255, 255, 0.3);
      flex-shrink: 0;
      background: rgba(255, 255, 255, 0.1);
    }

    .course-quickview-header-text {
      min-width: 0;
    }

    .course-quickview-label {
      display: block;
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.75);
      margin-bottom: 0.25rem;
    }

    .course-quickview-title {
      font-size: 1.05rem;
      font-weight: 700;
      color: #fff;
      margin: 0;
      line-height: 1.35;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .course-quickview-close {
      width: 36px;
      height: 36px;
      border: none;
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.15);
      color: #fff;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s ease;
      flex-shrink: 0;
      position: relative;
      z-index: 1;
    }

    .course-quickview-close:hover {
      background: rgba(255, 255, 255, 0.25);
    }

    .course-quickview-body {
      flex: 1;
      overflow-y: auto;
      padding: 1.25rem;
    }

    .course-quickview-loading {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0.75rem;
      padding: 3rem 1rem;
      color: #64748b;
    }

    .course-quickview-empty {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0.75rem;
      padding: 3rem 1rem;
      color: #94a3b8;
      text-align: center;
    }

    .course-quickview-empty i {
      font-size: 2.5rem;
      opacity: 0.5;
    }

    .quickview-topic {
      background: #fff;
      border-radius: 14px;
      margin-bottom: 0.75rem;
      border: 1px solid #e2e8f0;
      overflow: hidden;
      transition: box-shadow 0.2s ease, border-color 0.2s ease;
    }

    .quickview-topic:hover {
      border-color: rgba(58, 146, 189, 0.3);
    }

    .quickview-topic.is-open {
      box-shadow: 0 4px 20px rgba(58, 146, 189, 0.1);
      border-color: rgba(58, 146, 189, 0.35);
    }

    .quickview-topic-header {
      width: 100%;
      display: flex;
      align-items: center;
      gap: 0.875rem;
      padding: 1rem 1.125rem;
      background: none;
      border: none;
      cursor: pointer;
      text-align: left;
      transition: background 0.2s ease;
    }

    .quickview-topic-header:hover {
      background: rgba(58, 146, 189, 0.04);
    }

    .quickview-topic-number {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: linear-gradient(135deg, #3a92bd 0%, #0c5374 100%);
      color: #fff;
      font-weight: 700;
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      box-shadow: 0 4px 12px rgba(58, 146, 189, 0.35);
    }

    .quickview-topic-info {
      flex: 1;
      min-width: 0;
    }

    .quickview-topic-title {
      display: block;
      font-weight: 600;
      font-size: 0.95rem;
      color: #1e293b;
      line-height: 1.35;
      margin-bottom: 0.25rem;
    }

    .quickview-topic-count {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      font-size: 0.78rem;
      color: #64748b;
      background: #f1f5f9;
      padding: 0.2rem 0.6rem;
      border-radius: 20px;
    }

    .quickview-topic-count i {
      color: #3a92bd;
      font-size: 0.7rem;
    }

    .quickview-topic-chevron {
      width: 28px;
      height: 28px;
      border-radius: 8px;
      background: #f1f5f9;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #64748b;
      font-size: 0.75rem;
      transition: transform 0.25s ease, background 0.2s ease;
      flex-shrink: 0;
    }

    .quickview-topic.is-open .quickview-topic-chevron {
      transform: rotate(180deg);
      background: rgba(58, 146, 189, 0.12);
      color: #3a92bd;
    }

    .quickview-topic-items {
      border-top: 1px solid #f1f5f9;
      padding: 0.5rem 1rem 1rem 1rem;
      background: #fafbfc;
    }

    .quickview-content-item {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.65rem 0.75rem;
      border-radius: 10px;
      transition: background 0.2s ease;
    }

    .quickview-content-item:hover {
      background: rgba(58, 146, 189, 0.06);
    }

    .quickview-content-icon {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      background: rgba(58, 146, 189, 0.1);
      color: #3a92bd;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.85rem;
      flex-shrink: 0;
    }

    .quickview-content-details {
      min-width: 0;
    }

    .quickview-content-title {
      display: block;
      font-size: 0.875rem;
      font-weight: 500;
      color: #334155;
      line-height: 1.35;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .quickview-content-type {
      display: block;
      font-size: 0.72rem;
      color: #94a3b8;
      margin-top: 0.1rem;
    }

    .quickview-no-items {
      font-size: 0.85rem;
      color: #94a3b8;
      text-align: center;
      padding: 0.75rem;
      margin: 0;
    }

    /* Dark theme */
    .dark-theme .course-quickview-sidebar {
      background: #1e293b;
    }

    .dark-theme .quickview-topic {
      background: #0f172a;
      border-color: #334155;
    }

    .dark-theme .quickview-topic-title {
      color: #f1f5f9;
    }

    .dark-theme .quickview-topic-count {
      background: #1e293b;
      color: #94a3b8;
    }

    .dark-theme .quickview-topic-chevron {
      background: #1e293b;
      color: #94a3b8;
    }

    .dark-theme .quickview-topic-items {
      background: #0f172a;
      border-color: #1e293b;
    }

    .dark-theme .quickview-content-title {
      color: #e2e8f0;
    }

    @media (max-width: 480px) {
      .course-quickview-sidebar {
        width: 100vw;
      }
    }
