/* Change these tokens to adapt Tutor without editing its templates or plugin files.
 * Blocksy's existing accent and surface colours are used where available.
 */
:root {
    --ek-tutor-accent: var(--theme-palette-color-9, #f5a623);
    --ek-tutor-surface: var(--theme-palette-color-8, #fff);
    --ek-tutor-accent-soft: rgba(245, 166, 35, .08);
    --ek-tutor-border: rgba(13, 45, 68, .08);
    --ek-tutor-card-shadow: 0 3px 18px rgba(13, 45, 68, .06);
    --ek-tutor-hover-shadow: 0 12px 28px rgba(13, 45, 68, .12);
    --ek-tutor-sidebar-shadow: 0 2px 10px rgba(13, 45, 68, .06);
    --ek-tutor-radius: 8px;

    --tutor-color-warning: var(--ek-tutor-accent);
    --tutor-brand-100: var(--ek-tutor-brand-100, #f2f4f6);
    --tutor-brand-200: var(--ek-tutor-brand-200, #e5e9ec);
    --tutor-brand-300: var(--ek-tutor-brand-300, #cbd3d9);
    --tutor-brand-400: var(--ek-tutor-brand-400, #9aabb6);
    --tutor-brand-450: var(--ek-tutor-brand-450, #8298a5);
    --tutor-brand-500: var(--ek-tutor-brand-500, #5d7889);
}

.tutor-course-card {
    transition: transform .2s ease, box-shadow .2s ease;
}
.tutor-course-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ek-tutor-hover-shadow);
}
.tutor-icon-star-bold,
.tutor-icon-star-half-bold,
.tutor-icon-star-line,
.tutor-icon-bookmark-bold,
.tutor-course-bookmark a:hover i {
    color: var(--ek-tutor-accent);
}
.tutor-card {
    box-shadow: var(--ek-tutor-card-shadow);
}
.tutor-accordion-item-header.is-active {
    border-left: 3px solid var(--ek-tutor-accent);
}
.tutor-dashboard-sidebar-nav a.active {
    border-left: 3px solid var(--ek-tutor-accent);
    background-color: var(--ek-tutor-accent-soft);
}
.tutor-dashboard-sidebar .tutor-dashboard-sidebar-nav ul li a.active {
    padding-left: 21px;
}
.tutor-nav-item.active,
.tutor-nav .tutor-nav-item.active {
    box-shadow: inset 0 -2px 0 var(--ek-tutor-accent);
}
.tutor-stat-card-star-line .tutor-stat-card-icon,
.tutor-stat-card-star-fill .tutor-stat-card-icon,
.tutor-stat-card-reviews .tutor-stat-card-icon,
.tutor-stat-card-star-line .tutor-stat-card-value,
.tutor-stat-card-star-fill .tutor-stat-card-value,
.tutor-stat-card-reviews .tutor-stat-card-value {
    color: var(--ek-tutor-accent);
}
.tutor-dashboard-sidebar-nav-account {
    border-top: 1px solid var(--ek-tutor-border);
    margin-top: 8px;
    padding-top: 8px;
}
.tutor-dashboard-sidebar-switch-view {
    padding: 12px 24px 4px;
}
/* Do not change position/min-height here: Tutor controls sticky behaviour. */
.tutor-dashboard-sidebar {
    background-color: var(--ek-tutor-surface);
    box-shadow: var(--ek-tutor-sidebar-shadow);
    border-radius: var(--ek-tutor-radius);
    box-sizing: border-box;
}
@media (prefers-reduced-motion: reduce) {
    .tutor-course-card { transition: none; }
    .tutor-course-card:hover { transform: none; }
}
