/* Tutor LMS forms styled with the theme's design tokens */
.tutor-form-control,
.tutor-form-select,
input.tutor-form-control,
select.tutor-form-select{
	border:1px solid var(--line) !important;
	border-radius:10px !important;
	padding:11px 14px !important;
	font-family:inherit !important;
}
/* Buttons.
   The fill below is deliberately scoped to the *primary* variants only.
   Tutor ships several button styles that share the base .tutor-btn class
   but are meant to be transparent with coloured text — .tutor-btn-outline-*,
   .tutor-btn-ghost, .tutor-btn-secondary. Painting the base class blue
   left those with blue text on a blue background, which is why "Add to
   Cart", "Add to Wishlist" and "Share" looked like empty buttons. Each
   group now gets a background *and* a matching text colour, so no
   variant can end up with the two the same. */
.tutor-btn.tutor-btn-primary,
a.tutor-btn.tutor-btn-primary,
button.tutor-btn.tutor-btn-primary,
.tutor-btn.tutor-btn-md.tutor-btn-primary,
.tutor-enrolled-info-btn .tutor-btn-primary,
#tutor-course-details-add-to-cart .tutor-btn-primary{
	background-color:var(--blue-primary) !important;
	border-color:var(--blue-primary) !important;
	color:#fff !important;
}
.tutor-btn.tutor-btn-primary:hover,
a.tutor-btn.tutor-btn-primary:hover,
button.tutor-btn.tutor-btn-primary:hover{
	background-color:var(--blue-bright) !important;
	border-color:var(--blue-bright) !important;
	color:#fff !important;
}
.tutor-btn.tutor-btn-primary *,
.tutor-btn.tutor-btn-primary .tutor-icon-cart-line,
.tutor-btn.tutor-btn-primary [class^="tutor-icon-"]{color:#fff !important;}

/* Outline / ghost / secondary — transparent fill, readable coloured text.
   These are the variants Tutor uses for Add to Wishlist, Share, and the
   course-sidebar secondary actions. */
.tutor-btn.tutor-btn-outline-primary,
a.tutor-btn.tutor-btn-outline-primary,
button.tutor-btn.tutor-btn-outline-primary{
	background-color:transparent !important;
	border-color:var(--blue-primary) !important;
	color:var(--blue-primary) !important;
}
.tutor-btn.tutor-btn-outline-primary:hover,
a.tutor-btn.tutor-btn-outline-primary:hover,
button.tutor-btn.tutor-btn-outline-primary:hover{
	background-color:var(--blue-primary) !important;
	color:#fff !important;
}
.tutor-btn.tutor-btn-ghost,
.tutor-btn.tutor-btn-secondary,
a.tutor-btn.tutor-btn-ghost,
a.tutor-btn.tutor-btn-secondary,
button.tutor-btn.tutor-btn-ghost,
button.tutor-btn.tutor-btn-secondary{
	background-color:transparent !important;
	border-color:transparent !important;
	color:var(--blue-deep) !important;
}
.tutor-btn.tutor-btn-ghost:hover,
.tutor-btn.tutor-btn-secondary:hover,
a.tutor-btn.tutor-btn-ghost:hover,
button.tutor-btn.tutor-btn-ghost:hover{
	background-color:rgba(22,86,168,.08) !important;
	color:var(--blue-primary) !important;
}

/* Icons inside outline/ghost buttons inherit the button's text colour
   rather than whatever Tutor's own rule set last. Without this the
   wishlist heart and share arrow can stay invisible even once the label
   is readable. */
.tutor-btn.tutor-btn-outline-primary [class^="tutor-icon-"],
.tutor-btn.tutor-btn-ghost [class^="tutor-icon-"],
.tutor-btn.tutor-btn-secondary [class^="tutor-icon-"],
.tutor-btn.tutor-btn-outline-primary span,
.tutor-btn.tutor-btn-ghost span,
.tutor-btn.tutor-btn-secondary span{color:inherit !important;}

/* Radius applies to every variant. */
.tutor-btn,
a.tutor-btn{border-radius:var(--pmp-button-radius,10px) !important;}

/* Wishlist / share icon-only buttons in the course card grid: Tutor gives
   these no variant class at all, so they'd otherwise fall through with no
   colour set and inherit whatever the card sets. */
.tutor-course-wishlist-btn,
.tutor-course-share-btn,
.tutor-btn.tutor-course-wishlist-btn,
.tutor-btn.tutor-course-share-btn{
	background-color:transparent !important;
	color:var(--blue-deep) !important;
	border-color:var(--line) !important;
}

.tutor-dashboard-permalink-nav a,
.tutor-dashboard-menu a{color:var(--blue-deep) !important;}
.tutor-dashboard-permalink-nav .is-active a,
.tutor-dashboard-menu li.active a{color:var(--blue-primary) !important;font-weight:700 !important;}
.tutor-card,
.tutor-form-wrap{
	border-radius:var(--radius,14px) !important;
	border-color:var(--line) !important;
}

/* Login / Registration wrapper (Tutor renders these on regular pages —
   the theme's own page-hero + narrow column keeps them visually
   consistent with every other page). */
.tutor-login-form-wrap,
.tutor-registration-form-wrap{
	max-width:460px;margin:0 auto;background:#fff;border:1px solid var(--line);
	border-radius:var(--radius,14px);padding:32px;box-shadow:var(--shadow);
}
