/**
 * Techmall My Account Dashboard CSS
 * Safe CSS to hide default dashboard text without conflicts
 *
 * @package Techmall\MyAccount
 * @version 1.0.0
 */

/* Hide specific dashboard paragraphs only on main dashboard page */
body.my-account .woocommerce-MyAccount-content > p:first-of-type {
    display: none !important;
}

body.my-account .woocommerce-MyAccount-content > p:nth-of-type(2) {
    display: none !important;
}

/* Ensure custom dashboard content displays properly */
body.my-account .woocommerce-MyAccount-content .tm-account-dashboard {
    display: block !important;
    margin-top: 0 !important;
}

/* Alternative targeting if above doesn't work */
.woocommerce-account .woocommerce-MyAccount-content > p:not(:has(.tm-account-dashboard)) {
    display: none;
}

/* Keep only content with custom dashboard */
.woocommerce-account .woocommerce-MyAccount-content .tm-account-dashboard {
    display: block;
}
