.aud-container {
    display: flex;
    max-width: 1100px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    overflow: hidden;
    font-family: iranyekan, Tahoma, sans-serif;
}

/* سایدبار */
.aud-sidebar {
    width: 260px;
    background: linear-gradient(180deg, #3f51b5, #1a237e);
    color: #fff;
    padding: 30px 20px;
}

.aud-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aud-sidebar li {
    margin-bottom: 16px;
}

.aud-sidebar a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.aud-sidebar a:hover {
    background: rgba(255,255,255,0.15);
}

/* محتوای اصلی */
.aud-content {
    flex: 1;
    padding: 40px;
}

.aud-content h2 {
    margin-top: 0;
    font-size: 22px;
    margin-bottom: 10px;
}

.aud-content p {
    color: #555;
    line-height: 1.8;
}
.aud-profile {
    max-width: 500px;
}

.aud-field {
    margin-bottom: 16px;
}

.aud-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #333;
}

.aud-field input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.aud-btn {
    background: #3f51b5;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
}

.aud-btn:hover {
    background: #303f9f;
}
.aud-orders-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.aud-orders-table th,
.aud-orders-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: right;
    font-size: 14px;
}

.aud-orders-table th {
    background: #f7f8fc;
    font-weight: bold;
}

.aud-orders-table tr:hover {
    background: #f9f9f9;
}
.aud-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.aud-product-card {
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.aud-product-card img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

.aud-product-card h4 {
    font-size: 15px;
    margin-bottom: 12px;
}
switch ( $tab ) {

    case 'profile':
        include AUD_PLUGIN_PATH . 'templates/profile.php';
        break;

    case 'orders':
        include AUD_PLUGIN_PATH . 'templates/orders.php';
        break;

    case 'products':
        include AUD_PLUGIN_PATH . 'templates/products.php';
        break;

    default:
        echo '<h2>داشبورد کاربری</h2><p>به پنل کاربری خوش آمدید 🌟</p>';
        break;
}
