/**
 * Sikshya LMS Frontend — catalog, cart, learn, quiz, and shared layouts.
 * Design tokens: public-design-system.css (handle: sikshya-public-ds).
 */

/* Base Styles */
.sikshya-course-catalog {
  font-family: var(--sikshya-font-family);
  line-height: 1.6;
  color: var(--sikshya-gray-700);
  /* Outer catalog shell: transparent so theme background shows (sections set their own surfaces). */
  background-color: transparent;
}

.sikshya-container {
  max-width: var(--sikshya-public-content-max-width);
  margin: 0 auto;
  padding: 0 var(--sikshya-public-content-padding-inline);
}

/* Cart / enrollment flash (archives, cart, checkout, course page) */
.sikshya-cart-flash {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sikshya-spacing-3) var(--sikshya-spacing-4);
  margin-bottom: var(--sikshya-spacing-4);
  padding: var(--sikshya-spacing-3) var(--sikshya-spacing-4);
  border-radius: var(--sikshya-radius-lg);
  font-size: var(--sikshya-font-size-sm);
  font-weight: 500;
  box-sizing: border-box;
}

.sikshya-cart-flash__msg {
  flex: 1 1 auto;
  min-width: 0;
}

.sikshya-cart-flash__action {
  flex: 0 0 auto;
  margin-left: auto;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.sikshya-cart-flash__action:hover,
.sikshya-cart-flash__action:focus-visible {
  text-decoration: underline;
}

.sikshya-cart-flash--success .sikshya-cart-flash__action {
  color: #047857;
}

.sikshya-cart-flash--info .sikshya-cart-flash__action {
  color: #1d4ed8;
}

.sikshya-cart-flash--error .sikshya-cart-flash__action {
  color: #b91c1c;
}

.sikshya-cart-flash--success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.sikshya-cart-flash--info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.sikshya-cart-flash--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* Learn UI manages its own full-bleed shell (learn.css) */
.sikshya-learning-shell .sikshya-container {
  max-width: none;
}

/* Standardize public page width (exclude Learn + Account) */
.sikshya-public:not(.sikshya-learning-shell):not(.sikshya-account-page) .sikshya-container,
body:not(.sikshya-learning-shell):not(.sikshya-account-page) .sikshya-public .sikshya-container {
  max-width: var(--sikshya-public-content-max-width);
}

/* Full-width preset (Settings → Single course page layout) on catalog + commerce rails + login shell. */
body.sikshya-course-layout--fullwidth:not(.sikshya-learning-shell):not(.sikshya-account-page) .sikshya-public .sikshya-container,
body.sikshya-course-layout--fullwidth:not(.sikshya-learning-shell):not(.sikshya-account-page) .sikshya-course-catalog .sikshya-container,
body.sikshya-course-layout--fullwidth:not(.sikshya-learning-shell):not(.sikshya-account-page) .sikshya-cart-page__masthead-inner,
body.sikshya-course-layout--fullwidth:not(.sikshya-learning-shell):not(.sikshya-account-page) .sikshya-cart-page__body,
body.sikshya-course-layout--fullwidth:not(.sikshya-learning-shell):not(.sikshya-account-page) .sikshya-checkout-page__masthead-inner,
body.sikshya-course-layout--fullwidth:not(.sikshya-learning-shell):not(.sikshya-account-page) .sikshya-checkout-page__body,
body.sikshya-course-layout--fullwidth:not(.sikshya-learning-shell):not(.sikshya-account-page) .sikshya-order-page__masthead-inner,
body.sikshya-course-layout--fullwidth:not(.sikshya-learning-shell):not(.sikshya-account-page) .sikshya-order-page__body,
body.sikshya-course-layout--fullwidth:not(.sikshya-learning-shell):not(.sikshya-account-page) .sikshya-login-page__shell,
body.sikshya-course-layout--fullwidth:not(.sikshya-learning-shell):not(.sikshya-account-page) .sikshya-course-lp__masthead-inner {
  max-width: none;
}

/* Commerce masthead band (cart / checkout / order) */
.sikshya-cart-page__masthead,
.sikshya-checkout-page__masthead,
.sikshya-order-page__masthead {
  background: var(--sik-f-surface-muted);
  border-bottom: 1px solid var(--sik-f-border);
  padding: clamp(var(--sikshya-spacing-6), 4vw, var(--sikshya-spacing-10)) 0;
  margin-bottom: clamp(var(--sikshya-spacing-6), 3vw, var(--sikshya-spacing-10));
}

.sikshya-cart-page__masthead-inner,
.sikshya-checkout-page__masthead-inner,
.sikshya-order-page__masthead-inner {
  width: 100%;
  max-width: var(--sikshya-public-content-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--sikshya-public-content-padding-inline);
  padding-right: var(--sikshya-public-content-padding-inline);
}

/* Course LP + discovery masthead (single course, archive, category, tag) */
.sikshya-course-lp__masthead {
  background: transparent;
  border-bottom: 1px solid var(--sik-f-border);
  padding: clamp(var(--sikshya-spacing-6), 4vw, var(--sikshya-spacing-10)) 0;
  margin-bottom: clamp(var(--sikshya-spacing-6), 3vw, var(--sikshya-spacing-10));
}

.sikshya-course-lp__masthead-inner {
  width: 100%;
  max-width: var(--sikshya-public-content-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--sikshya-public-content-padding-inline);
  padding-right: var(--sikshya-public-content-padding-inline);
  box-sizing: border-box;
}

/* Shared breadcrumb partial — used by every public masthead
 * (archive/category/single-course/order/cart/checkout). Rules live here in
 * the base frontend stylesheet so each page doesn't have to load
 * course-listing.css just to style its breadcrumb. */
.sikshya-discovery-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  font-size: var(--sikshya-font-size-sm);
  margin-bottom: var(--sikshya-spacing-4);
  color: var(--sik-f-text-muted, var(--sikshya-gray-600));
}

.sikshya-discovery-breadcrumb__link {
  color: var(--sik-f-text-muted, var(--sikshya-gray-600));
  text-decoration: none;
  font-weight: 500;
  transition: var(--sikshya-transition-fast);
}

.sikshya-discovery-breadcrumb__link:hover,
.sikshya-discovery-breadcrumb__link:focus-visible {
  color: var(--sikshya-primary);
  text-decoration: underline;
}

.sikshya-discovery-breadcrumb__current {
  font-weight: 600;
  color: var(--sik-f-text-heading, var(--sikshya-gray-900));
}

.sikshya-discovery-breadcrumb__sep {
  color: var(--sikshya-gray-400);
  user-select: none;
  font-weight: 400;
}

/* Hero Section */
.sikshya-hero {
  background: linear-gradient(135deg, var(--sikshya-primary) 0%, var(--sikshya-primary-dark) 100%);
  color: var(--sikshya-white);
  padding: var(--sikshya-spacing-20) 0;
  text-align: center;
}

.sikshya-hero-content {
  max-width: 600px;
  margin: 0 auto;
}

.sikshya-hero-title {
  font-size: var(--sikshya-font-size-4xl);
  font-weight: 700;
  margin-bottom: var(--sikshya-spacing-4);
  line-height: 1.2;
}

.sikshya-hero-subtitle {
  font-size: var(--sikshya-font-size-lg);
  margin-bottom: var(--sikshya-spacing-8);
  opacity: 0.9;
}

/* Search Form */
.sikshya-search-form {
  margin-top: var(--sikshya-spacing-8);
}

.sikshya-search-input-group {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  background: var(--sikshya-white);
  border-radius: var(--sikshya-radius-lg);
  overflow: hidden;
  box-shadow: var(--sikshya-shadow-lg);
}

.sikshya-search-input {
  flex: 1;
  padding: var(--sikshya-spacing-4) var(--sikshya-spacing-5);
  border: none;
  outline: none;
  font-size: var(--sikshya-font-size-base);
  color: var(--sikshya-gray-700);
}

.sikshya-search-input::placeholder {
  color: var(--sikshya-gray-400);
}

.sikshya-search-button {
  padding: var(--sikshya-spacing-4) var(--sikshya-spacing-5);
  background: var(--sikshya-primary);
  color: var(--sikshya-white);
  border: none;
  cursor: pointer;
  transition: var(--sikshya-transition);
}

.sikshya-search-button:hover {
  background: var(--sikshya-primary-dark);
}

/* Section Headers */
.sikshya-section-header {
  text-align: center;
  margin-bottom: var(--sikshya-spacing-12);
}

.sikshya-section-title {
  font-size: var(--sikshya-font-size-3xl);
  font-weight: 700;
  color: var(--sikshya-gray-900);
  margin-bottom: var(--sikshya-spacing-2);
}

.sikshya-section-subtitle {
  font-size: var(--sikshya-font-size-lg);
  color: var(--sikshya-gray-600);
}

/* Featured/Popular Courses */
.sikshya-featured-courses,
.sikshya-popular-courses {
  padding: var(--sikshya-spacing-16) 0;
  background: var(--sikshya-white);
}

/* Catalog Layout */
.sikshya-catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--sikshya-spacing-8);
  padding: var(--sikshya-spacing-8) 0;
}

/* Sidebar */
.sikshya-sidebar {
  position: sticky;
  top: var(--sikshya-spacing-4);
  height: fit-content;
}

.sikshya-filters {
  background: var(--sikshya-white);
  border-radius: var(--sikshya-radius-lg);
  padding: var(--sikshya-spacing-6);
  box-shadow: var(--sikshya-shadow);
}

.sikshya-filters-title {
  font-size: var(--sikshya-font-size-lg);
  font-weight: 600;
  color: var(--sikshya-gray-900);
  margin-bottom: var(--sikshya-spacing-6);
}

.sikshya-filter-group {
  margin-bottom: var(--sikshya-spacing-6);
}

.sikshya-filter-label {
  font-size: var(--sikshya-font-size-sm);
  font-weight: 600;
  color: var(--sikshya-gray-700);
  margin-bottom: var(--sikshya-spacing-3);
  display: block;
}

.sikshya-filter-options {
  display: flex;
  flex-direction: column;
  gap: var(--sikshya-spacing-2);
}

.sikshya-filter-option {
  display: flex;
  align-items: center;
  gap: var(--sikshya-spacing-2);
  cursor: pointer;
  padding: var(--sikshya-spacing-2) 0;
  transition: var(--sikshya-transition);
}

.sikshya-filter-option:hover {
  color: var(--sikshya-primary);
}

.sikshya-filter-option input[type="checkbox"],
.sikshya-filter-option input[type="radio"] {
  display: none;
}

.sikshya-checkbox-custom,
.sikshya-radio-custom {
  width: 16px;
  height: 16px;
  border: 2px solid var(--sikshya-gray-300);
  border-radius: var(--sikshya-radius-sm);
  position: relative;
  transition: var(--sikshya-transition);
}

.sikshya-radio-custom {
  border-radius: 50%;
}

.sikshya-filter-option input:checked + .sikshya-checkbox-custom {
  background: var(--sikshya-primary);
  border-color: var(--sikshya-primary);
}

.sikshya-filter-option input:checked + .sikshya-checkbox-custom::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 4px;
  width: 4px;
  height: 8px;
  border: solid var(--sikshya-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.sikshya-filter-option input:checked + .sikshya-radio-custom {
  background: var(--sikshya-primary);
  border-color: var(--sikshya-primary);
}

.sikshya-filter-option input:checked + .sikshya-radio-custom::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 6px;
  height: 6px;
  background: var(--sikshya-white);
  border-radius: 50%;
}

.sikshya-filter-text {
  flex: 1;
  font-size: var(--sikshya-font-size-sm);
  color: var(--sikshya-gray-700);
}

.sikshya-filter-count {
  font-size: var(--sikshya-font-size-xs);
  color: var(--sikshya-gray-500);
}

.sikshya-apply-filters {
  width: 100%;
  padding: var(--sikshya-spacing-3) var(--sikshya-spacing-4);
  background: var(--sikshya-primary);
  color: var(--sikshya-white);
  border: none;
  border-radius: var(--sikshya-radius);
  font-size: var(--sikshya-font-size-sm);
  font-weight: 500;
  cursor: pointer;
  transition: var(--sikshya-transition);
}

.sikshya-apply-filters:hover {
  background: var(--sikshya-primary-dark);
}

/* Sort Bar */
.sikshya-sort-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sikshya-spacing-4) 0;
  margin-bottom: var(--sikshya-spacing-6);
  border-bottom: 1px solid var(--sikshya-gray-200);
}

.sikshya-results-count {
  font-size: var(--sikshya-font-size-sm);
  color: var(--sikshya-gray-600);
}

.sikshya-sort-right {
  display: flex;
  align-items: center;
  gap: var(--sikshya-spacing-3);
}

.sikshya-sort-label {
  font-size: var(--sikshya-font-size-sm);
  color: var(--sikshya-gray-600);
}

.sikshya-sort-select {
  padding: var(--sikshya-spacing-2) var(--sikshya-spacing-3);
  border: 1px solid var(--sikshya-gray-300);
  border-radius: var(--sikshya-radius);
  background: var(--sikshya-white);
  color: var(--sikshya-gray-700);
  font-size: var(--sikshya-font-size-sm);
  cursor: pointer;
}

/* Buttons */
.sikshya-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sikshya-spacing-2);
  padding: var(--sikshya-spacing-3) var(--sikshya-spacing-4);
  border: none;
  border-radius: var(--sikshya-radius);
  font-size: var(--sikshya-font-size-sm);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: var(--sikshya-transition);
  white-space: nowrap;
}

.sikshya-button--primary {
  background: var(--sikshya-primary);
  color: var(--sikshya-white);
}

.sikshya-button--primary:hover {
  background: var(--sikshya-primary-dark);
  color: var(--sikshya-white);
}

.sikshya-button--outline {
  border: 1px solid var(--sikshya-gray-300);
  background: var(--sikshya-white);
  color: var(--sikshya-gray-800);
}

.sikshya-button--outline:hover {
  background: var(--sikshya-gray-50);
  border-color: var(--sikshya-gray-400);
  color: var(--sikshya-gray-900);
}

.sikshya-button--small {
  padding: var(--sikshya-spacing-2) var(--sikshya-spacing-3);
  font-size: var(--sikshya-font-size-xs);
}

.sikshya-button__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
  color: inherit;
}

.sikshya-button__icon svg {
  width: 1em;
  height: 1em;
  display: block;
}

.sikshya-button__label {
  display: inline-block;
}

/* No Courses State */
.sikshya-no-courses {
  text-align: center;
  padding: var(--sikshya-spacing-16) var(--sikshya-spacing-4);
}

.sikshya-no-courses-icon {
  color: var(--sikshya-gray-400);
  margin-bottom: var(--sikshya-spacing-6);
}

.sikshya-no-courses-title {
  font-size: var(--sikshya-font-size-2xl);
  font-weight: 600;
  color: var(--sikshya-gray-900);
  margin-bottom: var(--sikshya-spacing-3);
}

.sikshya-no-courses-text {
  font-size: var(--sikshya-font-size-base);
  color: var(--sikshya-gray-600);
  margin-bottom: var(--sikshya-spacing-6);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .sikshya-catalog-layout {
    grid-template-columns: 1fr;
    gap: var(--sikshya-spacing-6);
  }

  .sikshya-sidebar {
    position: static;
    order: 2;
  }

  .sikshya-main-content {
    order: 1;
  }
}

@media (max-width: 768px) {
  .sikshya-hero-title {
    font-size: var(--sikshya-font-size-3xl);
  }

  .sikshya-hero-subtitle {
    font-size: var(--sikshya-font-size-base);
  }

  /* course grid styles live in course-listing.css */

  .sikshya-sort-bar {
    flex-direction: column;
    gap: var(--sikshya-spacing-3);
    align-items: flex-start;
  }

  /* pagination styles live in course-listing.css */
}

@media (max-width: 480px) {
  .sikshya-container {
    padding: 0 var(--sikshya-spacing-3);
  }

  .sikshya-hero {
    padding: var(--sikshya-spacing-12) 0;
  }

  /* course card styles live in course-listing.css */

  .sikshya-button {
    width: 100%;
  }
}

/* Utility Classes */
.sikshya-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sikshya-text-center {
  text-align: center;
}

.sikshya-text-left {
  text-align: left;
}

.sikshya-text-right {
  text-align: right;
}

.sikshya-hidden {
  display: none;
}

.sikshya-block {
  display: block;
}

.sikshya-inline-block {
  display: inline-block;
}

.sikshya-inline {
  display: inline;
}

.sikshya-flex {
  display: flex;
}

.sikshya-inline-flex {
  display: inline-flex;
}

.sikshya-grid {
  display: grid;
}

/* Loading States */
.sikshya-loading {
  opacity: 0.6;
  pointer-events: none;
}

.sikshya-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--sikshya-gray-300);
  border-top-color: var(--sikshya-primary);
  border-radius: 50%;
  animation: sikshya-spin 1s linear infinite;
}

@keyframes sikshya-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Focus States */
.sikshya-button:focus,
.sikshya-search-input:focus,
.sikshya-sort-select:focus {
  outline: 2px solid var(--sikshya-primary);
  outline-offset: 2px;
}

.sikshya-course-card .sikshya-course-title a:focus-visible,
.sikshya-course-card .sikshya-button:focus-visible {
  outline: 2px solid var(--sikshya-primary);
  outline-offset: 3px;
  border-radius: var(--sikshya-radius-sm);
}

.sikshya-course-card-image-link {
  display: block;
  line-height: 0;
  overflow: hidden;
  border-radius: var(--sikshya-radius-lg) var(--sikshya-radius-lg) 0 0;
}

/* Thumbnail fill is defined in course-listing.css (absolute inset + object-fit: cover). */
.sikshya-course-card .sikshya-course-thumbnail {
  vertical-align: middle;
}

@media (prefers-reduced-motion: reduce) {
  .sikshya-loading::after {
    animation: none;
  }
}

/* Public LMS shell (single course, cart, checkout, archives, …) */
.sikshya-public:not(.sikshya-learning-shell):not(.sikshya-account-page) {
  width: 100%;
  max-width: var(--sikshya-public-content-max-width);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  padding: 0 0 var(--sikshya-spacing-16);
}

/*
 * LP / discovery pages: top spacing comes from .sikshya-course-lp__masthead only.
 * (Without this, .sikshya-public’s old top padding stacked above the masthead on archives.)
 */
.sikshya-public.sikshya-course-lp,
.sikshya-public.sikshya-archive-courses {
  padding-top: 0;
}

/* Shortcodes / small embeds without a page masthead. */
.sikshya-public.sikshya-shortcode-courses,
.sikshya-public.sikshya-courses-browse {
  padding-top: var(--sikshya-spacing-8);
}

body.sikshya-course-layout--fullwidth:not(.sikshya-learning-shell):not(.sikshya-account-page) .sikshya-public,
body.sikshya-course-layout--fullwidth:not(.sikshya-learning-shell):not(.sikshya-account-page) .sikshya-course-catalog.sikshya-public {
  max-width: none;
}

.sikshya-container--narrow {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--sikshya-spacing-4);
  padding-right: var(--sikshya-spacing-4);
}

.sikshya-page-title {
  font-size: var(--sikshya-font-size-3xl);
  margin-bottom: var(--sikshya-spacing-6);
}

.sikshya-breadcrumb--public {
  font-size: var(--sikshya-font-size-sm);
  margin-bottom: var(--sikshya-spacing-6);
  color: var(--sikshya-gray-600);
}

.sikshya-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sikshya-spacing-2);
  padding: var(--sikshya-spacing-3) var(--sikshya-spacing-4);
  border: 1px solid transparent;
  border-radius: var(--sikshya-radius);
  background: transparent;
  color: var(--sikshya-gray-800);
  font-size: var(--sikshya-font-size-sm);
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: var(--sikshya-transition);
  white-space: nowrap;
}

.sikshya-btn--sm {
  padding: var(--sikshya-spacing-2) var(--sikshya-spacing-3);
  border-radius: var(--sikshya-radius);
  font-size: var(--sikshya-font-size-xs);
}

.sikshya-btn--primary {
  background: var(--sikshya-primary);
  color: var(--sikshya-white);
}

.sikshya-btn--primary:hover {
  background: var(--sikshya-primary-dark);
  color: var(--sikshya-white);
}

.sikshya-btn--outline {
  border-color: var(--sikshya-gray-300);
  background: var(--sikshya-white);
  color: var(--sikshya-gray-800);
}

.sikshya-btn--outline:hover {
  background: var(--sikshya-gray-50);
  border-color: var(--sikshya-gray-400);
  color: var(--sikshya-gray-900);
}

.sikshya-btn--ghost {
  border-color: var(--sikshya-gray-300);
  background: transparent;
  color: var(--sikshya-gray-800);
}

.sikshya-btn--ghost:hover {
  background: var(--sikshya-gray-50);
  border-color: var(--sikshya-gray-400);
  color: var(--sikshya-gray-900);
}

/* -------------------------------------------------------------------------
   Compatibility: legacy `.sikshya-button` now matches `.sikshya-btn`
   ------------------------------------------------------------------------- */

.sikshya-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sikshya-spacing-2);
  padding: var(--sikshya-spacing-3) var(--sikshya-spacing-4);
  border: 1px solid transparent;
  border-radius: var(--sikshya-radius);
  background: transparent;
  color: var(--sikshya-gray-800);
  font-size: var(--sikshya-font-size-sm);
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: var(--sikshya-transition);
  white-space: nowrap;
}

.sikshya-button--small {
  padding: var(--sikshya-spacing-2) var(--sikshya-spacing-3);
  border-radius: var(--sikshya-radius);
  font-size: var(--sikshya-font-size-xs);
}

.sikshya-button--primary {
  background: var(--sikshya-primary);
  color: var(--sikshya-white);
}

.sikshya-button--primary:hover {
  background: var(--sikshya-primary-dark);
  color: var(--sikshya-white);
}

.sikshya-button--outline {
  border-color: var(--sikshya-gray-300);
  background: var(--sikshya-white);
  color: var(--sikshya-gray-800);
}

.sikshya-button--outline:hover {
  background: var(--sikshya-gray-50);
  border-color: var(--sikshya-gray-400);
  color: var(--sikshya-gray-900);
}

.sikshya-button--ghost {
  border-color: var(--sikshya-gray-300);
  background: transparent;
  color: var(--sikshya-gray-800);
}

.sikshya-button--ghost:hover {
  background: var(--sikshya-gray-50);
  border-color: var(--sikshya-gray-400);
  color: var(--sikshya-gray-900);
}

/* Single course page: tighter CTA sizing (avoid oversized buttons) */
.sikshya-single-course .sikshya-course-lp__actions .sikshya-btn {
  height: 40px !important;
  padding: 0 16px !important;
  border-radius: var(--sikshya-radius-md) !important;
  font-size: var(--sikshya-font-size-sm) !important;
  line-height: 1.2 !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
}

.sikshya-course-lp__form--admin-enroll {
  margin-top: 10px;
}

.sikshya-course-lp__admin-enroll-hint {
  margin: 6px 0 0;
  font-size: var(--sikshya-font-size-xs);
  color: var(--sikshya-gray-500);
  line-height: 1.45;
}

.sikshya-muted {
  color: var(--sikshya-gray-500);
}

.sikshya-prose {
  line-height: 1.65;
}

.sikshya-account-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sikshya-spacing-6);
}

.sikshya-inline-form {
  display: inline;
}

/* Login virtual page */
.sikshya-public.sikshya-login-page {
  padding-top: 0;
  background: transparent;
}

.sikshya-login-page__shell {
  width: 100%;
  max-width: var(--sikshya-public-content-max-width);
  margin-left: auto;
  margin-right: auto;
  padding: clamp(var(--sikshya-spacing-12), 6vw, var(--sikshya-spacing-20)) var(--sikshya-public-content-padding-inline);
  box-sizing: border-box;
}

.sikshya-login-page__inner {
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
}

.sikshya-login-page__title {
  margin: 0 0 var(--sikshya-spacing-2);
  font-size: clamp(1.5rem, 2.2vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--sik-f-text-heading);
}

.sikshya-login-page__lead {
  margin: 0 0 var(--sikshya-spacing-8);
  font-size: var(--sikshya-font-size-sm);
  line-height: 1.6;
  color: var(--sik-f-text-muted);
}

.sikshya-login-page__card {
  background: var(--sik-f-surface);
  border: 1px solid var(--sik-f-border);
  border-radius: var(--sik-f-radius-panel);
  padding: clamp(var(--sikshya-spacing-6), 4vw, var(--sikshya-spacing-8));
  box-shadow: var(--sik-f-shadow-panel);
}

/* Auth forms (login page + checkout embed) */
.sikshya-notice {
  margin: 0 0 var(--sikshya-spacing-5);
  padding: var(--sikshya-spacing-3) var(--sikshya-spacing-4);
  border-radius: var(--sikshya-radius-lg);
  font-size: var(--sikshya-font-size-sm);
  line-height: 1.5;
}

.sikshya-notice--error {
  border: 1px solid rgba(244, 63, 94, 0.35);
  background: rgba(254, 242, 242, 0.95);
  color: #9f1239;
}

.sikshya-notice--success {
  border: 1px solid rgba(34, 197, 94, 0.4);
  background: rgba(240, 253, 244, 0.95);
  color: #166534;
}

.sikshya-auth__messages {
  margin: 0 0 var(--sikshya-spacing-4);
}

.sikshya-auth__messages[hidden] {
  display: none !important;
}

.sikshya-auth__form--busy {
  pointer-events: none;
  opacity: 0.72;
}

.sikshya-auth__form {
  display: flex;
  flex-direction: column;
  gap: var(--sikshya-spacing-5);
}

.sikshya-auth__field {
  display: flex;
  flex-direction: column;
  gap: var(--sikshya-spacing-2);
}

.sikshya-auth__label {
  font-size: var(--sikshya-font-size-sm);
  font-weight: 600;
  color: var(--sik-f-text-heading);
}

.sikshya-auth__control {
  width: 100%;
  min-height: 2.75rem;
  padding: 0 var(--sikshya-spacing-3);
  border: 1px solid var(--sik-f-border);
  border-radius: var(--sikshya-radius-lg);
  background: var(--sik-f-surface);
  color: var(--sik-f-text);
  font-size: var(--sikshya-font-size-sm);
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sikshya-auth__control:focus {
  outline: none;
  border-color: var(--sikshya-primary);
  box-shadow: 0 0 0 1px var(--sikshya-primary-light);
}

.sikshya-auth__row--split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sikshya-spacing-3);
  font-size: var(--sikshya-font-size-sm);
}

.sikshya-auth__remember {
  display: inline-flex;
  align-items: center;
  gap: var(--sikshya-spacing-2);
  cursor: pointer;
  color: var(--sik-f-text-muted);
  user-select: none;
}

.sikshya-auth__remember input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--sikshya-primary);
}

.sikshya-auth__link {
  color: var(--sikshya-primary);
  font-weight: 600;
  text-decoration: none;
}

.sikshya-auth__link:hover,
.sikshya-auth__link:focus-visible {
  text-decoration: underline;
}

.sikshya-auth__actions {
  margin-top: var(--sikshya-spacing-1);
}

.sikshya-auth__submit {
  width: 100%;
  min-height: 2.875rem;
  font-weight: 600;
}

/* Print Styles */
@media print {
  .sikshya-sidebar,
  .sikshya-sort-bar,
  /* pagination styles live in course-listing.css */

  /* course card print styles live in course-listing.css */
} 