/* =====================================================================
   Lumina LMS — Tutor LMS skin
   Loaded only while the Tutor LMS plugin is active. Maps the plugin's
   design tokens (CSS custom properties) + key components to the theme's
   palette and typography so course archive, single course, checkout and
   dashboard screens match the rest of the site.
   ===================================================================== */

:root {
  --tutor-color-primary: #4f46e5;
  --tutor-color-primary-hover: #4338ca;
  --tutor-color-secondary: #7c3aed;
  --tutor-color-success: #047857;
  --tutor-color-warning: #f59e0b;
  --tutor-color-danger: #b91c1c;
  --tutor-body-color: #334155;
  --tutor-border-color: #e2e8f0;
  --tutor-primary-hover: #4338ca;
  --tutor-font-family: 'Inter', system-ui, sans-serif;
}

/* Typography inside Tutor screens follows the theme */
.tutor-wrap,
.tutor-course-details-page,
.tutor-dashboard,
.tutor-modal {
  font-family: 'Inter', system-ui, sans-serif;
}
.tutor-wrap h1,
.tutor-wrap h2,
.tutor-wrap h3,
.tutor-wrap h4,
.tutor-course-name,
.tutor-course-details-title {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  letter-spacing: -0.02em;
  color: #0f172a;
}

/* Buttons */
.tutor-btn.tutor-btn-primary,
.tutor-wrap .tutor-btn-primary {
  background: linear-gradient(120deg, #4f46e5, #7c3aed);
  border: none;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 8px 20px -6px rgba(79, 70, 229, 0.5);
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.3s;
}
.tutor-btn.tutor-btn-primary:hover,
.tutor-wrap .tutor-btn-primary:hover {
  background: linear-gradient(120deg, #4338ca, #6d28d9);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -8px rgba(79, 70, 229, 0.55);
}
.tutor-btn.tutor-btn-outline-primary {
  border-color: #4f46e5;
  color: #4f46e5;
  border-radius: 999px;
  font-weight: 700;
}
.tutor-btn.tutor-btn-outline-primary:hover {
  background: #4f46e5;
  color: #fff;
}

/* Course cards on Tutor archive */
.tutor-course-card,
.tutor-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.3s, border-color 0.3s;
}
.tutor-course-card:hover,
.tutor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.15);
  border-color: #c7d2fe;
}
.tutor-course-name a { color: #0f172a; }
.tutor-course-name a:hover { color: #4f46e5; }

/* Ratings use the theme's amber */
.tutor-ratings .tutor-icon-star-bold,
.tutor-ratings-stars i,
.tutor-star-rating-group { color: #f59e0b; }

/* Price color */
.tutor-course-price .price,
.tutor-course-price { color: #4f46e5; font-weight: 800; }

/* Pagination pills */
.tutor-pagination .page-numbers {
  border-radius: 12px;
  font-weight: 700;
}
.tutor-pagination .page-numbers.current {
  background: #4f46e5;
  color: #fff;
}

/* Dashboard sidebar active state */
.tutor-dashboard-permalinks li.active > a,
.tutor-dashboard-permalinks li a:hover {
  color: #4f46e5;
}

/* Forms inside Tutor (login, register, Q&A) */
.tutor-form-control:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.14);
}

/* Give Tutor archive/detail pages breathing room consistent with theme */
.tutor-course-archive-page,
.tutor-course-details-page { padding-top: 32px; padding-bottom: 64px; }
