.esim-deltavn-container {
  max-width: 100%;
}

.esim-deltavn-filter {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.esim-deltavn-filter .form-item {
  width: 100%;
  display: block;
}
.esim-deltavn-filter .form-item label {
  display: block;
}

.esim-deltavn-filter .form-item input,
.esim-deltavn-filter .form-item select {
  display: block;
  width: 100%;
  height: 40px;
}

.esim-deltavn-table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.esim-deltavn-table th,
.esim-deltavn-table td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
  vertical-align: top;
  word-break: break-word;
  max-width: 300px;
  min-width: 80px;
}

.esim-deltavn-table th {
  background-color: #f2f2f2;
  font-weight: bold;
}

.esim-deltavn-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}


@media screen and (max-width: 768px) {
  .esim-deltavn-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* Nút "đã thêm" ở list */
.esim-addtocart-btn {
  min-width: 100px;
}

.esim-addtocart-btn.in-cart {
  background: #16a34a;
  color: #fff;
}

/* Cắt mô tả dài */
.limit-text {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.limit-toggle {
  display: inline-block;
  color: #0073aa;
  cursor: pointer;
  margin-top: 5px;
  font-size: 12px;
}

/* Popup trong Lity */
.lity .limit-popup{
  background:#fff; color:#111; padding:22px 24px; border-radius:12px;
  max-width:860px; max-height:80vh; overflow:auto; box-shadow:0 10px 30px rgba(0,0,0,.25)
  /* font */
}
.lity .limit-popup__title{font-size:18px;font-weight:600;margin:0 0 10px}
.lity .limit-popup__body{font-size:14.5px;line-height:1.7;word-break:break-word;white-space:pre-wrap}

/* Danh sách đẹp hơn */
.lity .limit-popup__body ul{list-style:disc;padding-left:1.25rem;margin:0}
.lity .limit-popup__body li+li{margin-top:6px}

/* Dark mode (nếu site đang dark) */
.dark .lity .limit-popup{background:#0f172a;color:#e5e7eb}
.dark .limit-toggle{color:#60a5fa}

/* FAB order */
#esim-cart-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
}

#esim-cart-fab .button {
  padding: 12px 16px;
  border-radius: 999px;
}

/* User manager */
.link-delete.button {
  background: transparent;
  border: none;
}

/* Container & notices */
.esim-user-manager {
  max-width: 1100px;
  margin: 0 auto;
}
.esim-um-notice {
  margin: 10px 0;
  padding: 10px;
  border: 1px solid;
  border-radius: 8px;
}
.esim-um-notice.--ok {
  color: #16a34a;
  border-color: #16a34a;
}
.esim-um-notice.--err {
  color: #dc2626;
  border-color: #dc2626;
}

/* Create form */
.esim-um-create {
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  max-width: 520px;
  margin-bottom: 20px;
}
.esim-um-create h3 {
  margin-top: 0;
}
.esim-um-field {
  margin: 10px 0;
}
.esim-um-input {
  width: 100%;
  padding: 8px;
}

/* Table */
#esim-um-table {
  width: 100%;
}
#esim-um-table th,
#esim-um-table td {
  vertical-align: middle;
}
#esim-um-table .um-input {
  width: 100%;
  padding: 6px;
}

#esim-um-table .um-input:read-only {
  border: none;
  box-shadow: none;
  cursor: default;
}

/* Actions */
.esim-um-actions {
  white-space: nowrap;
  display: flex;
  gap: 6px;
  align-items: center;
}
.esim-um-actions .button-danger {
  background: #ef4444;
  color: #fff;
  border: none;
}

/* */

.esim-deltavn-filter select[name="country[]"] {
  height: 40px !important;
  overflow: hidden;
}
.esim-deltavn-filter .choices__inner {
  padding: 0;
  background: none;
  border: none;
}

.esim-deltavn-filter .choices__inner .choices__input {
  width: 100% !important;
}