/*
 Theme Name:   	Agrica Child
 Theme URI: 	https://themelocker.tech/wordpress/agrica
 Description:  	This is a child theme for Agrica - Organic Farm Agriculture WordPress Theme
 Author:       	Validthemes
 Author URI:   	https://themeforest.net/user/validthemes/portfolio
 Template:     	agrica
 Version:      	1.0
 Tags:         	two-columns, three-columns, left-sidebar, right-sidebar, flexible-header, custom-background, custom-colors, custom-header, custom-menu, theme-options, editor-style, featured-images, microformats, post-formats,  sticky-post, threaded-comments, translation-ready
 Text Domain:  	agrica-child
*/

/*  [ Add your custom css below ]
- - - - - - - - - - - - - - - - - - - - */

.aadhya-dashboard {
    margin-top: 20px;
}

.aadhya-dashboard .badge {
    background: #6c63ff;
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.dashboard-cards .card {
    background: #f7f7f7;
    padding: 15px;
    border-radius: 10px;
}

.dashboard-cards .card strong {
    font-size: 20px;
    display: block;
}

.dashboard-info {
    margin-top: 15px;
    color: #555;
}
.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type {
    display: none;
}

/* two colummn layout css */
/* Force Woo My Account layout */
.woocommerce-account .woocommerce {
    display: flex;
    gap: 30px;
}

/* LEFT SIDEBAR */
.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 260px;
    flex-shrink: 0;
    border:1px solid #afafaf;
}

/* RIGHT CONTENT */
.woocommerce-account .woocommerce-MyAccount-content {
    flex: 1;
    width: auto;
}

/* siderbar style css */

/* Sidebar container */
.woocommerce-MyAccount-navigation {
    background: #fff;
}

/* Menu */
.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Menu items */
.woocommerce-MyAccount-navigation li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #eee;
    color: #111;
    font-weight: 500;
    text-decoration: none;
}

/* Active item */
.woocommerce-MyAccount-navigation li.is-active a {
    background: #000;
    color: #fff;
    border-radius: 8px;
    margin: 6px;
}

/* Dashboard layout css */

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
    .dashboard-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        flex-direction: column;
    }

    .woocommerce-MyAccount-navigation {
        width: 100%;
    }

    .dashboard-cards {
        grid-template-columns: 1fr;
    }
}
body.woocommerce-account .container {
    max-width: 100% !important;
}

/* Menu item base */
.woocommerce-MyAccount-navigation-link a {
    position: relative;
    padding-right: 45px !important;
}

/* Right side icon */
.woocommerce-MyAccount-navigation-link a::after {
    font-family: "dashicons";
    position: absolute;
    right: 16px;
    font-size: 18px;
    line-height: 1;
    opacity: 0.7;
}

/* Dashboard */
.woocommerce-MyAccount-navigation-link--dashboard a::after {
    content: "\f226" !important;
}

/* Referral Tree */
.woocommerce-MyAccount-navigation-link--referral-tree a::after {
    content: "\f108" !important;
}

/* Commission */
.woocommerce-MyAccount-navigation-link--commission a::after {
    content: "\f239" !important;
}

/* Payment History */
.woocommerce-MyAccount-navigation-link--payment-history a::after {
    content: "\f321" !important;
}

/* Balance */
.woocommerce-MyAccount-navigation-link--balance a::after {
    content: "\f526" !important;
}

/* Levels */
.woocommerce-MyAccount-navigation-link--levels a::after {
    content: "\f109" !important;
}
img.logo {
    width: 100px;
}
