#esim-container {
  font-family: Arial, sans-serif;
  max-width: 1200px;
  margin: 20px auto;
  padding: 10px;
}

#esim-main-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  justify-content: center;
}

.main-tab {
  padding: 10px 20px;
  background: #f0f0f0;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.main-tab.active, .main-tab:hover {
  background: #007bff;
  color: #fff;
}

#esim-country-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  /*display: flex;*/
  flex-wrap: wrap;
  gap:20px;
  margin-bottom: 20px;
  justify-content: center;
}

.esim-country-tab {
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap:20px;
  font-size: 14px;
}

.esim-country-tab:hover {
  background: #f5f5f5;
}

#selected-country-name {
  text-align: center;
  font-size: 1.5em;
  margin-bottom: 10px;
}

#esim-country-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  padding: 10px;
}
/*div#esim-modal-body*/
/*{*/
/*display: inline-flex;*/
/*margin:0 auto;*/
/*}*/
.esim-package {
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  align-items: center;

/* 
                  display: flex;
                align-items: center;
                gap: 20px;
                border: 1px solid #ddd;
                border-radius: 8px;
                padding: 15px;
                margin-bottom: 15px;
                background: #f9f9f9; */
}

.esim-package:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: #ccc;
}

.esim-package img {
  width: 60px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 10px;
}

.esim-package h4 {
  color: #222;
  font-size: 16px;
  font-weight: 600;
}

#esim-load-more {
  display: block;
  margin: 20px auto;
  padding: 10px 20px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

#esim-load-more:hover {
  background: #0056b3;
}

.esim-popular-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 10px;
  background: #f9f9f9;
  border-radius: 12px;
  margin-top: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  justify-content: center;
}

.esim-popular-card {
  width: 120px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 12px;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 14px;
  color: #333;
  text-align: center;
  cursor: pointer;
}

.esim-popular-card:hover {
  transform: translateY(-4px);
  background-color: #f1f7ff;
  border-color: #007bff;
}

.esim-popular-card img {
  border-radius: 6px;
  margin-bottom: 8px;
  width: 48px;
  height: 36px;
  object-fit: cover;
  display: block;
  margin: 0 auto 8px;
}

.loading, .error-msg, .info-msg {
  text-align: center;
  padding: 10px;
  color: #666;
  font-style: italic;
}

.error-msg {
  color: #c00;
}

.info-msg {
  color: #007bff;
}