/* ============================================================
   TUTOR LMS — bendras pagrindo sluoksnis (Nekenčiu marketingo)
   Kraunamas tik Tutor puslapiuose (žr. functions.php).
   Spalvos: #4055A4 antraštės / #726AAF tekstas / #9691C6 antrinis
            #EDECF0 fonai-borderiai / #F06365 CTA / #F8A8A8 aktyvu
            #E16D68 hover
   ============================================================ */

/* ============================================================
   1. MYGTUKAI — Tutor CSS kraunasi po temos, todėl !important
   ============================================================ */
.tutor-frontend .tutor-btn {
	font-family: "Oswald", sans-serif !important;
	border-radius: 15px !important;
	letter-spacing: 0.4px;
	box-shadow: none !important;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

/* Primary — CTA */
.tutor-frontend .tutor-btn-primary {
	background-color: #F06365 !important;
	border-color: #F06365 !important;
	color: #EDECF0 !important;
}
.tutor-frontend .tutor-btn-primary:hover,
.tutor-frontend .tutor-btn-primary:focus,
.tutor-frontend .tutor-btn-primary:active {
	background-color: #E16D68 !important;
	border-color: #E16D68 !important;
	color: #EDECF0 !important;
}

/* Secondary */
.tutor-frontend .tutor-btn-secondary {
	background-color: #EDECF0 !important;
	border-color: #EDECF0 !important;
	color: #4055A4 !important;
}
.tutor-frontend .tutor-btn-secondary:hover,
.tutor-frontend .tutor-btn-secondary:focus {
	background-color: #F8A8A8 !important;
	border-color: #F8A8A8 !important;
	color: #4055A4 !important;
}

/* Ghost */
.tutor-frontend .tutor-btn-ghost {
	background-color: transparent !important;
	border-color: transparent !important;
	color: #726AAF !important;
}
.tutor-frontend .tutor-btn-ghost:hover,
.tutor-frontend .tutor-btn-ghost:focus {
	background-color: #EDECF0 !important;
	color: #4055A4 !important;
}

/* Outline */
.tutor-frontend .tutor-btn-outline,
.tutor-frontend .tutor-btn-outline-primary {
	background-color: transparent !important;
	border-color: #F06365 !important;
	color: #F06365 !important;
}
.tutor-frontend .tutor-btn-outline:hover,
.tutor-frontend .tutor-btn-outline:focus,
.tutor-frontend .tutor-btn-outline-primary:hover,
.tutor-frontend .tutor-btn-outline-primary:focus {
	background-color: #F06365 !important;
	border-color: #F06365 !important;
	color: #EDECF0 !important;
}

/* Link */
.tutor-frontend .tutor-btn-link,
.tutor-frontend .tutor-btn-link-gray {
	background-color: transparent !important;
	border-color: transparent !important;
	color: #F06365 !important;
	text-decoration: underline;
	text-underline-offset: 4px;
}
.tutor-frontend .tutor-btn-link:hover,
.tutor-frontend .tutor-btn-link-gray:hover {
	color: #E16D68 !important;
}

/* Mokymosi srities „Pažymėti baigta" — naudoja tą pačią primary logiką */
.tutor-frontend .tutor-mark-as-complete-button {
	font-family: "Oswald", sans-serif !important;
	background-color: #F06365 !important;
	border-color: #F06365 !important;
	color: #EDECF0 !important;
	border-radius: 15px !important;
}
.tutor-frontend .tutor-mark-as-complete-button:hover,
.tutor-frontend .tutor-mark-as-complete-button:focus {
	background-color: #E16D68 !important;
	border-color: #E16D68 !important;
}

/* ============================================================
   2. PROGRESO JUOSTOS
   ============================================================ */
.tutor-frontend .tutor-progress-bar {
	background-color: #EDECF0 !important;
	border-radius: 999px;
	overflow: hidden;
}
.tutor-frontend .tutor-progress-bar-fill,
.tutor-frontend .tutor-progress-value {
	background-color: #F06365;
	border-radius: 999px;
}
.tutor-frontend span.tutor-progress-value {
	background: none;
	color: #726AAF;
}
/* PASTABA: aukščiau esanti span.tutor-progress-value taisyklė buvo
   parašyta pamokos šoninio meniu procentų ETIKETEI (tekstas, ne
   juosta), bet ta pati klasė Tutor'e naudojama IR kurso puslapio
   progreso JUOSTOS užpildui (templates/course/status.php), kuris TAIP
   PAT yra <span>. Dėl didesnio specifiškumo (elementas + 2 klasės)
   ta bendra taisyklė nugalėdavo užpildo spalvą, todėl kurso puslapyje
   juosta likdavo Tutor numatyta tamsiai violetinė vietoj koralinės.
   Grąžinam užpildą, kai span yra PAČIOJE juostoje (.tutor-progress-bar
   viduje) — didesnis specifiškumas nei bendrai span taisyklei. */
.tutor-frontend .tutor-progress-bar span.tutor-progress-value {
	background-color: #F06365;
	color: transparent;
}

/* ============================================================
   3. FORMŲ ELEMENTAI
   ============================================================ */
.tutor-frontend .tutor-form-control,
.tutor-frontend .tutor-form-select {
	border-color: #EDECF0;
	border-radius: 15px;
	color: #726AAF;
	background-color: #fff;
}
.tutor-frontend .tutor-form-control::placeholder {
	color: #9691C6;
}
.tutor-frontend .tutor-form-control:focus,
.tutor-frontend .tutor-form-select:focus {
	border-color: #726AAF;
	box-shadow: none;
	outline: none;
}

/* ============================================================
   4. KORTELĖS
   ============================================================ */
.tutor-frontend .tutor-card {
	background-color: #fff;
	border: 1px solid #EDECF0;
	border-radius: 15px;
	box-shadow: 0 4px 16px rgba(64, 85, 164, 0.06);
}

/* ============================================================
   5. ANTRAŠTĖS
   ============================================================ */
.tutor-frontend h1,
.tutor-frontend h2,
.tutor-frontend h3,
.tutor-frontend h4,
.tutor-frontend h5,
.tutor-frontend h6 {
	font-family: "Oswald", sans-serif;
	color: #4055A4;
}
.tutor-frontend .tutor-course-details-title,
.tutor-frontend .tutor-learning-header-title,
.tutor-frontend .tutor-stat-card-title,
.tutor-frontend .tutor-progress-card-title,
.tutor-frontend .tutor-accordion-item-header {
	font-family: "Oswald", sans-serif;
	color: #4055A4;
}

/* ============================================================
   6. TUTOR MĖLYNOS / ŽALIOS NEUTRALIZAVIMAS
   ============================================================ */
.tutor-frontend .tutor-color-primary,
.tutor-frontend [class*='tutor-text-brand'] {
	color: #4055A4 !important;
}
.tutor-frontend .tutor-bg-primary,
.tutor-frontend [class*='tutor-bg-brand'] {
	background-color: #F06365 !important;
}
.tutor-frontend .tutor-color-success {
	color: #F8A8A8 !important;
}
.tutor-frontend .tutor-icon-brand {
	color: #F06365 !important;
}

/* Baigtos pamokos varnelė — inline SVG su hardcoded žalia.
   Prezentaciniai atributai silpnesni už CSS, tad BE !important. */
.tutor-frontend svg circle[fill='#0BB01B'] {
	fill: #F8A8A8;
}
.tutor-frontend svg path[stroke='#007E0C'] {
	stroke: #F06365;
}

/* ============================================================
   KURSO PUSLAPIO ĮSIGYTA DĖŽUTĖ (tutor-lms-elementor-addons,
   templates/course/enrollment.php) — data linkusi persikelti į kitą
   eilutę ir centruotis, kai likusi eilutės dalis kairiniuota.
   ============================================================ */
.tutor-frontend .etlms-course-enroll-info-wrapper {
	align-items: flex-start !important;
	text-align: left;
	flex-wrap: wrap;
	gap: 4px;
}
.tutor-frontend .etlms-course-enroll-info-wrapper .tutor-enrolled-info-text,
.tutor-frontend .etlms-course-enroll-info-wrapper .tutor-enrolled-info-date {
	text-align: left;
}

/* ============================================================
   UŽRAŠO REDAGAVIMO "IŠSAUGOTI" MYGTUKAS (.tutor-btn-primary-soft)
   Baltas tekstas ant šviesaus fono — beveik nematomas. Rodomas ir
   /dashboard/notes, ir pamokos Notes tab'e prie video, tad čia (bendras
   sluoksnis), ne tutor-dashboard.css/tutor-learning.css atskirai.
   .tutor-btn-ghost (Atšaukti) jau tinkamas — neliečiam.
   ============================================================ */
.tutor-frontend .tutor-btn-primary-soft {
	background: #F06365 !important;
	color: #fff !important;
	border-color: #F06365 !important;
}
.tutor-frontend .tutor-btn-primary-soft:hover {
	background: #E16D68 !important;
	border-color: #E16D68 !important;
	color: #fff !important;
}
