/* css/account.css */

.account-page .page-main-title { /* If you add one, similar to other subpages */
    color: var(--dark-text);
    font-family: var(--font-display);
}

.account-sidebar.card {
    border: 1px solid var(--border-color);
}
.account-sidebar .user-avatar {
    width: 80px;
    height: 80px;
    border: 3px solid var(--light-text);
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.account-sidebar .card-header h5 {
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--dark-text);
}
.account-sidebar .account-nav .list-group-item {
    border-left: 3px solid transparent;
    border-right: none;
    border-top: none;
    border-bottom: 1px solid var(--border-color);
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    color: var(--muted-text);
    transition: background-color 0.2s ease, border-left-color 0.2s ease, color 0.2s ease;
}
.account-sidebar .account-nav .list-group-item:last-child {
    border-bottom: none;
}
.account-sidebar .account-nav .list-group-item:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
}
.account-sidebar .account-nav .list-group-item.active {
    background-color: var(--primary-color);
    color: var(--light-text);
    border-left-color: var(--accent-color);
    font-weight: 500;
}
.account-sidebar .account-nav .list-group-item.active i,
.account-sidebar .account-nav .list-group-item:hover i {
    color: inherit; /* Icon color matches text color */
}
.account-sidebar .account-nav .list-group-item i.fa-fw {
    width: 1.5em;
    opacity: 0.8;
}
.account-sidebar .account-nav .list-group-item.active i.fa-fw,
.account-sidebar .account-nav .list-group-item:hover i.fa-fw {
    opacity: 1;
}


.account-content .card-header.section-heading-account {
    background-color: var(--bs-light); /* Bootstrap light background */
    border-bottom: 1px solid var(--border-color);
}
.account-content .card-header.section-heading-account h4 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--dark-text);
}
.account-content .card-header.section-heading-account i {
    color: var(--primary-color);
}

.overview-stat-card {
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.overview-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-sm);
}
.overview-stat-card .stretched-link::after { /* Ensure link covers card */
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}


.order-table th {
    font-weight: 500;
    background-color: var(--light-bg);
}
.order-table td a {
    font-weight: 500;
}

.address-item {
    background-color: #fdfdfd; /* Slightly off-white for address items */
}
.address-item .badge {
    font-size: 0.75rem;
}

/* Ensure tab content has some padding if card body itself doesn't */
.account-content .tab-pane > .card > .card-body {
    /* padding: 1.5rem; */ /* Already set to p-4 */
}
