/* استایل‌های جدید برای صفحه اکانت کاربری 
*/
@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazir.eot');
    src: url('../fonts/Vazir.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Vazir.woff2') format('woff2'),
         url('../fonts/Vazir.woff') format('woff'),
         url('../fonts/Vazir.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
body {
    font-family: 'Vazir';
    direction: rtl;
}
.user-dashboard {
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    margin: 20px auto;
    max-width: 1200px;
    overflow: hidden;
    font-family: 'Vazir', sans-serif;
}

.dashboard-header {
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
    color: white;
    padding: 25px 30px;
    position: relative;
}

.user-welcome {
    display: flex;
    align-items: center;
}

.user-avatar {
    background-color: white;
    border-radius: 50%;
    color: #4e54c8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    height: 60px;
    margin-left: 20px;
    width: 60px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.user-info h1 {
    font-size: 24px;
    margin: 0 0 5px;
}

.user-info p {
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
}

.dashboard-content {
    display: flex;
    min-height: 600px;
}

.dashboard-sidebar {
    background-color: white;
    border-left: 1px solid #eee;
    width: 250px;
    padding: 20px 0;
}

.dashboard-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dashboard-menu li {
    margin-bottom: 5px;
}

.dashboard-menu li a {
    color: #555;
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-right: 3px solid transparent;
}

.dashboard-menu li a:hover {
    background-color: #f5f5f5;
    color: #4e54c8;
    border-right-color: #4e54c8;
}

.dashboard-menu li.active a {
    background-color: #f0f2ff;
    color: #4e54c8;
    border-right-color: #4e54c8;
    font-weight: bold;
}

.dashboard-menu i {
    margin-left: 10px;
    font-size: 18px;
    vertical-align: middle;
}

.dashboard-main {
    flex: 1;
    padding: 30px;
}

.dashboard-summary {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px 30px;
}

.summary-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin: 0 15px 20px;
    padding: 20px;
    text-align: center;
    width: calc(33.333% - 30px);
    transition: transform 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.summary-card h3 {
    color: #555;
    font-size: 18px;
    margin: 0 0 10px;
}

.summary-number {
    color: #4e54c8;
    font-size: 32px;
    font-weight: bold;
    margin: 0;
}

.recent-orders {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.recent-orders h3 {
    border-bottom: 1px solid #eee;
    color: #333;
    font-size: 18px;
    margin: 0 0 20px;
    padding-bottom: 10px;
}

.table {
    border-collapse: collapse;
    width: 100%;
}

.table th, .table td {
    border-bottom: 1px solid #eee;
    padding: 12px 15px;
    text-align: right;
}

.table th {
    background-color: #f8f9fa;
    color: #555;
    font-weight: bold;
}

.table tr:hover {
    background-color: #f5f5f5;
}

.btn {
    background-color: #4e54c8;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    padding: 8px 15px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #3a3f9e;
}

.btn-sm {
    font-size: 12px;
    padding: 5px 10px;
}

/* استایل‌های رسپانسیو */
@media (max-width: 992px) {
    .summary-card {
        width: calc(50% - 30px);
    }
}

@media (max-width: 768px) {
    .dashboard-content {
        flex-direction: column;
    }
    
    .dashboard-sidebar {
        border-left: none;
        border-bottom: 1px solid #eee;
        width: 100%;
    }
    
    .summary-card {
        width: calc(100% - 30px);
    }
    
    .table-responsive {
        overflow-x: auto;
    }
}

/* استایل‌های آیکون‌ها */
.icon-dashboard:before {
    content: "📊";
}

.icon-shopping-bag:before {
    content: "🛍️";
}

.icon-location:before {
    content: "📍";
}

.icon-user:before {
    content: "👤";
}

.icon-logout:before {
    content: "🚪";
}

.icon-home:before {
    content: "🏠"; /* آیکون خانه */
}
.icon-dashboard,
.icon-shopping-bag,
.icon-location,
.icon-user,
.icon-logout,
.icon-home {
    font-style: normal;
}