/* Shared logo colors. Page layouts and semantic learning/validation states stay local. */
body.perlingo-refined {
    --perlingo-blue: #185D7E;
    --perlingo-light-blue: #8EBBD1;
    --perlingo-ink: #1B252F;
    --perlingo-text: #1B252F;
    --perlingo-tint: #F2F7FA;
    --perlingo-surface: #FFFFFF;
    --perlingo-hover: #124761;
    --pl-color-primary: #185D7E;
    --pl-color-text: #1B252F;
    --pl-color-panel-header-bg: #F2F7FA;
    --pl-color-secondary-bg: #F2F7FA;
    --pl-color-secondary-hover-bg: #8EBBD1;
    --pl-color-secondary-border: #CBDDE6;
    --pl-color-secondary-hover-border: #185D7E;
    --tutor-color-primary: #185D7E;
    --tutor-color-primary-rgb: 24, 93, 126;
    --tutor-color-primary-hover: #124761;
    background-color: #FFFFFF;
    color: #1B252F;
}
/* Same filled action buttons as the approved homepage, including Elementor forms. */
body.perlingo-refined:not(.page-id-6781) .elementor[data-elementor-type] .elementor-element :is(.elementor-button,.elementor-cta__button) {
    color: #FFFFFF !important;
    background-color: #185D7E !important;
    border-color: #185D7E !important;
    fill: #FFFFFF !important;
}
body.perlingo-refined:not(.page-id-6781) .elementor[data-elementor-type] .elementor-element :is(.elementor-button,.elementor-cta__button):hover {
    color: #FFFFFF !important;
    background-color: #124761 !important;
    border-color: #124761 !important;
}
body.perlingo-refined :is(.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.wc-block-components-button,.edd-submit.button,.rcp-button,#rcp_submit,.tutor-btn-primary,.wp-block-button__link):hover {
    color: #FFFFFF !important;
    background-color: #124761 !important;
    border-color: #124761 !important;
}
body.perlingo-refined :is(.elementor-button,.elementor-cta__button,.woocommerce .button,.wc-block-components-button,.rcp-button,#rcp_submit,.tutor-btn,.wp-block-button__link,.pk-button):focus-visible {
    outline: 3px solid #185D7E;
    outline-offset: 4px;
}
body.perlingo-refined :is(.elementor-field-textual,.woocommerce input.input-text,.woocommerce select,.rcp_form input,.tutor-form-control):focus {
    border-color: #185D7E;
    outline-color: #185D7E;
}
body.perlingo-refined :is(.tutor-course-details-title,.tutor-course-name,.tutor-dashboard-title,.tutor-form-label) {
    color: #185D7E;
}
body.perlingo-refined .elementor-widget-login :is(.elementor-field-label,.elementor-field-textual) { color: #1B252F; }
body.perlingo-refined .elementor-widget-login .elementor-login__logged-in-message a,
body.perlingo-refined .elementor-widget-login :is(.elementor-lost-password,.elementor-register) { color: #185D7E; }
body.perlingo-refined .elementor[data-elementor-type] .elementor-price-table__heading { color: #1B252F !important; }
body.perlingo-refined .elementor[data-elementor-type] .elementor-price-table__header { background-color: #8EBBD1 !important; }
body.perlingo-refined .pk-page a.pk-button { background-color: #185D7E; color: #FFFFFF; border-color: #185D7E; }
body.perlingo-refined .pk-page a.pk-button:hover { background-color: #124761; color: #FFFFFF; border-color: #124761; }
body.perlingo-refined .pk-page a:focus-visible { outline-color: #185D7E; }
body.perlingo-refined .pk-checklist article > span { color: #185D7E; }
body.perlingo-refined.page-id-242 { background: #FFFFFF; color: #1B252F; }
body.perlingo-refined.page-id-242 .under-construction { background-color: #F2F7FA; box-shadow: none; }
body.perlingo-refined.page-id-242 .star { background-color: #8EBBD1; }
body.perlingo-refined .woocommerce a:not(.button):not(.remove),
body.perlingo-refined .woocommerce-LostPassword a { color: #185D7E !important; }
body.perlingo-refined .woocommerce a:not(.button):not(.remove):hover,
body.perlingo-refined .woocommerce-LostPassword a:hover { color: #124761 !important; }
/* Existing back-navigation links retain their text-link spacing and treatment. */
body.perlingo-refined:not(.page-id-6781) .elementor[data-elementor-type] .elementor-element:is(.elementor-element-82b93e4,.elementor-element-2708a4f,.elementor-element-b03dbfb) .elementor-button {
    background-color: transparent !important;
    border-color: transparent !important;
    color: #185D7E !important;
}
body.perlingo-refined:not(.page-id-6781) .elementor[data-elementor-type] .elementor-element:is(.elementor-element-82b93e4,.elementor-element-2708a4f,.elementor-element-b03dbfb) .elementor-button:hover {
    background-color: transparent !important;
    border-color: transparent !important;
    color: #124761 !important;
}
