.customer-panel-area {
    padding: 160px 0 80px;
    background: #f7f8fa;
}

.customer-panel-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.customer-panel-sidebar {
    width: 280px;
    flex: 0 0 280px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
}

.customer-panel-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 22px;
    border-bottom: 1px solid #e9ecef;
}

.customer-panel-user strong,
.customer-panel-user span {
    display: block;
}

.customer-panel-user span {
    margin-top: 3px;
    font-size: 13px;
    color: #7b7b7b;
}

.customer-panel-avatar {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f4f8;
    font-size: 18px;
}

.customer-panel-nav {
    padding: 12px;
}

.customer-panel-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 4px;
    border-radius: 8px;
    color: #333;
    font-weight: 500;
}

.customer-panel-nav a i {
    width: 20px;
    text-align: center;
}

.customer-panel-nav a:hover,
.customer-panel-nav a.active {
    background: #f1f4f8;
    color: var(--tg-theme-primary);
}

.customer-panel-nav-divider {
    height: 1px;
    margin: 12px 0;
    background: #e9ecef;
}

.customer-panel-nav a.logout {
    color: #dc3545;
}

.customer-panel-content {
    min-width: 0;
    flex: 1;
}

.customer-panel-card {
    padding: 25px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
}

@media (max-width: 991px) {
    .customer-panel-area {
        padding: 130px 0 60px;
    }

    .customer-panel-wrapper {
        flex-direction: column;
    }

    .customer-panel-sidebar {
        width: 100%;
        flex-basis: auto;
    }

    .customer-panel-content {
        width: 100%;
    }
}

.customer-panel-heading {
    margin-bottom: 25px;
}

.customer-panel-heading h1 {
    margin-bottom: 5px;
    font-size: 30px;
    font-weight: 700;
}

.customer-panel-heading p {
    margin: 0;
    color: #777;
}

.customer-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 30px;
    background: #fff;
    border: 1px solid #e8e8e8;
}

.customer-stat-card {
    position: relative;
    min-height: 125px;
    padding: 28px 34px;
    overflow: hidden;
    color: #333;
    border-right: 1px solid #e8e8e8;
}

.customer-stat-card:last-child {
    border-right: 0;
}

.customer-stat-card:hover {
    background: #fafafa;
}

.customer-stat-content {
    position: relative;
    z-index: 2;
}

.customer-stat-content strong {
    display: block;
    margin-bottom: 5px;
    font-size: 28px;
    line-height: 1;
}

.customer-stat-content span {
    display: inline-block;
    padding-bottom: 7px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 2px solid currentColor;
}

.customer-stat-icon {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 52px;
    color: #e9e9e9;
}

.customer-stat-card.stat-green strong,
.customer-stat-card.stat-green span {
    color: #7dbd38;
}

.customer-stat-card.stat-blue strong,
.customer-stat-card.stat-blue span {
    color: #268ee8;
}

.customer-stat-card.stat-red strong,
.customer-stat-card.stat-red span {
    color: #ef4035;
}

.customer-stat-card.stat-gray strong,
.customer-stat-card.stat-gray span {
    color: #607d8b;
}

@media (max-width: 1199px) {
    .customer-dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .customer-stat-card:nth-child(2) {
        border-right: 0;
    }

    .customer-stat-card:nth-child(-n+2) {
        border-bottom: 1px solid #e8e8e8;
    }
}

@media (max-width: 575px) {
    .customer-dashboard-stats {
        grid-template-columns: 1fr;
    }

    .customer-stat-card {
        border-right: 0;
        border-bottom: 1px solid #e8e8e8;
    }

    .customer-stat-card:last-child {
        border-bottom: 0;
    }
}
.customer-panel-nav a.disabled {
    opacity: .45;
    cursor: not-allowed;
    pointer-events: none;
}

.customer-panel-user-info {
    min-width: 0;
}

.customer-panel-user-info strong,
.customer-panel-user-info span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
