/*================================================================================
	Item Name: Frest HTML Admin Template
	Version: 1.0
	Author: PIXINVENT
	Author URL: http://www.themeforest.net/user/pixinvent

NOTE:
------
PLACE HERE YOUR OWN SCSS CODES AND IF NEEDED, OVERRIDE THE STYLES FROM THE OTHER STYLESHEETS.
WE WILL RELEASE FUTURE UPDATES SO IN ORDER TO NOT OVERWRITE YOUR STYLES IT'S BETTER LIKE THIS.

================================================================================
	MyWellnessPlace UI Modernization — Stage 1: Global Shell
	Loaded last, after all vendor CSS. Plain declarations win by source order;
	declarations here use !important only where the vendor rule being overridden
	also uses !important (colors.css primary-color rules, mainly).
================================================================================ */

:root {
	--mwp-primary: #2563EB;
	--mwp-primary-hover: #3B82F6;
	--mwp-primary-active: #1D4ED8;
	--mwp-primary-light-bg: #DBEAFE;
	--mwp-navy: #0F172A;
	--mwp-navy-raised: #1E293B;
	--mwp-navy-active: #334155;
	--mwp-light: #F8FAFC;
	--mwp-teal: #00C9A7;
	--mwp-border: #E2E8F0;
	--mwp-text: #1E293B;
	--mwp-text-muted: #64748B;
	--mwp-font: 'Space Grotesk', 'Open Sans', sans-serif;
}

/* ------------------------------------------------------------------------
	Typography
------------------------------------------------------------------------ */
body {
	font-family: var(--mwp-font);
	color: var(--mwp-text);
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: var(--mwp-font) !important;
	font-weight: 600 !important;
	color: var(--mwp-navy);
}

p, .p, label, tr, .label, .tr, a, .a {
	font-family: var(--mwp-font) !important;
}

p, .p {
	line-height: 1.6;
}

/* ------------------------------------------------------------------------
	Colors — full switch from #5A8DEE to #2563EB across every existing
	"primary" usage in colors.css (buttons, badges, alerts, borders,
	checkboxes/radios, switches, progress bars, chips, pagination, dropdowns).
	!important is repeated only where the corresponding colors.css rule has it.
------------------------------------------------------------------------ */
.primary,
.text-primary {
	color: var(--mwp-primary) !important;
}

.text-light-primary {
	color: rgba(37, 99, 235, 0.2) !important;
}

.bg-primary {
	background-color: var(--mwp-primary) !important;
}

.bg-rgba-primary {
	background: rgba(37, 99, 235, 0.2) !important;
}

.bg-rgba-primary.alert,
.bg-rgba-primary.alert.alert-dismissible .close {
	color: var(--mwp-primary);
}

.alert.alert-primary {
	background: var(--mwp-primary) !important;
	color: #fff !important;
	box-shadow: 0 3px 8px 0 rgba(37, 99, 235, 0.4);
	border: none;
}

.border-primary {
	border: 1px solid var(--mwp-primary) !important;
}

.border-primary.alert,
.border-primary.alert.alert-dismissible .close {
	color: var(--mwp-primary);
}

.border-top-primary { border-top: 1px solid var(--mwp-primary); }
.border-bottom-primary { border-bottom: 1px solid var(--mwp-primary); }
.border-left-primary { border-left: 1px solid var(--mwp-primary); }
.border-right-primary { border-right: 1px solid var(--mwp-primary); }

.header-navbar.bg-primary .navbar-nav .nav-item > a i {
	-webkit-text-stroke: 0.2px var(--mwp-primary) !important;
}

.badge.badge-primary {
	background-color: var(--mwp-primary);
}

.badge.badge-light-primary {
	background-color: var(--mwp-primary-light-bg);
	color: var(--mwp-primary) !important;
}

.badge.bg-primary.badge-glow, .badge.border-primary.badge-glow, .badge.badge-primary.badge-glow {
	box-shadow: 0px 0px 10px var(--mwp-primary);
}

.badge-circle-primary {
	background-color: var(--mwp-primary);
}

.badge-circle-light-primary {
	background-color: var(--mwp-primary-light-bg);
	color: var(--mwp-primary);
}

.overlay-primary {
	background: rgba(37, 99, 235, 0.6);
}

/* Buttons */
.btn-primary {
	border-color: var(--mwp-primary-active) !important;
	background-color: var(--mwp-primary) !important;
	color: #fff;
}

.btn-primary:hover, .btn-primary.hover {
	background-color: var(--mwp-primary-hover) !important;
	color: #fff;
}

.btn-primary:hover.glow, .btn-primary.hover.glow {
	box-shadow: 0 4px 12px 0 rgba(37, 99, 235, 0.6) !important;
}

.btn-primary:focus, .btn-primary:active, .btn-primary.active {
	background-color: var(--mwp-primary-active) !important;
	color: #fff !important;
}

.btn-primary.glow {
	box-shadow: 0 2px 4px 0 rgba(37, 99, 235, 0.5) !important;
}

.btn-light-primary {
	background-color: var(--mwp-primary-light-bg);
	color: var(--mwp-primary) !important;
}

.btn-light-primary:hover, .btn-light-primary.hover {
	background-color: var(--mwp-primary-hover) !important;
	color: #fff !important;
}

.btn-light-primary:active, .btn-light-primary.active {
	background-color: var(--mwp-primary-active) !important;
	color: #fff !important;
}

.btn-outline-primary {
	border: 1px solid var(--mwp-primary);
	background-color: transparent;
	color: var(--mwp-primary) !important;
}

.btn-outline-primary:hover, .btn-outline-primary.hover {
	background-color: var(--mwp-primary-hover) !important;
	color: #fff !important;
}

.btn-outline-primary:active, .btn-outline-primary.active {
	background-color: var(--mwp-primary-active) !important;
	color: #fff !important;
}

.btn-primary ~ .dropdown-menu .dropdown-item.active, .btn-outline-primary ~ .dropdown-menu .dropdown-item.active {
	background-color: var(--mwp-primary);
	color: #fff;
}

.dropdown.dropdown-icon-wrapper .btn-primary ~ .dropdown-menu .dropdown-item:hover i, .dropdown.dropdown-icon-wrapper .btn-outline-primary ~ .dropdown-menu .dropdown-item:hover i,
.dropup.dropdown-icon-wrapper .btn-primary ~ .dropdown-menu .dropdown-item:hover i,
.dropup.dropdown-icon-wrapper .btn-outline-primary ~ .dropdown-menu .dropdown-item:hover i,
.dropright.dropdown-icon-wrapper .btn-primary ~ .dropdown-menu .dropdown-item:hover i,
.dropright.dropdown-icon-wrapper .btn-outline-primary ~ .dropdown-menu .dropdown-item:hover i,
.dropleft.dropdown-icon-wrapper .btn-primary ~ .dropdown-menu .dropdown-item:hover i,
.dropleft.dropdown-icon-wrapper .btn-outline-primary ~ .dropdown-menu .dropdown-item:hover i {
	color: var(--mwp-primary);
}

.bullet.bullet-primary {
	background-color: var(--mwp-primary);
}

.pagination-primary .page-item.active .page-link, .pagination-primary .page-item.active .page-link:hover {
	background: var(--mwp-primary) !important;
	color: #fff;
}

.pagination-primary .page-item .page-link:hover {
	background-color: var(--mwp-primary-light-bg) !important;
}

.pagination-primary .page-item.previous .page-link, .pagination-primary .page-item.next .page-link {
	color: var(--mwp-primary);
}

.pagination-primary .page-item.previous .page-link:hover, .pagination-primary .page-item.next .page-link:hover {
	background: var(--mwp-primary);
}

.progress-bar-primary .progress-bar {
	background-color: var(--mwp-primary);
	box-shadow: 0 2px 6px 0 rgba(37, 99, 235, 0.6);
}

.chip-primary {
	background-color: var(--mwp-primary) !important;
}

.divider.divider-primary .divider-text:before, .divider.divider-primary .divider-text:after {
	border-color: var(--mwp-primary) !important;
}

.widget-timeline li.timeline-items.timeline-icon-primary:before {
	background: var(--mwp-primary) !important;
}

input[type="checkbox"].bg-primary + .custom-control-label:before, input[type="radio"].bg-primary + .custom-control-label:before {
	background-color: var(--mwp-primary) !important;
	border-color: var(--mwp-primary-active) !important;
}

.checkbox.checkbox-primary input:checked ~ label::before, .checkbox.radio-primary input:checked ~ label::before, .radio.checkbox-primary input:checked ~ label::before, .radio.radio-primary input:checked ~ label::before {
	background-color: var(--mwp-primary);
	border-color: var(--mwp-primary);
}

.checkbox.checkbox-primary.checkbox-glow input:checked ~ label::before, .checkbox.checkbox-primary.radio-glow input:checked ~ label::before, .checkbox.radio-primary.checkbox-glow input:checked ~ label::before, .checkbox.radio-primary.radio-glow input:checked ~ label::before, .radio.checkbox-primary.checkbox-glow input:checked ~ label::before, .radio.checkbox-primary.radio-glow input:checked ~ label::before, .radio.radio-primary.checkbox-glow input:checked ~ label::before, .radio.radio-primary.radio-glow input:checked ~ label::before {
	box-shadow: 0 0 6px 0 rgba(37, 99, 235, 0.7);
}

.custom-switch-primary .custom-control-input:checked ~ .custom-control-label::before {
	background-color: var(--mwp-primary) !important;
	color: #fff;
	transition: all .2s ease-out;
}

.custom-switch-primary.custom-switch-glow .custom-control-input:not(:disabled):checked ~ .custom-control-label::before {
	box-shadow: 0 0 8px 0 rgba(37, 99, 235, 0.8) !important;
}

.input-group.touchspin-glow .bootstrap-touchspin-down.btn-primary, .input-group.touchspin-glow .bootstrap-touchspin-up.btn-primary {
	box-shadow: 0 0 8px 0 rgba(37, 99, 235, 0.8);
}

.kanban-container .kanban-board .kanban-item[data-border=primary]:before {
	background-color: var(--mwp-primary);
}

.edit-kanban-item select option.bg-color_name {
	background-color: var(--mwp-primary);
}

select.select-light-primary ~ .select2-container .select2-selection--multiple .select2-selection__rendered .select2-selection__choice, select.select-light-primary ~ .select2-container .select2-selection--multiple .select2-selection__rendered .select2-selection__choice__remove {
	background-color: var(--mwp-primary-light-bg) !important;
	color: var(--mwp-primary) !important;
}

/* btn_effect hover-fill animation (index.php, forgot_password.php, add_parastatiko.php,
   add_customer.php, edit_customer_draft.php, edit_customer.php, sms.php) — restyled
   onto the new primary blue, kept functional. */
.btn_primary::before {
	background: var(--mwp-primary) !important;
}

/* ------------------------------------------------------------------------
	Top navbar — light/white
------------------------------------------------------------------------ */
.header-navbar.fixed-top {
	background-color: var(--mwp-light) !important;
	border-bottom: 1px solid var(--mwp-border);
	box-shadow: none;
}

.header-navbar .navbar-nav .nav-item > a.nav-link,
.header-navbar .navbar-nav .nav-item > a.nav-link i {
	color: var(--mwp-text-muted);
}

.header-navbar .navbar-nav .nav-item > a.nav-link:hover,
.header-navbar .navbar-nav .nav-item > a.nav-link:hover i {
	color: var(--mwp-primary);
}

/* ------------------------------------------------------------------------
	Sidebar — Navy skin (semi-dark-layout overrides)
------------------------------------------------------------------------ */
body.semi-dark-layout .main-menu {
	background-color: var(--mwp-navy) !important;
}

body.semi-dark-layout .main-menu .shadow-bottom {
	background: linear-gradient(180deg, #0F172Af0 44%, #0F172Abf 73%, #2c303c00);
}

body.semi-dark-layout .main-menu-content .navigation-main .nav-item i {
	color: #94A3B8;
}

body.semi-dark-layout .main-menu-content .navigation-main .nav-item a:after {
	color: #94A3B8;
}

body.semi-dark-layout .main-menu-content .navigation-main .nav-item .menu-content .active .menu-item {
	color: var(--mwp-primary-hover) !important;
}

body.semi-dark-layout .main-menu-content .navigation-main .active .menu-title,
body.semi-dark-layout .main-menu-content .navigation-main .active i {
	color: var(--mwp-primary-hover);
}

body.semi-dark-layout .main-menu-content .navigation-main .sidebar-group-active {
	background: var(--mwp-navy-raised) !important;
}

body.semi-dark-layout .main-menu-content .navigation-main .sidebar-group-active .menu-content .active {
	background-color: var(--mwp-navy-active);
}

/* Pre-existing layout bug: the taller (50px) rebrand logo made the toggle
   icon's flex-row taller than the fixed-height .navbar-header, so it
   overflowed into .main-menu-content and visually collided with the first
   nav item ("Version: ..."). Decoupling the toggle from the flex flow keeps
   it pinned inside the header regardless of logo height. */
.main-menu .navbar-header .nav-toggle {
	position: absolute;
	top: 0.9rem;
	right: 1.45rem;
	margin: 0;
}

/* ------------------------------------------------------------------------
	Cards
------------------------------------------------------------------------ */
.card {
	border: none;
	border-radius: 0.75rem;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.06);
}

.card .card-header {
	border-bottom: none;
	padding: 1.25rem 1.5rem 0.5rem;
}

.card .card-header .card-title {
	font-weight: 600;
	color: var(--mwp-navy);
}

.card .card-content .card-body {
	padding: 0.75rem 1.5rem 1.5rem;
}

/* ------------------------------------------------------------------------
	Tables
------------------------------------------------------------------------ */
th, tfoot {
	background-color: var(--mwp-navy) !important;
	color: #fff !important;
	font-weight: 600;
}

.table-responsive table.table thead th {
	border-top: none;
	border-bottom: none;
}

.table-responsive table.table tbody tr:hover {
	background-color: var(--mwp-primary-light-bg);
}

/* ------------------------------------------------------------------------
	Form controls
------------------------------------------------------------------------ */
.form-control:focus {
	border-color: var(--mwp-primary) !important;
	box-shadow: 0 0 0 0.1rem rgba(37, 99, 235, 0.25) !important;
}

.form-label-group {
	border-radius: 0.5rem;
}

/* ------------------------------------------------------------------------
	Modals
------------------------------------------------------------------------ */
.modal .modal-header.bg-primary {
	background-color: var(--mwp-primary) !important;
}

.modal .modal-header.bg-primary .close {
	color: #fff;
	opacity: 0.8;
	text-shadow: none;
}

.modal .modal-content {
	border: none;
	border-radius: 0.75rem;
}

/* ------------------------------------------------------------------------
	Spacing
------------------------------------------------------------------------ */
.content-body {
	padding-top: 0.5rem;
}

.btn {
	border-radius: 0.5rem;
}

/* ==========================================================================
	Stage 1 completion — bootstrap.css raw #5A8DEE not covered by colors.css
========================================================================== */
a {
	color: var(--mwp-primary);
}

.dropdown-item.active, .dropdown-item:active {
	background-color: var(--mwp-primary);
}

.custom-control-input:checked ~ .custom-control-label::before {
	border-color: var(--mwp-primary);
	background-color: var(--mwp-primary);
}

.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
	border-color: var(--mwp-primary);
}

.custom-file-input:focus ~ .custom-file-label {
	border-color: var(--mwp-primary);
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
	background-color: var(--mwp-primary);
}

.list-group-item.active {
	background-color: var(--mwp-primary);
	border-color: var(--mwp-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.btn-outline-primary:not(:disabled):not(.disabled).active {
	border-color: var(--mwp-primary-active);
}

/* ==========================================================================
	Stage 2 — Ημερολόγιο (calendar.php)
========================================================================== */

/* Category lobby grid icon (inline color removed from calendar.php:171).
   Stage 3: turned into a rounded-square icon-badge, matching the marketing
   site's device — same token values as the Dashboard tiles below. */
#category-lobby .card-body i.bx-book-open,
#dashboard-kpis .card-body i.bx-book-open {
	display: inline-flex;
	width: 48px;
	height: 48px;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: rgba(37, 99, 235, .1);
	color: var(--mwp-primary);
	font-size: 1.5rem;
	margin-bottom: .75rem;
}

/* FullCalendar v3.9.0 chrome — toolbar */
.fc-toolbar h2 {
	font-family: var(--mwp-font);
	color: var(--mwp-navy);
	font-weight: 700;
}

.fc-toolbar .fc-button {
	background-image: none;
	background-color: #fff;
	border: 1px solid var(--mwp-border);
	color: var(--mwp-text);
	text-shadow: none;
	box-shadow: none;
	border-radius: 0.5rem;
}

.fc-toolbar .fc-state-hover {
	background-color: var(--mwp-primary-light-bg);
	color: var(--mwp-primary);
}

.fc-toolbar .fc-state-active,
.fc-toolbar .fc-state-down {
	background-color: var(--mwp-primary) !important;
	border-color: var(--mwp-primary) !important;
	color: #fff !important;
	box-shadow: none;
}

.fc-toolbar .fc-state-disabled {
	opacity: 0.5;
}

.fc-toolbar .fc-button-group > * {
	border-radius: 0.5rem;
	margin-left: -1px;
}

/* FullCalendar chrome — grid borders / today highlight */
.fc-unthemed td, .fc-unthemed th, .fc-unthemed .fc-row, .fc-unthemed .fc-content,
.fc-unthemed .fc-divider, .fc-unthemed tbody, .fc-unthemed thead {
	border-color: var(--mwp-border);
}

.fc-unthemed td.fc-today {
	background: var(--mwp-primary-light-bg);
}

/* Default event fallback (no per-event DB color); the duplicate legacy
   #0065A6 rule in calendar.php's inline <style> block was removed so this
   is the single source of truth. Per-event DB colors still render inline
   and are unaffected by this rule. */
#calendar a.fc-event {
	background-color: var(--mwp-primary);
	border-color: var(--mwp-primary);
	color: #fff;
	border-radius: 0.375rem;
}

.fc-event, .fc-event-dot {
	background-color: var(--mwp-primary);
}

.fc-event {
	border: none;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
	font-weight: 500;
}

.fc-nonbusiness {
	background: var(--mwp-light);
}

.fc-now-indicator-line, .fc-now-indicator-arrow {
	border-color: var(--mwp-teal);
}

/* FullCalendar chrome — list view */
.fc-list-view {
	border-color: var(--mwp-border);
	border-radius: 0.5rem;
	overflow: hidden;
}

.fc-list-heading td {
	background: var(--mwp-light);
	font-family: var(--mwp-font);
}

.fc-list-heading-main, .fc-list-heading-alt {
	color: var(--mwp-navy);
	font-weight: 700;
}

.fc-list-item:hover td {
	background-color: var(--mwp-primary-light-bg) !important;
}

.fc-list-item-marker .fc-event-dot {
	background-color: var(--mwp-primary);
}

/* Select2 — align with the restyled .form-control */
.select2-container .select2-selection--single,
.select2-container .select2-selection--multiple {
	border: 1px solid var(--mwp-border);
	border-radius: 0.5rem;
	min-height: calc(1.5em + 0.75rem + 2px);
}

.select2-container .select2-selection--single .select2-selection__rendered {
	line-height: calc(1.5em + 0.75rem);
	color: var(--mwp-text);
}

.select2-container .select2-selection--single .select2-selection__arrow {
	height: calc(1.5em + 0.75rem + 2px);
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple {
	border-color: var(--mwp-primary);
	box-shadow: 0 0 0 0.1rem rgba(37, 99, 235, 0.25);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
	background-color: var(--mwp-primary-light-bg);
	border: 1px solid var(--mwp-primary);
	color: var(--mwp-primary);
	border-radius: 0.375rem;
}

.select2-dropdown {
	border-color: var(--mwp-border);
	border-radius: 0.5rem;
	overflow: hidden;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
	background-color: var(--mwp-primary);
	color: #fff;
}

.select2-search--dropdown .select2-search__field:focus {
	border-color: var(--mwp-primary);
	outline: none;
}

/* ModalEdit Αργία/Διαγραφή toggle — semantic colors kept, shape modernized */
.label-on, .label-off,
.label-on-accept, .label-off-accept,
.label-on-decline, .label-off-decline {
	border-radius: 0.5rem;
	padding: 0.5rem 1rem;
	font-weight: 500;
	font-family: var(--mwp-font);
	cursor: pointer;
	transition: background-color 0.15s, border-color 0.15s;
}

/* ==========================================================================
	Stage 2 — Πελάτες (Members: customers.php, active/expired_members.php,
	includes/view_all_customers.php, includes/add_customer.php,
	includes/edit_customer.php)
========================================================================== */

/* edit_customer.php — 4-tab account/contact/QR/profile-image header.
   .nav-tabs is used exactly once in the app (this file), so no scoping
   wrapper is needed. Never write a bare .nav-link rule — the top navbar
   and sidebar both use that class too. */
.nav-tabs {
	border-bottom: 1px solid var(--mwp-border);
}

.nav-tabs .nav-link {
	font-family: var(--mwp-font);
	font-weight: 500;
	color: var(--mwp-text-muted);
	background: transparent;
	border: none;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	padding: 0.75rem 1.25rem;
}

.nav-tabs .nav-link:hover {
	color: var(--mwp-primary);
	border-bottom-color: var(--mwp-primary-light-bg);
}

.nav-tabs .nav-link.active {
	color: var(--mwp-primary);
	font-weight: 600;
	background: transparent;
	border-color: transparent;
	border-bottom-color: var(--mwp-primary);
}

/* edit_customer.php — the 9 accordion section headers + their matching edit
   modals. ID-scoped on purpose: the btn-danger, bg-success, btn-warning,
   bg-secondary, btn-info etc. classes are NOT touched at class level. Doing
   so would repaint the real delete-confirmation modal (includes/delete_modal.php,
   used app-wide) and other genuinely semantic buttons/modals on this same
   page (change-password modal, header action row). !important matches the
   vendor btn- and bg- rules being overridden, which also use !important. */
#headingCollapseSxolia, #edit_sxolio_pelati_modal .modal-header,
#myModalcomments .modal-header {
	background-color: var(--mwp-navy-active) !important;
	border-color: var(--mwp-navy-active) !important;
	color: #fff;
}

#headingCollapseProponiseis, #edit_proponisi_pelati_modal .modal-header,
#headingCollapseCredits, #edit_credit_pelati_modal .modal-header {
	background-color: var(--mwp-navy-raised) !important;
	border-color: var(--mwp-navy-raised) !important;
	color: #fff;
}

#headingCollapseRantevou, #edit_rantevou_politi_modal .modal-header {
	background-color: var(--mwp-primary-hover) !important;
	border-color: var(--mwp-primary-hover) !important;
	color: #fff;
}

#headingCollapseDiploma, #edit_diploma_pelati_modal .modal-header {
	background-color: var(--mwp-teal) !important;
	border-color: var(--mwp-teal) !important;
	color: var(--mwp-navy) !important;
}

#headingCollapseKratisiPaketon, #edit_kratisi_personal_pelati_modal .modal-header {
	background-color: var(--mwp-primary-active) !important;
	border-color: var(--mwp-primary-active) !important;
	color: #fff;
}

#headingCollapseBookings {
	background-color: var(--mwp-navy) !important;
	border-color: var(--mwp-navy) !important;
	color: #fff;
}

/* First generic .dropdown-menu coverage (row-action menus, e.g. sindromes_pelati.php) */
.dropdown-menu {
	border-color: var(--mwp-border);
	border-radius: 0.5rem;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
	background-color: var(--mwp-primary-light-bg);
	color: var(--mwp-primary);
}

/* DataTables' own Bootstrap4 pagination (pelates_list in view_all_customers.php)
   — separate from the Frest .pagination-primary wrapper Stage 1 already covers. */
.dataTables_wrapper .dataTables_paginate .page-item.active .page-link {
	background-color: var(--mwp-primary);
	border-color: var(--mwp-primary);
	color: #fff;
}

.dataTables_wrapper .dataTables_paginate .page-link:hover {
	background-color: var(--mwp-primary-light-bg);
	color: var(--mwp-primary);
}

/* ==========================================================================
	Stage 2 — Check-in (scanqr.php, check_qr.php)
	Some heading tags inside the success/failure result cards rely on
	inheriting white text from their .btn-success/.btn-danger ancestor
	instead of an inline style (unlike their sibling headings on the same
	card, which do have one). Stage 1's h1-h6 rule matches them directly
	and wins over the inherited color, so it needs an explicit override here.
========================================================================== */
.btn-success h2, .btn-success h3,
.btn-danger h2, .btn-danger h3 {
	color: #fff;
}

/* ==========================================================================
	Stage 2 — Παράμετροι (Settings: settings.php, katigories_simvanton.php,
	add_lesson.php, select_eidos_mathimatos_id.php, edit_stoixeia_etaireias.php)
========================================================================== */

/* Native color-picker inputs (favcolor_ fields, simvan_color, lesson color) — 8
   occurrences across 5 files, unstyled (square browser default) until now. */
input[type="color"] {
	border: 1px solid var(--mwp-border);
	border-radius: 0.5rem;
	padding: 0.25rem;
	height: calc(1.5em + 0.75rem + 2px);
	width: 4rem;
	cursor: pointer;
}

/* add_lesson.php / select_eidos_mathimatos_id.php divider ornament — inline
   style="background-color: #2c6de9" (old off-brand blue). Attribute selector
   reaches it without any HTML edit. */
div.divider[style*="2c6de9"] {
	background-color: var(--mwp-primary) !important;
}

/* ==========================================================================
	Stage 2 — Newsletter (add_news_letter.php preview wrapper)
	Neutral chrome colors, not off-brand, aligned to the shared tokens for
	consistency with the rest of the shell.
========================================================================== */
#preview_newsletter_frame_wrapper {
	background-color: var(--mwp-light);
}

#preview_newsletter_frame {
	border-color: var(--mwp-border);
}

/* ==========================================================================
	Stage 3 — Dashboard (dashboard.php)
	Icon-badge recipe shares the same token values as #category-lobby's icon
	badge (rgba(37,99,235,.1) bg / 48px / 10px radius) but is scoped
	separately — new markup, separate page.
========================================================================== */
#dashboard-kpis .dashboard-tile {
	color: inherit;
	cursor: pointer;
	transition: transform .15s, box-shadow .15s;
}

#dashboard-kpis .dashboard-tile:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, .15);
}

#dashboard-kpis .dashboard-tile .card-body i.bx {
	display: inline-flex;
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: rgba(37, 99, 235, .1);
	color: var(--mwp-primary);
	font-size: 1.5rem;
	margin-right: 1rem;
}

#dashboard-kpis .dashboard-tile-text {
	display: flex;
	flex-direction: column;
}

#dashboard-kpis .dashboard-tile-number {
	font-family: var(--mwp-font);
	font-weight: 700;
	font-size: 1.75rem;
	line-height: 1.2;
	color: var(--mwp-navy);
}

#dashboard-kpis .dashboard-tile-label {
	font-size: .875rem;
	color: var(--mwp-text-muted);
}

/* ==========================================================================
	Stage 3 — Gradient page titles (h1.page-header, ~34 files, unstyled before)
	Not loaded on the customer-facing portal (pelatis_menu.php doesn't include
	this stylesheet), so this only ever affects the admin panel.
========================================================================== */
h1.page-header {
	display: inline-block;
	background: linear-gradient(90deg, var(--mwp-primary), var(--mwp-teal));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: var(--mwp-primary);
}
