/* Course Dashboard Home Styles */
.course-dashboard-home {
  padding: 2rem;
  background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
  min-height: 100vh;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Dashboard Header */
.dashboard-home-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
  color: white;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.header-title h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-title h1 i {
  font-size: 2.25rem;
}

.welcome-message {
  margin: 0;
  font-size: 1.1rem;
  opacity: 0.95;
}

.header-actions .btn-primary {
  background: white;
  color: #667eea;
  padding: 0.875rem 1.75rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header-actions .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  background: #f8f9fa;
}

/* Dashboard Stats Section */
.dashboard-stats-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.stat-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.stat-content {
  flex: 1;
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 0.25rem;
  line-height: 1;
}

.stat-label {
  color: #718096;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Search and Filter Section */
.search-filter-section {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.search-box {
  position: relative;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
}

.search-box i.fa-search {
  position: absolute;
  left: 1.25rem;
  color: #718096;
  font-size: 1.1rem;
  pointer-events: none;
}

.search-box input {
  width: 100%;
  padding: 1rem 3.5rem 1rem 3.5rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.search-box input:focus {
  outline: none;
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-clear {
  position: absolute;
  right: 1rem;
  background: #e2e8f0;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #4a5568;
}

.btn-clear:hover {
  background: #cbd5e0;
  transform: rotate(90deg);
}

.filter-controls {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.filter-group label {
  font-weight: 600;
  color: #4a5568;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.filter-group label i {
  color: #667eea;
}

.filter-group select {
  padding: 0.625rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.9rem;
  background: white;
  color: #2d3748;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 160px;
}

.filter-group select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.filter-group select:hover {
  border-color: #cbd5e0;
}

/* Courses Table Wrapper */
.courses-table-wrapper {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e2e8f0;
  flex-wrap: wrap;
  gap: 1rem;
}

.table-header h2 {
  margin: 0;
  color: #2d3748;
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.table-header h2 i {
  color: #667eea;
}

.course-count {
  color: #718096;
  font-weight: 400;
  font-size: 1rem;
}

.view-toggle {
  display: flex;
  gap: 0.5rem;
  background: #f8f9fa;
  padding: 0.25rem;
  border-radius: 8px;
}

.view-btn {
  padding: 0.625rem 1.25rem;
  border: none;
  background: transparent;
  color: #718096;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.view-btn:hover {
  background: #e2e8f0;
  color: #4a5568;
}

.view-btn.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* Loading and Error States */
.loading-state,
.error-state {
  text-align: center;
  padding: 4rem 2rem;
  color: #718096;
}

.loading-state i,
.error-state i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #cbd5e0;
}

.loading-state i {
  color: #667eea;
}

.error-state i {
  color: #f56565;
}

.loading-state p,
.error-state p {
  font-size: 1.1rem;
  margin: 1rem 0;
}

/* Table Styles */
.table-container {
  overflow-x: auto;
}

.responsive-table {
  min-width: 100%;
}

.courses-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.courses-table thead {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: sticky;
  top: 0;
  z-index: 10;
}

.courses-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: #2d3748;
  border-bottom: 2px solid #e2e8f0;
  white-space: nowrap;
}

.courses-table th.sortable {
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease;
}

.courses-table th.sortable:hover {
  background: #e9ecef;
}

.sort-icon {
  margin-left: 0.5rem;
  color: #cbd5e0;
  font-size: 0.75rem;
}

.courses-table th.sorted-asc .sort-icon::before {
  content: "\f0de";
  color: #667eea;
}

.courses-table th.sorted-desc .sort-icon::before {
  content: "\f0dd";
  color: #667eea;
}

.courses-table tbody tr {
  border-bottom: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.courses-table tbody tr:hover {
  background: #f8f9fa;
}

.courses-table td {
  padding: 1.25rem 1rem;
  color: #4a5568;
  vertical-align: middle;
}

.course-title-cell {
  font-weight: 600;
  color: #2d3748;
  max-width: 300px;
}

.course-title-cell i {
  color: #667eea;
  margin-right: 0.5rem;
}

.course-code-badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.status-published {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.status-published i {
  color: #28a745;
}

.status-unpublished {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}

.status-unpublished i {
  color: #ffc107;
}

.status-none {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.status-none i {
  color: #dc3545;
}

/* Content and Assessment Counters */
.counter-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #e9ecef;
  border-radius: 20px;
  font-weight: 600;
  color: #4a5568;
  font-size: 0.9rem;
}

.counter-badge i {
  color: #667eea;
  font-size: 1rem;
}

.counter-badge.has-items {
  background: #d4edda;
  color: #155724;
}

.counter-badge.has-items i {
  color: #28a745;
}

/* Action Buttons */
.actions-cell {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.625rem 1rem;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.btn-outline {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-content {
  background: #48bb78;
  color: white;
}

.btn-content:hover {
  background: #38a169;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(72, 187, 120, 0.4);
}

.btn-view {
  background: #3b82f6;
  color: white;
}

.btn-view:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background: #e2e8f0;
  color: #4a5568;
}

.btn-secondary:hover {
  background: #cbd5e0;
  transform: translateY(-2px);
}

/* Grid View */
.grid-container {
  display: block;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.course-grid-card {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.course-grid-card:hover {
  border-color: #667eea;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
  transform: translateY(-4px);
}

.grid-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e2e8f0;
}

.grid-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.grid-card-title-section {
  flex: 1;
}

.grid-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d3748;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.grid-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.grid-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.grid-status-label {
  font-size: 0.85rem;
  color: #718096;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.grid-status-label i {
  color: #667eea;
}

.grid-card-footer {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.grid-card-footer .btn {
  flex: 1;
  justify-content: center;
  min-width: 120px;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: #718096;
}

.empty-state i {
  font-size: 4rem;
  color: #cbd5e0;
  margin-bottom: 1.5rem;
}

.empty-state h3 {
  font-size: 1.5rem;
  color: #4a5568;
  margin: 1rem 0 0.5rem 0;
}

.empty-state p {
  font-size: 1rem;
  color: #718096;
}

/* Quick Actions Panel */
.quick-actions-panel {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.quick-actions-panel h3 {
  margin: 0 0 1.5rem 0;
  color: #2d3748;
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.quick-actions-panel h3 i {
  color: #f59e0b;
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.quick-action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none;
  color: #2d3748;
  transition: all 0.3s ease;
  text-align: center;
}

.quick-action-card:hover {
  border-color: #667eea;
  background: white;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
}

.quick-action-card i {
  font-size: 2rem;
  color: #667eea;
}

.quick-action-card span {
  font-weight: 600;
  font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .dashboard-stats-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .courses-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .course-dashboard-home {
    padding: 1rem;
  }

  .dashboard-home-header {
    padding: 1.5rem;
  }

  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-title h1 {
    font-size: 1.75rem;
  }

  .dashboard-stats-section {
    grid-template-columns: 1fr;
  }

  .filter-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-group {
    flex-direction: column;
    align-items: stretch;
  }

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

  .table-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .view-toggle {
    width: 100%;
  }

  .view-btn {
    flex: 1;
    justify-content: center;
  }

  /* Mobile table view */
  .courses-table {
    font-size: 0.85rem;
  }

  .courses-table thead {
    display: none;
  }

  .courses-table tbody tr {
    display: block;
    margin-bottom: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
  }

  .courses-table tbody td {
    display: block;
    padding: 0.5rem 0;
    border: none;
  }

  .courses-table tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    display: inline-block;
    margin-right: 0.5rem;
    color: #667eea;
  }

  .actions-cell {
    flex-direction: column;
  }

  .actions-cell .btn {
    width: 100%;
    justify-content: center;
  }

  .courses-grid {
    grid-template-columns: 1fr;
  }

  .quick-actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .header-title h1 {
    font-size: 1.5rem;
  }

  .stat-card {
    flex-direction: column;
    text-align: center;
  }

  .quick-actions-grid {
    grid-template-columns: 1fr;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.course-grid-card,
.courses-table tbody tr {
  animation: fadeIn 0.3s ease-in-out;
}

/* Scrollbar Styling */
.table-container::-webkit-scrollbar {
  height: 8px;
}

.table-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb:hover {
  background: #a0aec0;
}


/*New style*/

/* Quick Actions Section - NEW STYLES */
.quick-actions-section {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.section-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e2e8f0;
}

.section-header h2 {
  margin: 0;
  color: #2d3748;
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.section-header h2 i {
  color: #f59e0b;
}

.section-subtitle {
  font-size: 0.9rem;
  color: #718096;
  font-weight: 400;
  margin-left: 2.5rem;
}

/* Loading State for Assigned Courses */
.loading-state-small {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  color: #718096;
}

.loading-state-small i {
  font-size: 1.5rem;
  color: #667eea;
}

/* Empty State for Assigned Courses */
.empty-state-small {
  text-align: center;
  padding: 2rem;
  color: #718096;
}

.empty-state-small i {
  font-size: 2.5rem;
  color: #cbd5e0;
  margin-bottom: 1rem;
}

.empty-state-small p {
  margin: 0;
  font-size: 1rem;
}

/* Assigned Courses Grid */
.assigned-courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.assigned-course-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.assigned-course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transition: width 0.3s ease;
}

.assigned-course-card:hover {
  border-color: #667eea;
  background: white;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
}

.assigned-course-card:hover::before {
  width: 6px;
}

.assigned-course-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.assigned-course-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.assigned-course-info {
  flex: 1;
  min-width: 0;
}

.assigned-course-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #2d3748;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.assigned-course-code {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.assigned-course-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: white;
  border-radius: 8px;
  font-size: 0.85rem;
  border: 1px solid #e2e8f0;
}

.assigned-course-status i {
  font-size: 1rem;
}

.assigned-course-status.has-outline {
  border-color: #48bb78;
  background: #f0fdf4;
  color: #166534;
}

.assigned-course-status.has-outline i {
  color: #48bb78;
}

.assigned-course-status.no-outline {
  border-color: #f59e0b;
  background: #fffbeb;
  color: #92400e;
}

.assigned-course-status.no-outline i {
  color: #f59e0b;
}

.assigned-course-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.btn-generate-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  cursor: pointer;
}

.btn-generate-outline:hover {
  background: linear-gradient(135deg, #5a67d8 0%, #6b4699 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.btn-generate-outline i {
  font-size: 1.1rem;
}

.btn-view-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  background: white;
  color: #667eea;
  border: 2px solid #667eea;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-view-outline:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Static Quick Actions */
.static-quick-actions {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid #e2e8f0;
}

.static-quick-actions h3 {
  margin: 0 0 1.5rem 0;
  color: #4a5568;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.static-quick-actions h3 i {
  color: #718096;
}

.static-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.quick-action-card.static {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none;
  color: #2d3748;
  transition: all 0.3s ease;
  text-align: center;
}

.quick-action-card.static:hover {
  border-color: #667eea;
  background: white;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
}

.quick-action-card.static i {
  font-size: 2rem;
  color: #667eea;
}

.quick-action-card.static span {
  font-weight: 600;
  font-size: 0.95rem;
}

/* Responsive Design for Quick Actions */
@media (max-width: 1200px) {
  .assigned-courses-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .quick-actions-section {
    padding: 1.5rem;
  }

  .section-header h2 {
    font-size: 1.25rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .section-subtitle {
    margin-left: 0;
  }

  .assigned-courses-grid {
    grid-template-columns: 1fr;
  }

  .static-actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .static-actions-grid {
    grid-template-columns: 1fr;
  }

  .assigned-course-card {
    padding: 1.25rem;
  }

  .assigned-course-title {
    font-size: 0.95rem;
  }
}

/* Animation for course cards */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.assigned-course-card {
  animation: slideInUp 0.3s ease-out;
}

.assigned-course-card:nth-child(1) { animation-delay: 0.05s; }
.assigned-course-card:nth-child(2) { animation-delay: 0.1s; }
.assigned-course-card:nth-child(3) { animation-delay: 0.15s; }
.assigned-course-card:nth-child(4) { animation-delay: 0.2s; }
.assigned-course-card:nth-child(5) { animation-delay: 0.25s; }
.assigned-course-card:nth-child(6) { animation-delay: 0.3s; }
