/* Import Google Material Symbols Outlined */
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0');

.my-account-dashboard-wrapper {
    width: 100%;
    margin-bottom: 60px;
    background-color: #f8f9fa; /* Material light gray background */
    min-height: 100vh;
}

/* --- Hero Section --- */
.account-hero {
    position: relative;
    background-image: url('https://pentaperformance.com/wp-content/uploads/2022/07/c30-opt.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
}

.account-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient similar to the themify setup */
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(255,255,255,0) 44%);
    background-color: rgba(194, 54, 54, 0.7); /* cover color #c23636_0.7 */
    z-index: 1;
}

.account-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
}

.account-hero-content h1 {
    color: #ffffff;
    margin: 0 0 10px 0;
    font-size: 2.5rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.account-hero-content p {
    color: #ffffff;
    margin: 0;
    font-size: 1.1rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}


/* --- Material Design Cards --- */
.material-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.material-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

/* --- Navigation Grid --- */
.account-navigation-container {
    max-width: 1200px;
    margin: -40px auto 50px auto; /* Pulls cards up over the hero image */
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.account-nav-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.account-nav-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    text-decoration: none;
    color: #333333;
}

.account-nav-card:hover {
    transform: translateY(-5px);
    text-decoration: none;
    color: #333333;
}

.account-nav-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #edf3ff;
}

.bg-blue {
    background-color: #4d7de1;
}

.bg-red {
    background-color: #d62f50;
}

.account-nav-icon .material-symbols-outlined {
    font-size: 30px;
}

.account-nav-card h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #666666;
    text-align: center;
}

/* --- WooCommerce Section --- */
.account-woocommerce-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.woo-card {
    padding: 30px;
    /* Optional top border from themify settings */
    border-top: 2px solid #000000;
}

/* Hide the default WooCommerce navigation if they are using the custom one */
.woo-card .woocommerce-MyAccount-navigation {
    display: none;
}

/* Expand woo content to full width since nav is hidden */
.woo-card .woocommerce-MyAccount-content {
    width: 100% !important;
    float: none !important;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .account-nav-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .account-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .account-navigation-container {
        margin-top: -20px;
    }
}

@media (max-width: 480px) {
    .account-nav-grid {
        grid-template-columns: 1fr;
    }
}

