/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* ================================================
   Import Cairo Font from Google Fonts
   ================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900&display=swap');

/* ================================================
   Single Course Page Cairo Font Styling - Targeted Approach
   ================================================ */

/* Course Title */
.tutor-course-details-title,
.tutor-course-details-title span {
    font-family: 'Cairo', Arial, sans-serif !important;
    font-weight: 700 !important;
}

/* Course Rating Text (not the star icons) */
.tutor-course-details-ratings .tutor-ratings-average,
.tutor-course-details-ratings .tutor-ratings-count {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* Course Action Buttons Text Only - Preserve Icons */
.tutor-course-wishlist-btn:not([class*="tutor-icon"]):not([class*="fa-"]):not([class*="dashicons"]),
.tutor-course-share-btn:not([class*="tutor-icon"]):not([class*="fa-"]):not([class*="dashicons"]),
.tutor-btn-share:not([class*="tutor-icon"]):not([class*="fa-"]):not([class*="dashicons"]) {
    font-family: 'Cairo', Arial, sans-serif !important;
    font-weight: 500 !important;
}

/* Button text content only - excluding icons */
.tutor-course-wishlist-btn span:not([class*="tutor-icon"]):not([class*="fa-"]):not([class*="dashicons"]),
.tutor-course-share-btn span:not([class*="tutor-icon"]):not([class*="fa-"]):not([class*="dashicons"]),
.tutor-btn-share span:not([class*="tutor-icon"]):not([class*="fa-"]):not([class*="dashicons"]) {
    font-family: 'Cairo', Arial, sans-serif !important;
    font-weight: 500 !important;
}

/* Course Content Tabs - Preserve Icons */
.tutor-course-details-tab .tutor-nav-item a:not([class*="tutor-icon"]):not([class*="fa-"]):not([class*="dashicons"]),
.tutor-course-details-tab .tutor-nav-item span:not([class*="tutor-icon"]):not([class*="fa-"]):not([class*="dashicons"]) {
    font-family: 'Cairo', Arial, sans-serif !important;
    font-weight: 500 !important;
}

/* Course Tab Content Areas - Preserve Icons */
.tutor-tab-item .tutor-course-description,
.tutor-tab-item .tutor-course-content-wrap,
.tutor-tab-item p,
.tutor-tab-item h1, .tutor-tab-item h2, .tutor-tab-item h3, 
.tutor-tab-item h4, .tutor-tab-item h5, .tutor-tab-item h6,
.tutor-tab-item div:not([class*="tutor-icon"]):not([class*="fa-"]):not([class*="dashicons"]):not([class*="tutor-fs-"]),
.tutor-tab-item span:not([class*="tutor-icon"]):not([class*="fa-"]):not([class*="dashicons"]):not([class*="tutor-fs-"]) {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* Sidebar More Section Container Text */
.tutor-single-course-sidebar-more h3,
.tutor-single-course-sidebar-more h4,
.tutor-single-course-sidebar-more p,
.tutor-single-course-sidebar-more span:not([class*="icon"]):not([class*="tutor-icon"]) {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* ================================================
   Course Enrollment Box - Cairo Font Styling (Text Only)
   ================================================ */

/* Target only text elements - excluding icons and icon containers */
.tutor-cairo-font-wrapper h1,
.tutor-cairo-font-wrapper h2,
.tutor-cairo-font-wrapper h3,
.tutor-cairo-font-wrapper h4,
.tutor-cairo-font-wrapper h5,
.tutor-cairo-font-wrapper h6,
.tutor-cairo-font-wrapper p,
.tutor-cairo-font-wrapper span:not([class*="tutor-icon"]):not([class*="fa-"]):not([class*="dashicons"]):not([class*="tutor-fs-"]),
.tutor-cairo-font-wrapper div:not([class*="tutor-icon"]):not([class*="fa-"]):not([class*="dashicons"]):not([class*="tutor-fs-"]),
.tutor-cairo-font-wrapper a:not([class*="tutor-icon"]):not([class*="fa-"]):not([class*="dashicons"]):not([class*="tutor-fs-"]),
.tutor-cairo-font-wrapper label,
.tutor-cairo-font-wrapper .tutor-btn-text,
.tutor-cairo-font-wrapper .tutor-course-sidebar-card-pricing {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* Enrollment Buttons - text content only */
.tutor-cairo-font-wrapper .tutor-btn span:not([class*="tutor-icon"]):not([class*="fa-"]):not([class*="tutor-fs-"]) {
    font-family: 'Cairo', Arial, sans-serif !important;
    font-weight: 500 !important;
}

/* Course Progress Section */
.tutor-cairo-font-wrapper .tutor-course-progress-wrapper h3 {
    font-weight: 600 !important;
}

.tutor-cairo-font-wrapper .progress-steps,
.tutor-cairo-font-wrapper .progress-percentage {
    font-weight: 400 !important;
}

/* Enrollment Buttons */
.tutor-cairo-font-wrapper .tutor-btn {
    font-weight: 500 !important;
}

.tutor-cairo-font-wrapper .tutor-btn span:not([class*="icon"]) {
    font-weight: 500 !important;
}

/* Course Pricing */
.tutor-cairo-font-wrapper .tutor-course-sidebar-card-pricing span {
    font-weight: 700 !important;
}

.tutor-cairo-font-wrapper .tutor-course-sidebar-card-pricing del {
    font-weight: 400 !important;
}

/* Course Meta Information */
.tutor-cairo-font-wrapper .tutor-course-details-widget-list li,
.tutor-cairo-font-wrapper .tutor-sidebar-card-meta li {
    font-weight: 400 !important;
}

/* Enrolled Info Text */
.tutor-cairo-font-wrapper .tutor-enrolled-info-text {
    font-weight: 400 !important;
}

.tutor-cairo-font-wrapper .tutor-enrolled-info-date {
    font-weight: 600 !important;
}

/* Course Sidebar - Requirements */
.tutor-course-requirements .tutor-course-sidebar-card-title,
.tutor-course-requirements ul li,
.tutor-course-requirements p {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* Course Sidebar - Tags */
.tutor-course-tags .tutor-course-sidebar-card-title,
.tutor-course-tags .tutor-tag-item {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* Course Sidebar - Target Audience */
.tutor-course-target-audience .tutor-course-sidebar-card-title,
.tutor-course-target-audience ul li,
.tutor-course-target-audience p {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* Course Curriculum/Lessons */
.tutor-course-topics .tutor-course-topic-title,
.tutor-course-topics .tutor-course-lesson-title,
.tutor-course-topics .tutor-course-lesson-duration {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* Course Reviews */
.tutor-reviews-wrap .tutor-review-item .tutor-review-content,
.tutor-reviews-wrap .tutor-review-item .tutor-reviewer-name {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* ================================================
   Tutor LMS Push Notification Styling Override
   Custom color scheme for notification bar
   ================================================ */

/* Override the "Enable Notifications" button color */
#tutor-pn-permission button#tutor-pn-enable {
    color: #fff !important;
    background: #006C5B !important;
    border: none !important;
}

/* Hover state for the button */
#tutor-pn-permission button#tutor-pn-enable:hover {
    background: #005248 !important;
    color: #fff !important;
}

/* Active and focus states */
#tutor-pn-permission button#tutor-pn-enable:active,
#tutor-pn-permission button#tutor-pn-enable:focus {
    background: #006C5B !important;
    color: #fff !important;
    outline: none !important;
}

/* Ensure high specificity to override plugin styles */
body #tutor-pn-permission button#tutor-pn-enable {
    background-color: #006C5B !important;
}

/* Additional fallback with even higher specificity */
html body #tutor-pn-permission button#tutor-pn-enable {
    background: #006C5B !important;
}

/* ================================================
   Tutor LMS Dashboard Global Cairo Font Styling
   Comprehensive styling for all dashboard pages
   ================================================ */

/* Global Dashboard Container */
.tutor-dashboard,
.tutor-dashboard * {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* Dashboard Navigation */
.tutor-dashboard-left-menu,
.tutor-dashboard-left-menu ul,
.tutor-dashboard-left-menu li,
.tutor-dashboard-left-menu a,
.tutor-dashboard-nav-menu {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* Dashboard Header */
.tutor-dashboard-header,
.tutor-dashboard-header h1,
.tutor-dashboard-header h2,
.tutor-dashboard-header h3,
.tutor-dashboard-header h4,
.tutor-dashboard-header h5,
.tutor-dashboard-header h6 {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* Dashboard Content Areas */
.tutor-dashboard-content,
.tutor-dashboard-content-inner,
.tutor-dashboard-content-wrap {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* Dashboard Cards and Widgets */
.tutor-dashboard-item,
.tutor-dashboard-item-group,
.tutor-dashboard-card,
.tutor-card,
.tutor-stats-card {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* Dashboard Tables */
.tutor-table,
.tutor-table th,
.tutor-table td,
.tutor-table thead,
.tutor-table tbody,
.tutor-table-responsive {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* Dashboard Forms */
.tutor-form-group,
.tutor-form-group label,
.tutor-form-group input,
.tutor-form-group textarea,
.tutor-form-group select,
.tutor-form-control,
.tutor-input {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* Dashboard Buttons */
.tutor-btn,
.tutor-button,
.tutor-dashboard .btn,
.tutor-dashboard button {
    font-family: 'Cairo', Arial, sans-serif !important;
    font-weight: 500 !important;
}

/* Dashboard Typography */
.tutor-dashboard h1,
.tutor-dashboard h2,
.tutor-dashboard h3,
.tutor-dashboard h4,
.tutor-dashboard h5,
.tutor-dashboard h6,
.tutor-dashboard p,
.tutor-dashboard span,
.tutor-dashboard div,
.tutor-dashboard a,
.tutor-dashboard label {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* Dashboard Lists */
.tutor-dashboard ul,
.tutor-dashboard ol,
.tutor-dashboard li {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* ================================================
   Specific Dashboard Pages Styling
   ================================================ */

/* Profile/Settings Page */
.tutor-dashboard-profile,
.tutor-profile-photo-upload,
.tutor-profile-form {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* My Courses Page */
.tutor-my-courses,
.tutor-course-card,
.tutor-course-card-title,
.tutor-course-card-meta,
.tutor-course-card-footer {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* Create Course Page */
.tutor-course-builder,
.tutor-course-builder-section,
.tutor-course-builder-curriculum {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* Enrolled Courses */
.tutor-enrolled-courses,
.tutor-enrolled-course-item {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* Wishlist */
.tutor-wishlist,
.tutor-wishlist-item {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* Reviews */
.tutor-my-reviews,
.tutor-review-item {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* Question & Answer */
.tutor-qa-dashboard,
.tutor-qa-item {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* Assignments */
.tutor-assignments,
.tutor-assignment-item {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* Quiz Attempts */
.tutor-quiz-attempts,
.tutor-quiz-attempt-item {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* Purchase History */
.tutor-purchase-history,
.tutor-purchase-item {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* Earnings */
.tutor-earnings,
.tutor-earning-item {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* Withdraw */
.tutor-withdraw,
.tutor-withdraw-form {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* ================================================
   Dashboard Modals and Popups
   ================================================ */

.tutor-modal,
.tutor-modal-content,
.tutor-modal-header,
.tutor-modal-body,
.tutor-modal-footer {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* ================================================
   Dashboard Responsive Elements
   ================================================ */

.tutor-dashboard-menu-toggle,
.tutor-dashboard-mobile-menu {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* ================================================
   Dashboard Notifications and Alerts
   ================================================ */

.tutor-alert,
.tutor-notice,
.tutor-notification,
.tutor-toast {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* ================================================
   Dashboard Pagination
   ================================================ */

.tutor-pagination,
.tutor-pagination a,
.tutor-pagination span {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* ================================================
   Dashboard Tabs
   ================================================ */

.tutor-nav-tabs,
.tutor-nav-tabs li,
.tutor-nav-tabs a,
.tutor-tab-content {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* ================================================
   Dashboard Progress Bars and Stats
   ================================================ */

.tutor-progress,
.tutor-progress-bar,
.tutor-stats,
.tutor-counter {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* ================================================
   Preserve Tutor Icons - Override Font for Icon Elements
   Restore original Tutor icon font for icon elements
   ================================================ */

/* Tutor Icon Classes - Restore Original Font */
[class*="tutor-icon-"]:before,
[class^="tutor-icon-"]:before,
.tutor-icon:before,
.tutor-icon-legacy:before,
i[class*="tutor-icon-"],
i[class^="tutor-icon-"],
span[class*="tutor-icon-"],
span[class^="tutor-icon-"] {
    font-family: 'tutor' !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Specific Tutor Icon Elements */
.tutor-dashboard [class*="tutor-icon-"]:before,
.tutor-dashboard [class^="tutor-icon-"]:before,
.tutor-dashboard .tutor-icon:before {
    font-family: 'tutor' !important;
}

/* Common Tutor Icons in Dashboard */
.tutor-icon-user:before,
.tutor-icon-graduation-cap:before,
.tutor-icon-book:before,
.tutor-icon-heart:before,
.tutor-icon-star:before,
.tutor-icon-comment:before,
.tutor-icon-question:before,
.tutor-icon-assignment:before,
.tutor-icon-quiz:before,
.tutor-icon-purchase:before,
.tutor-icon-earning:before,
.tutor-icon-withdraw:before,
.tutor-icon-settings:before,
.tutor-icon-logout:before {
    font-family: 'tutor' !important;
}

/* Ensure icons in navigation remain as icons */
.tutor-dashboard-left-menu [class*="tutor-icon-"]:before,
.tutor-dashboard-nav-menu [class*="tutor-icon-"]:before {
    font-family: 'tutor' !important;
}

/* Dashboard menu icons */
.tutor-dashboard-menu [class*="tutor-icon-"] {
    font-family: 'tutor' !important;
}

/* Button icons */
.tutor-btn [class*="tutor-icon-"]:before,
.tutor-button [class*="tutor-icon-"]:before {
    font-family: 'tutor' !important;
}

/* Table icons */
.tutor-table [class*="tutor-icon-"]:before {
    font-family: 'tutor' !important;
}

/* Card icons */
.tutor-card [class*="tutor-icon-"]:before,
.tutor-dashboard-card [class*="tutor-icon-"]:before {
    font-family: 'tutor' !important;
}

/* ================================================
   Additional Icon Font Fallbacks
   ================================================ */

/* Ensure FontAwesome icons also remain intact */
[class*="fa-"]:before,
[class^="fa-"]:before,
.fa:before {
    font-family: 'FontAwesome' !important;
}

/* Dashicons for WordPress admin */
[class*="dashicons-"]:before,
[class^="dashicons-"]:before,
.dashicons:before {
    font-family: 'dashicons' !important;
}

/* ================================================
   High Specificity Overrides
   ================================================ */

/* Ensure Cairo font applies to all dashboard text with high specificity */
html body .tutor-dashboard,
html body .tutor-dashboard * {
    font-family: 'Cairo', Arial, sans-serif !important;
}

/* But preserve icons with even higher specificity */
html body .tutor-dashboard [class*="tutor-icon-"]:before,
html body .tutor-dashboard [class^="tutor-icon-"]:before,
html body .tutor-dashboard .tutor-icon:before {
    font-family: 'tutor' !important;
}

