/*
Theme Name: GMM AstraWP Child Theme
Author: Brainstorm Force
Author URI: https://wpastra.com/about/
Description: Astra child theme with Greek My Mind custom styles and functionality.
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gmm-astrawp-child-theme
Template: astra
*/

/* Pricing table */
.elementor-widget-obfx-pricing-table {
    min-height: 550px;
}

/* Preloader: the CSS fallback works even if JavaScript is blocked. */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.87);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    animation: gmm-preloader-failsafe 5s step-end forwards;
}

.preloader-logo {
    width: 100px;
    height: auto;
    animation: gmm-logo-spin 2s linear infinite;
}

#preloader.preloader-hidden {
    animation: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes gmm-preloader-failsafe {
    from {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

@keyframes gmm-logo-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .preloader-logo {
        animation: none;
    }
    #preloader {
        transition: none;
    }
}

/* Profile menu icon */
.profile-icon .dashicons {
    margin-right: 5px;
    margin-top: 5px;
    color: #8db1ab;
}

/* Submenu arrow color */
@media (max-width: 544px) {
    .ast-builder-menu-1 .menu-item > .ast-menu-toggle {
        color: #ffffff !important;
    }
}

/* Elementor icon list */
.elementor-icon-list-icon {
    color: #8DB1AB;
}

/* Test your level in Greek button */
.hdq_quiz_start {
    background-color: #8DB1AB !important;
    color: black !important;
    padding: 10px 20px;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Blog post background and sidebar */
body.single-post {
    background-color: #003E53;
}

.widget-title {
    color: white;
}

#recent-posts-2 a {
    color: #8DB1AB;
}

#categories-2 a {
    color: #8DB1AB;
}

.single .post-navigation a {
    color: white;
}

/* LearnPress */
.course-material {
    display: none;
}

.quiz-status > div:first-child {
    background-color: #8db1ab;
}

.lp-buy-package {
    color: white !important;
}

.duration {
    color: black;
}

/* WooCommerce */
.ast-woo-product-category {
    color: #355E3B !important;
    opacity: 1 !important;
}

.includes_tax {
    color: black !important;
}

.woocommerce-privacy-policy-link {
    font-weight: bold;
}

/* Newsletter submit button */
.tnp-submit {
    color: black !important;
}

/* Free trial lesson appointment form */
.step.final.col-md-6 {
    background-color: #8DB1AB !important;
}

/* Custom add-to-cart button */
.custom-cart-btn {
    background-color: #8DB1AB !important;
    color: black !important;
    border: 2px solid white !important;
    border-radius: 40px;
    padding: 15px 20px !important;
    display: inline-flex;
    align-items: center;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-decoration: none;
    transition: all 1.1s ease;
}

.custom-cart-btn:hover,
.custom-cart-btn:focus {
    background-color: white !important;
    color: black !important;
    border-color: #8DB1AB !important;
    transform: scale(0.92);
}

/* Requires Font Awesome 5 Free, as in your original CSS. */
.custom-cart-btn::after {
    content: "\f07a";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 11px;
}

.custom-cart-btn + .added_to_cart {
    display: none !important;
}

/* Mini Groups form links */
#wpforms-7079-field_14-description a {
    color: #8DB1AB;
}

.wpforms-field-label-inline a {
    color: black;
    background-color: white;
}

/* Google rating text */
.ti-rating-text {
    background-color: #8DB1AB;
    border-radius: 40px;
}
