div id=my-english-content dir=ltr!DOCTYPE html
html lang=fa dir=rtl
head
meta charset=UTF-8
meta name=viewport content=width=device-width, initial-scale=1.0
titleTariff Table title

}

body {
background-color #f5f7fa;
color #333;
line-height 1.5;
padding 8px;
font-size 14px;
}

.container {
max-width 100%;
margin 0 auto;
padding 0 8px;
}

h1 {
font-size 1.4rem;
font-weight 700;
color #2c3e50;
margin 15px 0;
text-align center;
}

h2 {
font-size 1.1rem;
font-weight 600;
color #2c3e50;
margin-bottom 12px;
}

.search-container {
margin 15px 0;
position relative;
}

.search-box {
width 100%;
padding 10px 15px;
border 1px solid #ddd;
border-radius 25px;
font-size 14px;
background-color white;
box-shadow 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search-boxfocus {
border-color #3498db;
outline none;
box-shadow 0 2px 8px rgba(52, 152, 219, 0.2);
}

.table-section {
margin-bottom 20px;
background white;
border-radius 8px;
box-shadow 0 2px 8px rgba(0, 0, 0, 0.05);
overflow hidden;
}

.table-header {
background linear-gradient(135deg, #3498db, #2980b9);
color white;
padding 10px 12px;
}

.table-container {
overflow-x auto;
-webkit-overflow-scrolling touch;
}

table {
width 100%;
border-collapse collapse;
min-width 450px;
font-size 13px;
}

thead th {
background-color #3498db;
color white;
padding 8px 6px;
text-align center;
font-weight 600;
position sticky;
top 0;
}

tbody td {
padding 8px 6px;
border-bottom 1px solid #eee;
text-align center;
}

tbody trnth-child(even) {
background-color #f8f9fa;
}

tbody trhover {
background-color #f1f5fd;
}

.country-tags {
display flex;
flex-wrap wrap;
gap 5px;
padding 10px;
}

.country-tag {
background-color #e3f2fd;
color #1976d2;
padding 4px 8px;
border-radius 12px;
font-size 11px;
white-space nowrap;
}

.highlight {
background-color #fffde7;
font-weight bold;
border 1px solid #ffd600;
}

.no-results {
text-align center;
padding 20px;
color #7f8c8d;
font-size 14px;
display none;
}

@media (max-width 480px) {
body {
font-size 13px;
padding 5px;
}

h1 {
font-size 1.2rem;
margin 10px 0;
}

h2 {
font-size 1rem;
}

.search-box {
padding 8px 12px;
font-size 13px;
}

table {
min-width 350px;
font-size 12px;
}

thead th {
padding 6px 4px;
font-size 12px;
}

tbody td {
padding 6px 4px;
font-size 11px;
}

.country-tag {
font-size 10px;
padding 3px 6px;
}
}
style
head
body
div class=container
h1Select the countryh1

div class=search-container
input type=text id=countrySearch class=search-box placeholder=Filter by country…
div

div id=tablesContainer
!– Tables will be inserted here by JavaScript —
div

div id=noResults class=no-results
No matching countries found.
div
div

script
const tablesData = [
{
title Asia Special (Zone 1),
headers [Package No, (Days), (MB), Price],
rows [
[265, 7, 5,000, $8],
[266, 7, 10,000, $12],
[267, 14, 15,000, $18],
[268, 14, 25,000, $29]
],
countries [Malaysia, Thailand]
},
{
title Asia Special (Zone 2),
headers [Package No, (Days), (MB), Price],
rows [
[269, 7, 5,000, $61],
[270, 7, 10,000, $92],
[271, 14, 15,000, $137],
[272, 14, 25,000, $229]
],
countries [Hong Kong, Japan, Korea South, Malaysia, Philippines, Taiwan, Thailand, Vietnam]
},
{
title EU Best,
headers [Package No, (Days), (MB), Price],
rows [
[499, 14, 25,000, $39.00]
],
countries [Austria, Belgium, Bulgaria, Croatia, Cyprus, Czech Republic, Denmark, Estonia, Faeroe Islands, Finland, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Liechtenstein, Lithuania, Luxembourg, Malta, Netherlands, Norway, Poland, Portugal, Romania, San Marino, Slovakia, Slovenia, Spain, Sweden, Switzerland, United Kingdom]
},
{
title USA,
headers [Package No, (Days), (MB), Price],
rows [
[497, 14, 25000, $54.00],
[498, 14, 15000, $33.00]
],
countries [USA]
},
{
title Asia,
headers [Package No, (Days), (MB), Price],
rows [
[58, 30, 3000, $39],
[196, 30, 1000, $18],
[197, 30, 5000, $89],
[198, 30, 10000, $178],
[199, 30, 20000, $406]
],
countries [Australia, China, HongKong, India, Indonesia, Japan, Korea (South), Macao, Malaysia, New Zealand, Philippines, Singapore, Taiwan, Thailand, Vietnam]
},
{
title EU +,
headers [Package No, (Days), (MB), Price],
rows [
[614, 7, 5000, $9],
[615, 7, 10000, $13],
[616, 14, 25000, $33],
[617, 30, 50000, $65],
[618, 30, Unlimited, 0.003 USDMB, $3.5]
],
countries [Austria, Belgium, Bulgaria, China, Croatia, Cyprus, Czech Republic, Denmark, Estonia, Faroe Islands, Finland, France, Germany, Gibraltar, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Liechtenstein, Lithuania, Luxembourg, Malaysia, Malta, Netherlands, Norway, Poland, Portugal, Romania, San Marino, Slovakia, Slovenia, Spain, Sweden, Switzerland, Thailand, United Kingdom, USA]
},
{
title EU,
headers [Package No, (Days), (MB), Price],
rows [
[610, 7, 5000, $7],
[611, 7, 10000, $11],
[612, 14, 25000, $26],
[613, 30, 50000, $52]
],
countries [Austria, Belgium, Bulgaria, Croatia, Cyprus, Czech Republic, Denmark, Estonia, Faroe Islands, Finland, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Liechtenstein, Lithuania, Luxembourg, Malta, Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden]
},
{
title Europe,
headers [Package No, (Days), (MB), Price],
rows [
[77, 14, 5000, $29],
[78, 14, 10000, $57],
[193, 30, 5000, $18],
[194, 30, 10000, $36],
[195, 30, 20000, $70]
],
countries [Austria, Belgium, Bulgaria, Croatia, Cyprus, Czech.Rep., Denmark, Estonia, Finland, France, Germany, Gibraltar, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Liechtenstein, Lithuania, Luxembourg, Malta, Netherlands, Norway, Poland, Portugal, Romania, Slovaki, Slovenia, Spain, Sweden, United Kingdom]
},
{
title Europe Extra,
headers [Package No, (Days), (MB), Price],
rows [
[76, 1, 100, 1],
[92, 1, 500, 4.90],
[75, 30, 1000, 10.90],
[93, 30, 2000, 19.90],
[52, 30, 5000, 45],
[94, 30, 10000, 86.90],
[190, 30, 5000, 30],
[191, 30, 10000, 57],
[192, 30, 20000, 110]
],
countries [Austria, Belgium, Bulgaria, Croatia, Cyprus, Czech.Rep, Denmark, Estonia, Finland, France, Germany, Gibraltar, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Liechtenstein, Lithuania, Luxembourg, Malta, Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland, United Kingdom, USA]
},
{
title Global Zone A,
headers [Package No, (Days), (MB), Price],
rows [
[619, 7, 5,000, $13],
[620, 7, 10,000, $20],
[621, 14, 25,000, $49]
],
countries [Australia, Austria, Belgium, Brazil, Bulgaria, Canada, China, Croatia, Cyprus, Czech Republic, Denmark, Estonia, Faroe Islands, Finland, France, Germany, Gibraltar, Greece, Hong Kong, Hungary, Iceland, Ireland, Italy, Korea, Latvia, Liechtenstein, Lithuania, Luxembourg, Malaysia, Malta, Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, South Africa, Spain, Sweden, Switzerland, Taiwan, Thailand, Turkey, United Kingdom, USA]
},
{
title Global Zone B,
headers [Package No, (Days), (MB), Price],
rows [
[622, 7, 5,000, $87],
[623, 7, 10,000, $131]
],
countries [Albania, Argentina, Australia, Austria, Belgium, Bosnia And Herzegovina, Brazil, Bulgaria, Cambodia, Canada, Chile, China, Colombia, Costa Rica, Croatia, Cyprus, Czech Republic, Denmark, Dominican Republic, Ecuador, Egypt, El Salvador, Estonia, Faroe Islands, Finland, France, Georgia, Germany, Gibraltar, Greece, Guatemala, Honduras, Hong Kong, Hungary, Iceland, Ireland, Israel, Italy, Japan, Kazakhstan, Korea, Latvia, Liechtenstein, Lithuania, Luxembourg, Macau, Malaysia, Malta, Mexico, Moldova, Montenegro, Myanmar, Netherlands, Nicaragua, Norway, Paraguay, Peru, Philippines, Poland, Portugal, Puerto Rico, Qatar, Romania, Singapore, Slovakia, Slovenia, South Africa, Spain, Sri Lanka, Sweden, Switzerland, Taiwan, Tanzania, Thailand, Tunisia, Turkey, Ukraine, United Kingdom, Uruguay, USA, Uzbekistan, Vietnam]
},
{
title Zone A,
headers [Package No, (Days), (MB), Price],
rows [
[13, 1, 10, $0.50],
[14, 1, 50, $3],
[15, 7, 150, $6],
[16, 14, 250, $9],
[17, 30, 500, $13],
[11, 30, 1000, $19],
[40, 30, 2000, $35],
[20, 1, 10, $0.50],
[63, 30, 3000, $53],
[64, 30, 5000, $87]
],
countries [Albania, Argentina, Australia, Austria, Azerbaijan, Belarus, Belgium, Brazil, Bulgaria, Canada, China, Colombia, Costa Rica, Croatia, Cyprus, Czech.Rep., Denmark, Dominican Republic, Ecuador, Egypt, El Salvador, Estonia, Faeroe Islands, Finland, France, Georgia, Germany, Gibraltar, Greece, Guatemala, Honduras, HongKong, Hungary, Iceland, Indonesia, Ireland, Israel, Italy, Korea (South), Latvia, Liechtenstein, Lithuania, Luxembourg, Malaysia, Malta, Mexico, Montenegro, Netherlands, Nicaragua, Norway, Paraguay, Peru, Philippines, Poland, Portugal, Qatar, Romania, Singapore, Slovakia, Slovenia, Spain, Sweden, Switzerland, Taiwan, Thailand, Turkey, Ukraine, United Kingdom, Uruguay, USA, Uzbekistan, Vietnam]
},
{
title Zone B,
headers [Package No, (Days), (MB), Price],
rows [
[1, 1, 10, 1.25],
[2, 1, 50, 5.50],
[3, 7, 150, 12],
[4, 14, 250, 25],
[5, 30, 500, 45],
[9, 30, 1000, 69],
[8, 30, 2000, 99],
[7, 1, 10, 1],
[67, 30, 3000, 150],
[68, 30, 5000, 175]
],
countries [Albania, Anguilla, Antigua and Barbuda, Argentina, Armenia, Aruba (Netherlands), Australia, Austria, Azerbaijan, Barbados, Belarus, Belgium, Bosnia-Herzegovina, Brazil, British Virgin Isl., Bulgaria, Canada, Caribbean Islands, Cayman Islands, Chile, China, Colombia, Congo Dem. Republic, Costa Rica, Croatia, Cyprus, Czech.Rep., Denmark, Dominica, Dominican Republic, Ecuador, Egypt, El Salvador, Estonia, Faeroe Islands, Finland, France, Georgia, Germany, Gibraltar, Greece, Greenland, Grenada, Haiti, Honduras, HongKong, Hungary, Iceland, India, Indonesia, Ireland, Italy, Japan, Kazakhstan, Korea (South), Kosovo, Kuwait, Latvia, Liechtenstein, Lithuania, Luxembourg, Macao, Malaysia, Malta, Mauritius, Mexico, Moldova, Montenegro, Montserrat (UK), Netherlands, Netherlands Antilles, New Zealand, Nicaragua, Norway, Paraguay, Peru, Philippines, Poland, Portugal, Qatar, Romania, Saint Lucia, Saudi Arabia, Serbia, Singapore, Slovakia, Slovenia, South Africa, Spain, Sri Lanka, St.Kitts, St.Vincent Grenada, Sweden, Switzerland, Taiwan, Tajikistan, Thailand, Turk & Caicos Isl., Turkey, Ukraine, United Kingdom, Uruguay, USA, Uzbekistan, Vietnam]
},
{
title Special,
headers [Package No, (Days), (MB), Price],
rows [
[12, 30, 5000, 29],
[50, 14, 1000, 5]
],
countries [Cyprus, Denmark, Estonia, Finland, Greece, Latvia, Lithuania, Norway, Sweden]
},
{
title Vietnam,
headers [Package No, (Days), (MB), Price],
rows [
[59, 30, 3,000, $10.00]
],
countries [Vietnam]
},
{
title Turkey,
headers [Package No, (Days), (MB), Price],
rows [
[51, 14, 1,000, $17]
],
countries [Turkey]
}
];

function renderTables() {
const container = document.getElementById(‘tablesContainer’);
container.innerHTML = ”;

tablesData.forEach(tableData = {
const tableSection = document.createElement(‘div’);
tableSection.className = ‘table-section’;

const tableHeader = document.createElement(‘div’);
tableHeader.className = ‘table-header’;
tableHeader.innerHTML = `h2${tableData.title}h2`;

const tableContainer = document.createElement(‘div’);
tableContainer.className = ‘table-container’;

const table = document.createElement(‘table’);

Create table header
const thead = document.createElement(‘thead’);
const headerRow = document.createElement(‘tr’);

tableData.headers.forEach(header = {
const th = document.createElement(‘th’);
th.textContent = header;
headerRow.appendChild(th);
});

thead.appendChild(headerRow);
table.appendChild(thead);

Create table body
const tbody = document.createElement(‘tbody’);

tableData.rows.forEach(row = {
const tr = document.createElement(‘tr’);

row.forEach((cell, index) = {
const td = document.createElement(‘td’);
td.textContent = cell;
td.setAttribute(‘data-label’, tableData.headers[index]);
tr.appendChild(td);
});

tbody.appendChild(tr);
});

table.appendChild(tbody);
tableContainer.appendChild(table);

Create countries section
const countriesSection = document.createElement(‘div’);
countriesSection.className = ‘country-tags’;
countriesSection.id = `countries-${tableData.title.replace(s+g, ‘-‘)}`;

tableData.countries.forEach(country = {
const tag = document.createElement(‘span’);
tag.className = ‘country-tag’;
tag.textContent = country;
tag.setAttribute(‘data-country’, country.toLowerCase());
countriesSection.appendChild(tag);
});

tableSection.appendChild(tableHeader);
tableSection.appendChild(tableContainer);
tableSection.appendChild(countriesSection);

container.appendChild(tableSection);
});
}

function searchCountries() {
const searchTerm = document.getElementById(‘countrySearch’).value.toLowerCase();
const noResults = document.getElementById(‘noResults’);
let hasResults = false;

if (searchTerm.length 2) {
document.querySelectorAll(‘.table-section’).forEach(section = {
section.style.display = ‘block’;
});

document.querySelectorAll(‘.country-tag’).forEach(tag = {
tag.classList.remove(‘highlight’);
});

noResults.style.display = ‘none’;
return;
}

document.querySelectorAll(‘.table-section’).forEach(section = {
section.style.display = ‘none’;
});

document.querySelectorAll(‘.country-tag’).forEach(tag = {
tag.classList.remove(‘highlight’);
});

const matchingTags = document.querySelectorAll(`.country-tag[data-country=${searchTerm}]`);

if (matchingTags.length 0) {
hasResults = true;

matchingTags.forEach(tag = {
tag.classList.add(‘highlight’);

const tableSection = tag.closest(‘.table-section’);
if (tableSection) {
tableSection.style.display = ‘block’;
}
});
}

noResults.style.display = hasResults ‘none’ ‘block’;
}

document.addEventListener(‘DOMContentLoaded’, () = {
renderTables();
document.getElementById(‘countrySearch’).addEventListener(‘input’, searchCountries);
});
script
body
htmldiv