/*!
Theme Name: Xeco
Theme URI: https://themegenix.net/xeco/
Author: ThemeGenix
Author URI: https://themeforest.net/user/themegenix/
Description: Xeco - ICO & Crypto Landing WordPress Theme
Version: 1.2
Requires at least: 5.0
Tested up to: 6.8.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: xeco
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* Horizontal My Account Navigation */


/* Add profit icon to the Profit tab in account navigation */
.woocommerce-MyAccount-navigation-link--profit > a:before {
    content: "💰" !important; /* You can change this to any Unicode icon or text */
    font-size: 16px;
    margin-right: 6px;
    vertical-align: middle;
    color: #1ab64d;
}

/* If you want to use another emoji, try: content: "🤑"; */
/* For an SVG or Font Awesome icon, use ::before with 'background-image', or add the HTML via PHP. */

.profit-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.profit-table th,
.profit-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
    vertical-align: top;
}

.profit-table th {
    background-color: #f4f4f4;
}

.profit-table canvas {
    max-width: 150px;
    max-height: 150px;
    margin: 0 auto;
    display: block;
}

/* Responsive design for mobile */
@media (max-width: 700px) {
    .profit-table,
    .profit-table thead,
    .profit-table tbody,
    .profit-table tr {
        display: block;
        width: 100%;
    }

    .profit-table tr {
        margin-bottom: 20px;
        border: none;
        box-shadow: 0 2px 4px rgba(0,0,0,0.03);
        background: #181822;
    }

    .profit-table td,
    .profit-table th {
        display: block;
        width: 100%;
        box-sizing: border-box;
        border: none;
        padding: 15px;
        text-align: left;
    }

    .profit-table th {
        font-size: 18px;
        background: #222232;
        color: #dedede;
        border-bottom: 1px solid #333;
    }

    .profit-table canvas {
        max-width: 100px;
        max-height: 100px;
    }
}


.total-earnings-content {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.total-earnings-content p {
    margin: 10px 0;
    font-size: 16px;
}
