* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.fade-in-center {
  animation: fadeInCenter 0.25s ease forwards;
  opacity: 0;
}

.filter-bar input {
  width: 100%;
  padding: 8px 12px 8px 34px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.filter-bar input:focus {
  border-color: #3498db;
}

.filter-bar .search-wrapper {
  flex: 1;
  position: relative;
  min-width: 220px;
}

.filter-bar .search-wrapper img {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  width: 16px;
  opacity: 0.6;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-4px);
  }

  75% {
    transform: translateX(4px);
  }
}

.aem-input.error {
  animation: shake 0.2s ease-in-out;
}


.owner-popup-wrapper {
  position: relative;
}

.owner-input {
  margin-bottom: 0 !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  padding: 10px 12px !important;
}

.owner-dropdown {
  background: #fff;
  border: 1px solid #e3e6ea;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  list-style: none;
  max-height: 220px;
  overflow-y: auto;
  padding: 0;
  margin: 0;
  display: none;
  z-index: 99999;
  transition: all 0.15s ease;
}

.quote-wrapper {
  max-width: 1200px;
  margin: 30px auto;
  background: #fff;
  border-radius: 10px;
}

.quote-header {
  display: flex;
  justify-content: space-between;
  background-color: #5a6d75;
  color: #fff;
  border-radius: 10px 10px 0 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quote-header div {
  flex: 1;
  text-align: center;
  padding: 14px 0;
}

.quote-header .active {
  background-color: #fcb900;
  color: #000;
}

.quote-body {
  padding: 30px 40px;
  flex-wrap: wrap;
  gap: 40px;
}

.quote-section {
  flex: 1;
  min-width: 420px;
}

.quote-section h3,
.quote-intro h3,
.container-fluids h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 15px;
  margin-top: 15px;
  color: #222;
  border-left: 5px solid #fcb900;
  padding-left: 10px;
}

input.border-danger,
select.border-danger,
textarea.border-danger {
  border: 2px solid #dc3545 !important;
  background-color: #fff5f5;
}

.form-box {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fafafa;
  padding: 20px 25px;
}

.form-group {
  margin-bottom: 15px;
}

.form-label {
  display: block;
  font-weight: 500;
  color: #333;
  margin-bottom: 5px;
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: all 0.2s ease-in-out;
}

.form-control:focus {
  border-color: #fcb900;
  outline: none;
  box-shadow: 0 0 0 2px rgba(252, 185, 0, 0.25);
}

.duration-select:disabled {
  opacity: 0.6;
  pointer-events: none;
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 8px 35px 8px 10px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.4;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: all 0.2s ease;
}

select.form-control:hover {
  border-color: #aaa;
}

select.form-control:disabled {
  background-color: #f5f5f5;
  color: #888;
  cursor: not-allowed;
}

select.form-control {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23777' viewBox='0 0 20 20'%3E%3Cpath d='M5.23 7.21a.75.75 0 011.06.02L10 10.94l3.71-3.71a.75.75 0 111.06 1.06l-4.24 4.25a.75.75 0 01-1.06 0L5.25 8.29a.75.75 0 01-.02-1.08z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px 16px;
}

#services-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.addServiceItem {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 10px;
  align-items: start;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 14px 7px 11px 16px;
  position: relative;
  transition: 0.2s;
}

.addServiceItem:hover {
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.addServiceItem input {
  flex: 1;
  min-width: 0;
}

.summary-quote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none !important;
  padding: 0 !important;
  margin-top: 12px;
  background: none !important;
}



.summary-quote .price-total {
  align-items: center;
  gap: 6px;
}

.summary-quote .price-total label {
  font-weight: 600;
  margin: 0;
}

.summary-quote .price-total input {
  width: 140px;
  text-align: right;
  font-weight: 600;
}

@media (max-width: 768px) {
  .addServiceItem {
    flex-direction: column;
  }

  .summary-quote {
    align-items: flex-start;
    gap: 8px;
    display: flex;
  }
}

.addServiceItem .remove-btn {
  position: absolute;
  top: 5px;
  right: 8px;
  border: none;
  background: none;
  color: #d33;
  font-size: 18px;
  cursor: pointer;
}

.addServiceItem .form-group {
  display: flex;
  flex-direction: column;
}

.addServiceItem .remove-btn:hover {
  color: #a00;
}

@media (max-width: 992px) {
  .addServiceItem {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.addServiceBtn {
  background-color: #fcb900;
  color: #000;
  border: none;
  font-weight: 500;
  border-radius: 6px;
  padding: 8px 14px;
  margin-top: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.addServiceBtn:hover {
  background-color: #e3a700;
}

.submit-btn {
  width: 100%;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 20px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.submit-btn:hover {
  background-color: #333;
}

@media (max-width: 992px) {
  .quote-body {
    flex-direction: column;
    padding: 25px;
  }
}

.owner-item {
  padding: 8px 12px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.owner-item:hover {
  background: #f0f7ff;
}

.owner-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.owner-input {
  border-radius: 8px !important;
  padding: 10px 12px !important;
  font-size: 15px !important;
}

.owner-email {
  font-weight: 500;
  color: #333;
  font-size: 14px;
}

.owner-name {
  color: #888;
  font-size: 13px;
}


#emailInput {
  width: 400px !important;
}

.danger {
  color: red !important;
}

.login-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99999 !important;
  align-items: center;
  justify-content: center;
}

.login-form {
  background: white;
  border-radius: 16px;
  padding: 32px;
  width: 90%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

/* Nút Filters */
.filter-btn {
  padding: 6px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
  color: #374151;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: 0.2s;
}

.filter-btn i {
  font-size: 13px;
  color: #6b7280;
}

.filter-btn:hover {
  background: #f9fafb;
}

.status {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  /* bo tròn full pill */
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}

.pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding: 8px 12px;
  font-size: 14px;

  background: rgba(0, 0, 0, 0.03);
  /* xám nhạt trong suốt */
  border-radius: 8px;
}

.pagination-info {
  color: #555;
  font-weight: 500;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-buttons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-buttons button {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 50%;
  transition: background 0.2s;
  color: #333;
}

.action-menu {
  position: relative;
  display: inline-block;
}

.action-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 6px;
  color: #555;
}

.fade-in {
  animation: fadeSlideUp 0.8s ease both;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.action-dropdown {
  position: absolute;
  left: 0;
  top: 28px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 150px;
  width: max-content;
  z-index: 9999;
  list-style: none;
  padding: 5px 0;
}


.action-dropdown li {
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #333;
  white-space: nowrap;
}

.action-dropdown li:hover {
  background: #f5f5f5;
}


.action-dropdown li button {
  width: 100%;
  /* vừa với item, không full cell */
  padding: 8px 12px;
  border: none;
  background: none;
  text-align: left;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}



.page-buttons button:hover {
  background: rgba(0, 0, 0, 0.08);
  /* hover hơi đậm hơn */
}

.page-buttons button.active {
  background: #000;
  color: #fff;
}

/* Đã thanh toán */
.status.done {
  background-color: rgba(5, 150, 105, 0.1);
  /* xanh trong nhạt */
  color: #059669;
  /* xanh chữ */
}

.status.updating {
  background-color: rgba(37, 99, 235, 0.1);
  /* xanh dương nhạt */
  color: #2563eb;
  /* xanh dương chữ */
}

/* Chưa thanh toán */
.status.expired {
  background-color: rgba(220, 38, 38, 0.1);
  /* đỏ trong nhạt */
  color: #dc2626;
  /* đỏ chữ */
}

.status.almost-expired {
  background-color: rgba(234, 179, 8, 0.15);
  color: #b45309;
}





.date-range-btn:hover {
  background: #f9fafb;
}

.date-range-btn:focus,
.date-range-btn.active {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.3);
}

.date-range-btn span {
  flex: 1;
  text-align: left;
  font-size: 13px;
}

.date-range-btn i {
  font-size: 14px;
  color: #374151;
}

/* --- Popup daterangepicker --- */
.daterangepicker {
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  font-family: "Inter", sans-serif;
  padding: 12px 16px;
}

.filter-label {
  font-size: 13px;
  color: #666;
  margin-bottom: 4px;
  display: block;
}

.filter-dropdown {
  position: relative;
  width: 180px;
}

.filter-select-btn:hover,
.date-range-btn:hover {
  border-color: #3498db;
  background: #f9fbff;
}

.filter-select-btn,
.date-range-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.filter-select-menu {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 5px 0;
  width: 180px;
  z-index: 999;
}

.filter-select-menu li:hover {
  background: #f3f6ff;
}

.filter-select-menu li {
  padding: 8px 12px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.filter-select-menu li:hover {
  background: #e6f0ff;
  color: #0d6efd;
}

.filter-select-menu li.active {
  background: #d6e9ff;
  color: #0d6efd;
  font-weight: 600;
  border-radius: 6px;
}

/* Calendar cells */
.daterangepicker .calendar-table td,
.daterangepicker .calendar-table th {
  width: 36px;
  height: 36px;
  line-height: 36px;
  border-radius: 6px !important;
  font-size: 13px;
  cursor: pointer;
  text-align: center;
}

/* Hover */
.daterangepicker .calendar-table td:hover {
  background-color: #e0f2fe;
}

/* Active day */
.daterangepicker td.active,
.daterangepicker td.active:hover {
  background-color: #2563eb !important;
  color: #fff !important;
  font-weight: 600;
}

/* Range highlight */
.daterangepicker td.in-range {
  background-color: #dbeafe;
  color: #1e3a8a;
}

/* Header tháng */
.daterangepicker .calendar-table th.month {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

/* Nút prev/next */
.daterangepicker .calendar-table th.prev,
.daterangepicker .calendar-table th.next {
  font-size: 16px;
  color: #6b7280;
}

.daterangepicker .calendar-table th.prev:hover,
.daterangepicker .calendar-table th.next:hover {
  color: #111827;
}

/* Footer buttons */
.daterangepicker .drp-buttons {
  border-top: none;
  padding: 12px 16px;
}

.daterangepicker .drp-buttons .applyBtn {
  background-color: #2563eb;
  border: none;
  border-radius: 6px;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.daterangepicker .drp-buttons .applyBtn:hover {
  background-color: #1e40af;
}

.daterangepicker .drp-buttons .cancelBtn {
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-right: 8px;
}

.daterangepicker .drp-buttons .cancelBtn:hover {
  background: #f3f4f6;
}

.wp-close-btn {
  font-size: 28px !important;
  /* to hơn */
  font-weight: bold !important;
  color: #333 !important;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.search-hosting-input,
.search-user-input,
.search-email-input,
.search-domain-input,
.search-order-input {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  background: #f7f8fc;
  color: #333;
  padding: 10px 20px 9px 70px;
}

.wp-close-btn:hover {
  background: rgba(0, 0, 0, 0.08);
}

/* Overlay */
.wp-pass-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
}

/* Modal */
.wp-pass-modal {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  width: 500px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .25);
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
  animation: fadeInUp .25s ease;
}

.d-none {
  display: none !important;
}

.submenu {
  display: none !important;
}

.submenu.is-open {
  display: block !important;
}


.form-field:has(input:disabled) {
  background: #d0cfcf;
  border-color: #ccc;
  opacity: 0.7;
  cursor: not-allowed;
}

.form-field:has(input:focus) {
  border-color: #007bff;
  box-shadow: 0 0 4px rgba(0, 123, 255, 0.4);
}

/* Title */
.wp-pass-modal h3 {
  margin: 0 0 12px 0;
  font-size: 18px;
  font-weight: 600;
}

/* Input styled giống swal2-input */
.wp-pass-input {
  box-sizing: border-box;
  width: 100%;
  padding: 10px;
  margin: 12px 0;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 15px;
  transition: border-color .3s, box-shadow .3s;
}

/* Wrapper cho input + icon */
.wp-pass-input-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  /* khoảng cách giữa input và icon */
}

.wp-pass-actions-inline {
  display: flex;
  gap: 4px;
}

.wp-pass-btn {
  border: none;
  background: #f5f5f5;
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
}

.wp-pass-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #666;
}

.wp-pass-input:focus {
  border-color: #b4dbed;
  outline: none;
  box-shadow: 0 0 0 3px rgba(100, 150, 200, .3);
}

.fade-out-center {
  animation: fadeOutCenter 0.25s ease-in forwards;
}

.wp-account-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 10000;
}

.wp-account-popup {
  font-family: 'Segoe UI', sans-serif;
  padding: 20px 24px;
  color: #333;
  font-size: 15px;
  text-align: left;
  max-height: 70vh;
  overflow-y: auto;
}

@keyframes fadeInCenter {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes fadeOutCenter {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
}

.submenu-arrow.rotated {
  transform: rotate(180deg);
}


#orderModalPopup {
  position: fixed;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1000px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  background: white;
  padding: 20px 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  z-index: 9998;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
}

#orderModalPopup table {
  width: 100%;
  margin-bottom: 10px;
  word-wrap: break-word;
  border-collapse: collapse;
}

#orderModalPopup th,
#orderModalPopup td {
  border: 1px solid #ccc;
  padding: 8px;
  word-break: break-word;
}

#orderModalPopup .header-info {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 14px;
  flex-wrap: wrap;
}

#orderModalPopup .qr-section {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 24px 0;
  flex-wrap: wrap;
}

#orderModalPopup button {
  white-space: nowrap;
  max-width: 100%;
}

.submenu {
  margin-left: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.submenu a.sidebar-subitem {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 28px;
  font-size: 13px;
  color: #ccc !important;
  /* ép màu xám */
  text-decoration: none !important;
  /* bỏ gạch chân */
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
  margin-bottom: 8px;
}

.submenu a.sidebar-subitem:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;

}

.has-submenu {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.submenu-arrow {
  margin-left: auto;
  font-size: 12px;
  color: #999;
  transition: transform 0.2s ease;
  transform: rotate(0deg);
  /* mặc định hướng xuống */
}

/* Khi submenu mở thì xoay ngược lên */
.has-submenu.open .submenu-arrow {
  transform: rotate(180deg);
  /* xoay 180° để thành mũi tên lên */
  color: #fff;
}

@media (max-width: 768px) {
  #orderModalPopup {
    width: 100%;
    padding: 16px;
    font-size: 14px;
  }

  #orderModalPopup table td,
  #orderModalPopup table th {
    font-size: 13px;
    padding: 6px;
  }

  #orderModalPopup .header-info {
    flex-direction: column;
    gap: 16px;
  }

  #orderModalPopup .qr-section {
    flex-direction: column;
    align-items: center;
  }

  #orderModalPopup .qr-section img {
    width: 180px !important;
    height: 180px !important;
  }

  #orderModalPopup .qr-section div:last-child {
    text-align: center;
  }

  #orderModalPopup button {
    width: 100%;
    font-size: 15px;
  }

  #orderModalPopup #refreshOrderStatus {
    width: 100%;
    font-size: 15px;
    justify-content: center;
    margin-top: 8px;
    padding: 10px;
    box-sizing: border-box;
  }
}

.checkout-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.checkout-left,
.checkout-right {
  flex: 1;
  min-width: 300px;
}

.order-box {
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
  font-size: 10px;
  padding: 10px 7px 10px 8px;
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}


.order-label {
  font-weight: bold;
  font-size: 18px;
}

.order-name {
  font-size: 16px;
  margin-top: 2px;
}

.order-actions {
  text-align: right;
}

.order-price {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.order-price .current {
  font-size: 24px;
  font-weight: 700;
}

.order-price .currency {
  font-size: 14px;
  position: relative;
  top: -6px;
  font-weight: bold;
}

.order-price .old {
  font-size: 16px;
  color: #888;
  text-decoration: line-through;
  margin-left: 8px;
}

.currency {
  font-size: 0.7em;
  /* nhỏ hơn số */
  vertical-align: super;
  /* nhảy lên như mũ số */
  margin-left: 1px;
  /* cách nhẹ cho đẹp */
}

.order-price .old .currency {
  font-size: 12px;
  position: relative;
  top: -4px;
}

.order-save {
  font-size: 14px;
  color: red;
  margin-top: 4px;
}

.remove-btn {
  background: transparent;
  border: none;
  cursor: pointer;
}

.remove-btn i {
  font-size: 22px;
  color: black;
}

.remove-btn:hover {
  color: #d00;
}

.order-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.order-options label {
  font-weight: bold;
  font-size: 16px;
}

.order-options select {
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
}

.register-button {
  padding: 10px 20px;
  font-weight: bold;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  color: #fff;
  margin-top: 20px;
}

.startup-btn,
.mail1-btn {
  background-color: #2174d8;
}

.semipro-btn,
.mail2-btn {
  background-color: #d17620;
}

.pro01-btn,
.mail3-btn {
  background-color: #b81e56;
}


/* bảng tóm tắt */
.order-summary {
  margin-top: 12px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin: 6px 0;
  font-size: 15px;
}

.summary-row strong {
  font-weight: 600;
}

.summary-row.total {
  font-size: 16px;
  font-weight: 700;
  margin-top: 10px;
}

.payment-option {
  display: flex;
  align-items: center;
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  margin: 12px 0;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.payment-option:hover {
  border-color: #007bff;
  box-shadow: 0 0 6px rgba(0, 123, 255, 0.3);
}

.payment-option input[type="radio"] {
  display: none;
}


.payment-option .custom-radio {
  width: 20px;
  height: 20px;
  border: 2px solid #007bff;
  border-radius: 50%;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}


.payment-option .custom-radio::after {
  content: "";
  width: 10px;
  height: 10px;
  background: #007bff;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s;
}

.payment-option input[type="radio"]:checked+.custom-radio::after {
  opacity: 1;
}

.payment-info {
  flex: 1;
}

.payment-text {
  font-weight: 600;
  margin-bottom: 4px;
}

.payment-amount {
  font-size: 15px;
  font-weight: 500;
  color: #333;
}

.payment-summary {
  font-size: 14px;
  font-weight: 600;
  margin: 8px 0;
  color: #333;
}

.payment-option input[type="radio"] {
  margin-top: 4px;
  /* đẩy radio xuống một chút */
  accent-color: #1976d2;
  /* màu xanh */
  transform: scale(1.2);
}

.payment-info {
  display: flex;
  flex-direction: column;
}

.payment-text {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.payment-amount {
  font-size: 15px;
  font-weight: 500;
  color: #000;
}

.payment-amount .currency {
  font-size: 12px;
  position: relative;
  top: -4px;
  /* đ nhô lên */
}

.btn-submit {
  width: 100%;
  padding: 8px;
  background: linear-gradient(90deg, #FF5FA2, #FF7A29);
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 15px;
  cursor: pointer;
  transition: opacity .2s;
}

.btn-submit:hover {
  opacity: 0.85;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label,
.form-group .form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 9px 7px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

.pricing-plans {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  justify-content: center;
  padding: 10px 0;
}

.plan-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.plan {
  flex: 1;
  display: flex;
  position: relative;
  min-height: 200px;
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
  border-radius: 16px;
  overflow: visible;
  box-shadow: 0 3px 18px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  flex-direction: column;
  padding: 20px 16px;
  background-color: white;
  border: 1px solid rgba(0, 0, 0, 0.05);
  max-width: 270px;
  min-width: 220px;
}

.plan:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  z-index: 2;
  cursor: pointer;
}

.plan:nth-child(1) {
  animation-delay: 0.1s;
}

.plan:nth-child(2) {
  animation-delay: 0.3s;
}

.plan:nth-child(3) {
  animation-delay: 0.5s;
}

.plan-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background-color: #2174d8;
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(33, 116, 216, 0.3);
}

.plan-header {
  text-align: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.plan-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #333;
}

.plan-price-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.plan-price {
  padding: 10px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.plan-specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.spec-item {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #333;
}

.spec-item.disabled {
  color: #999;
  text-decoration: line-through;
  opacity: 0.7;
}

.spec-item.disabled .spec-icon {
  color: #999;
}

.spec-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-right: 5px;
}

.startup,
.mail1 {
  color: white;
  border-right: 5px solid #1555a0;
}

.semipro,
.mail2 {
  color: white;
  border-right: 5px solid #d17620;
}

.pro01,
.mail3 {
  color: white;
  border-right: 5px solid #b81e56;
}

.plan.startup,
.plan.mail1 {
  border-top: 4px solid #2174d8;
}

.plan.semipro,
.plan.mail2 {
  border-top: 4px solid #f18d24;
}

.plan.pro01,
.plan.mail3 {
  border-top: 4px solid #df246b;
}

.startup .plan-title,
.mail1 .plan-title {
  color: #2174d8;
}

.semipro .plan-title,
.mail2 .plan-title {
  color: #f18d24;
}

.pro01 .plan-title,
.mail3 .plan-title {
  color: #df246b;
}

.startup .spec-icon,
.mail1 .spec-icon {
  color: #2174d8;
}

.semipro .spec-icon,
.mail2 .spec-icon {
  color: #f18d24;
}

.pro01 .spec-icon,
.mail3 .spec-icon {
  color: #df246b;
}

.current-price {
  font-size: 16px;
  font-weight: 700;
  color: #333;
}

.discount-badge {
  background-color: #f5f5f5;
  color: #333;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

.original-price {
  font-size: 14px;
  text-decoration: line-through;
  opacity: 0.6;
  color: #777;
}

.recording-container {
  max-width: 800px;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 999px;
  border: 1px solid #d7dde3;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.04);
  padding: 0 16px;
  gap: 10px;
  min-height: 48px;
  width: 100%;
  position: relative;
  justify-content: space-between;
  margin: 0 auto;
}

.voice-bar-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  background: transparent;
  border-radius: 999px;
  border: none;
  padding: 0 16px;
  gap: 8px;
  min-height: 48px;
}

#waveform {
  flex: 1;
  width: 100%;
  min-width: 240px;
  max-width: 700px;
  height: 36px;
  background: transparent;
  display: block;
}

/*.voice-wave {*/
/*  width: 100%;*/
/*  min-width: 240px;*/
/*  max-width: 600px;*/
/*  height: 18px;*/
/*  display: flex;*/
/*  align-items: center;*/
/*  position: relative;*/
/*  overflow: hidden;*/
/*}*/

/*.wave-dot {*/
/*  width: 2.5px;*/
/*  height: 9px;*/
/*  border-radius: 2px;*/
/*  background: #888;*/
/*  margin: 0 0.9px;*/
/*  animation: waveMove 1.1s infinite linear;*/
/*  opacity: 0.75;*/
/*}*/

/*.wave-dot.active {*/
/*  height: 18px;*/
/*  background: #222;*/
/*  opacity: 1;*/
/*}*/

/*@keyframes waveMove {*/
/*  0%, 100% { height: 9px; background: #888; }*/
/*  40%      { height: 18px; background: #222; }*/
/*  80%      { height: 9px; background: #888; }*/
/*}*/

.record-action-btns {
  display: flex;
  align-items: center;
  gap: 0;
}

.cancel-btn svg {
  stroke: #2d2d2d;
  stroke-width: 2.2;
  width: 22px;
  height: 22px;
}

.icon-btn {
  background: transparent;
  border: none !important;
  border-radius: 50% !important;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.14s, box-shadow 0.18s;
  margin-left: 10px;
  margin-right: 0;
  padding: 0;
  outline: none;
}

.cancel-btn svg,
.confirm-btn svg {
  stroke: #222;
  stroke-width: 2.2;
  width: 22px;
  height: 22px;
}

.icon-btn svg {
  opacity: 0.93;
  background: none;
}

.confirm-btn svg {
  stroke: #222;
  stroke-width: 2.2;
  width: 22px;
  height: 22px;
}

/* Giảm opacity icon nếu muốn tự nhiên hơn */
.icon-btn svg {
  opacity: 0.95;
}

.dots-button {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  color: #ccc;
  font-size: 20px;
  cursor: pointer;
}

.swal2-input-label {
  font-weight: bold;
  font-size: 20px;
}

#closeOrderModal {
  padding: 12px 28px;
  background: linear-gradient(90deg, #FF5FA2, #FF7A29);
  border: none;
  color: white;
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-right: 8px;
}

.btn-payment {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(90deg, #FF5FA2, #FF7A29) !important;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: none;
  width: 250px;
}

.btn-add {
  position: relative;
  width: 220px;
  height: 38px;
  cursor: pointer;
  display: flex;
  align-items: center;
  border: 1px solid #34974d;
  background-color: #3aa856;
}

.btn-add,
.button__icon,
.button__text {
  transition: all 0.3s;
}

.btn-add .button__text {
  transform: translateX(30px);
  color: #fff;
  font-weight: 600;
}

.btn-add .button__icon {
  position: absolute;
  transform: translateX(180px);
  height: 100%;
  width: 39px;
  background-color: #34974d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-add .svg {
  width: 30px;
  stroke: #fff;
}

.btn-add:hover {
  background: #34974d;
}

.btn-add:hover .button__text {
  color: transparent;
}

.btn-add:hover .button__icon {
  width: 220px;
  transform: translateX(0);
}

.btn-add:active .button__icon {
  background-color: #2e8644;
}

.btn-add:active {
  border: 1px solid #2e8644;
}

.btn-pay-later {
  padding: 12px 28px;
  background: #eee;
  color: #333;
  font-weight: 500;
  border-radius: 50px;
  border: none;
  font-size: 15px;
  cursor: pointer;
  width: 250px;
}

.btn-update-payment {
  padding: 12px 28px;
  background: #4caf50;
  color: white;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  font-size: 15px;
  cursor: pointer;
  width: 250px;
}

.swal2-confirm,
.btn-success {
  padding: 12px 28px !important;
  background: linear-gradient(90deg, #FF5FA2, #FF7A29) !important;
  border: none !important;
  color: white !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  border-radius: 50px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  margin-right: 8px !important;
}

.swal2-cancel {
  padding: 12px 28px !important;
  background: #eee !important;
  color: #333 !important;
  border-radius: 50px !important;
  font-weight: 500 !important;
  border: none !important;
}

.swal2-cancel:hover {
  padding: 12px 28px !important;
  background: #eee !important;
  color: #333 !important;
  border-radius: 50px !important;
  font-weight: 500 !important;
  border: none !important;
}



.menu-popup {
  display: none;
  position: absolute;
  top: 36px;
  right: 8px;
  background-color: #1f1f1f;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  min-width: 180px;
  z-index: 1000;
  overflow: hidden;
  font-size: 14px;
}

.dns-action-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.dns-action-buttons .dns-btn {
  display: inline-flex !important;
  width: auto !important;
  min-width: 112px;
  justify-content: center;
  align-items: center;
  padding: 6px 14px;
  height: 40px;
}

.menu-item {
  padding: 10px 16px;
  color: #eee;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s;
}

.menu-item:hover {
  background-color: #2a2a2a;
}

.menu-item.delete {
  color: #ff4d4f;
  border-top: 1px solid #333;
}

.logout-btn {
  color: #111111 !important;
  border: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  text-decoration: none !important;
}

.submenu-arrow {
  margin-left: auto;
  font-size: 10px;
  color: #999;
}

.disabled-pay-btn,
.disabled-open-form-btn {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  pointer-events: none;
  box-shadow: none !important;
  filter: grayscale(50%);
}

.handle-pay:disabled,
open-form-btn:disabled {
  filter: grayscale(60%) brightness(95%);
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
  pointer-events: none;
}

.whois-modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.whois-info {
  max-height: 300px;
  /* hoặc 400px tùy thiết kế */
  overflow-y: auto;
  padding-right: 10px;
  /* để tránh che nội dung khi scroll */
}

.whois-info::-webkit-scrollbar {
  width: 6px;
}

.whois-info::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.whois-modal-content {
  background: white;
  border-radius: 8px;
  padding: 24px;
  width: 500px;
  max-width: 90%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  position: relative;
}

.whois-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.whois-title {
  font-size: 18px;
  margin-bottom: 20px;
}

.whois-domain-name {
  color: orange;
}

.whois-info p {
  margin: 8px 0;
}

.swal-confirm-btn {
  padding: 12px 28px;
  background: linear-gradient(90deg, #FF5FA2, #FF7A29);
  border: none;
  color: white;
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-right: 8px;
}

.swal-cancel-btn {
  padding: 12px 28px;
  background: #eee;
  color: #333;
  border-radius: 50px;
  font-weight: 500;
  border: none;
}

.chat-sidebar {
  z-index: 2000;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 260px;
  background-color: #202123;
  border-right: 1px solid #333;
  padding: 12px;
  overflow: hidden;
  transition: width 0.3s ease;
  color: #dadce0;
  font-size: 14px;
}

.chat-sidebar.collapsed {
  width: 60px;
}

.header.collapsed .logo {
  margin-left: 0;
}

.service-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  width: 280px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.service-card h3 {
  margin-top: 16px;
  font-size: 20px;
  font-weight: 600;
}

.service-card p {
  font-size: 14px;
  color: #666;
  margin: 12px 0 16px;
}

.service-card button {
  background: #111;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 32px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s ease;
}

.action-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.action-buttons button {
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  transition: all 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.action-buttons button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.action-buttons button:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.action-buttons button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Màu nút chuyên nghiệp với gradient nhẹ */
.bg-green {
  background: linear-gradient(135deg, #28a745 0%, #218838 100%);
}

.bg-yellow {
  background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
  color: #333;
}

.bg-blue {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.bg-purple {
  background: linear-gradient(135deg, #6f42c1 0%, #5a32a3 100%);
}

.bg-red {
  background: linear-gradient(135deg, #dc3545 0%, #bd2130 100%);
}

.bg-orange {
  background: linear-gradient(135deg, #fd7e14 0%, #e8590c 100%);
}

.bg-dark-green {
  background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
}

/* Tablet: 2 columns */
@media (max-width: 768px) and (min-width: 481px) {
  .action-buttons {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .action-buttons button {
    font-size: 12px;
    padding: 9px 14px;
  }
}

/* Mobile: Stack with priority grouping */
@media (max-width: 480px) {
  .action-buttons {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .action-buttons button {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
    font-size: 13px;
  }

  /* Primary actions có thể được highlight */
  .action-buttons .bg-green,
  .action-buttons .bg-yellow {
    order: -1;
    /* Đưa lên đầu */
  }
}

/* Tablet nhỏ: Cách bố trí linh hoạt hơn */
@media (max-width: 640px) and (min-width: 481px) {
  .action-buttons {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

/* Animation cho disabled state */
@media (prefers-reduced-motion: no-preference) {
  .action-buttons button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
}

.service-card button:hover {
  background: #333;
}

.pagination-buttons button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  position: relative;
}

.sidebar-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  cursor: pointer;
  transition: opacity 0.2s;
}

.sidebar-title {
  margin-left: 8px;
  font-size: 16px;
  font-weight: bold;
  white-space: nowrap;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.chat-sidebar.collapsed .sidebar-title {
  opacity: 0;
}

.sidebar-toggle-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #5f6368;
  transition: color 0.2s, opacity 0.2s;
  opacity: 1;
  position: absolute;
  top: 0;
  right: 0;
}

.sidebar-toggle-btn:hover {
  color: #dadce0;
}

.chat-sidebar.collapsed .sidebar-toggle-btn {
  opacity: 0;
  pointer-events: none;
}

.chat-sidebar.collapsed .sidebar-header:hover .sidebar-toggle-btn {
  opacity: 1;
  pointer-events: auto;
}

.chat-sidebar.collapsed .sidebar-header:hover .sidebar-icon {
  opacity: 0;
}

.chat-sidebar.collapsed .sidebar-header:hover .sidebar-toggle-btn svg {
  margin-right: 6px;
}

.sidebar-group {
  margin-bottom: 24px;
}

.sidebar-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  color: #5f6368;
  margin: 8px 0 4px 12px;
  white-space: nowrap;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.chat-sidebar.collapsed .sidebar-group-title {
  opacity: 0;
}

.sidebar-group-icon {
  font-size: 14px;
  color: #8a8a8a;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.15s, color 0.15s;
  margin-bottom: 8px;
  white-space: nowrap;
}

.sidebar-item-icon {
  font-size: 16px;
  color: #8a8a8a;
  flex-shrink: 0;
  transition: color 0.15s;
}

.sidebar-item span {
  opacity: 1;
  transition: opacity 0.2s ease;
}

.chat-sidebar.collapsed .sidebar-item span {
  opacity: 0;
}

.sidebar-item:hover {
  background-color: #343541;
  color: #fff;
}

.sidebar-item:hover .sidebar-item-icon {
  color: #fff;
}

/* ✅ Force ẩn submenu cho user thường - KHÔNG có transition */
.sidebar-item.no-submenu+.submenu,
.sidebar-item.no-submenu~.submenu {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  max-height: 0 !important;
  transition: none !important;
  /* ✅ Tắt transition */
  animation: none !important;
  /* ✅ Tắt animation */
}

/* ✅ Đảm bảo submenu không hiển thị khi có class d-none */
.submenu.d-none {
  display: none !important;
  transition: none !important;
}

/* ✅ Loại bỏ arrow cho user thường */
.sidebar-item.no-submenu .submenu-arrow {
  display: none !important;
}

/* ✅ Đảm bảo không có hover/focus/active effect cho no-submenu */
.sidebar-item.no-submenu:hover+.submenu,
.sidebar-item.no-submenu:focus+.submenu,
.sidebar-item.no-submenu:active+.submenu,
.sidebar-item.no-submenu:hover~.submenu,
.sidebar-item.no-submenu:focus~.submenu,
.sidebar-item.no-submenu:active~.submenu {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.form-field.owner-group {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 16px;
  margin-top: 15px;
  display: flex;
  align-items: center;
  /* canh giữa theo chiều dọc */
  gap: 20px;
  /* khoảng cách giữa label và nhóm radio */
}

.form-field.owner-group legend {
  font-weight: 600;
  color: #222;
  font-size: 14px;
  margin: 0;
  padding: 0;
  width: auto;
}

.form-field.owner-group label {
  font-size: 14px !important;
  color: #333;
  cursor: pointer;
  margin-right: 15px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.form-field.owner-group input[type="radio"] {
  accent-color: #1976d2;
  margin: 0;
}

.form-field.select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 12px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-field.select-wrapper:focus-within {
  border-color: #4a90e2;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.15);
}

.form-field.select-wrapper i {
  color: #666;
  margin-right: 10px;
  font-size: 14px;
}

.custom-select {
  position: relative;
  width: 100%;
}

.custom-select input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.custom-select-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-top: 4px;
  max-height: 180px;
  overflow-y: auto;
  z-index: 1000;
  list-style: none;
  padding: 0;
}

.custom-select-list li {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
}

.custom-select-list li:hover {
  background: #f0f0f0;
}

.form-field.select-wrapper select {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px !important;
  color: #333;
  cursor: pointer;
  padding: 8px 10px;
  /* thêm padding trong select */
  padding-right: 25px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  line-height: 1.5;
}

/* Style option trong dropdown */
.form-field.select-wrapper select option {
  padding: 10px 12px;
  /* thêm khoảng cách trái phải */
  font-size: 14px;
}

/* Custom mũi tên */
.form-field.select-wrapper::after {
  content: "\f078";
  /* FontAwesome: chevron-down */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: 12px;
  font-size: 12px;
  color: #888;
  pointer-events: none;
}

/* Style option trong dropdown */
.form-field.select-wrapper select option {
  padding: 10px;
  font-size: 14px;
}

/* Style hover option (tuỳ trình duyệt) */
.form-field.select-wrapper select option:hover {
  background: #f0f8ff;
}

.sidebar-item.active,
.sidebar-subitem.active {
  background-color: #40414f !important;
  color: #fff !important;
}


.application-form-wrapper {
  font-family: 'Segoe UI', sans-serif;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  max-width: 800px;
  margin: 15px auto;
  color: #333;
}

.application-form-wrapper h5 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #222;
}

.application-form-wrapper p {
  font-size: 13px;
  margin-bottom: 18px;
  color: #666;
}

.form-field {
  display: flex;
  align-items: center;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 14px;
  padding: 10px 12px;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.form-field i {
  margin-right: 10px;
  font-size: 14px;
  color: #888;
}

.form-field input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  background: transparent;
  color: #333;
}

.form-field:focus-within {
  border-color: #1976d2;
  box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.15);
}

.form-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

.form-footer .btn {
  flex: 1;
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-weight: 600;
}

.form-footer .btn-secondary {
  background: #eee;
  color: #333;
}

.form-footer .btn-secondary:hover {
  background: #ddd;
}

.form-footer .btn-primary {
  background: linear-gradient(90deg, #FF5FA2, #FF7A29);
  color: #fff;
}

.form-footer .btn-primary:hover {
  opacity: 0.9;
}

.main-wrapper {
  height: var(--app-height);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.main-wrapper,
.header {
  margin-left: 260px;
  width: calc(100% - 260px);
  transition: margin-left 0.3s ease, width 0.3s ease;
}

.main-wrapper.collapsed,
.header.collapsed {
  margin-left: 60px;
  width: calc(100% - 60px);
}

.otp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.otp-card {
  width: 400px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

#resendCodeBtn:hover {
  text-decoration: underline;
}

body.no-scroll,
html.no-scroll {
  overflow: hidden !important;
}

#loginOverlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none;
  overscroll-behavior: none;
}

#whois-content table {
  width: 100%;
  font-size: 15px;
  border-collapse: collapse;
}

#whois-content td {
  padding: 6px 12px;
  vertical-align: top;
}

#whois-content td:first-child {
  font-weight: bold;
  width: 150px;
  color: #333;
}

.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

.otp-card h6 {
  color: #000;
  font-size: 18px;
  margin-bottom: 10px;
}

.btn-otp {
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #000;
  color: #ffffff;
  border-radius: 20px;
}

.inputs input {
  width: 44px;
  height: 44px;
  font-size: 18px;
  text-align: center;
  border: 1px solid #ccc;
}

.form-control:focus {
  box-shadow: none;
  border: 2px solid #000;
}

.swal2-actions {
  gap: 10px;
}

.show-more-wrapper {
  padding-top: 10px;
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid #ccc;
  border-top: 3px solid #3498db;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: auto;
  margin-right: auto;
}

.hosting-table-wrapper,
.order-table-wrapper,
.user-table-wrapper,
.domain-table-wrapper,
.email-table-wrapper {
  font-size: 14px;
  overflow: visible;
}

.pagination-buttons button {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  transition: all 0.2s ease;

}

.dashboard-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.summary-card {
  background: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
}

.summary-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.summary-card div div:first-child {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.summary-card div div:last-child {
  font-size: 13px;
  color: #888;
}

.pagination-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 12px;
  gap: 10px;
}

.pagination-buttons button:hover {
  background: #3498db;
  color: #fff;
  border-color: #3498db;
}

table.email-table {
  width: 100%;
  min-width: 650px;
  font-size: 13px;
  border-collapse: collapse;
}

table.email-table th,
table.email-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #eee;
  text-align: center;
  white-space: nowrap;
}

table.email-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #444;
}

table.email-table tr:hover td {
  background: #fdfdfd;
}

table.hosting-table th,
table.hosting-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #eee;
  text-align: center;
  white-space: nowrap;
}

table.hosting-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #444;
}

table.hosting-table tr:hover td {
  background: #fdfdfd;
}

.scroll-inner::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
  height: 100%;
  background: linear-gradient(to left, white, transparent);
  pointer-events: none;
}

@media (max-width: 768px) {
  .summary-card i {
    font-size: 22px;
  }

  .summary-card div div:first-child {
    font-size: 16px;
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-bar .filter-select-btn,
  .filter-bar .search-wrapper {
    width: 100%;
  }

  .filter-select-menu {
    width: 100%;
  }

  .pagination-footer {
    display: flex;
    justify-content: flex-end;
  }

  .action-dropdown {
    right: auto !important;
    left: 220.172px !important;
  }

  .dropdown-hosting {
    left: 75.953px !important;
  }
}


table.hosting-table {
  width: 100%;
  font-size: 13px;
  border-collapse: collapse;
}

.scroll-inner {
  overflow-x: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

@media (pointer: coarse) {
  .scroll-inner {
    overscroll-behavior: contain;
    touch-action: manipulation;
  }
}

.user-table thead th {
  position: sticky;
  top: 0;
  background: #f8f9fa;
  z-index: 2;
  box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.05);
}

.order-table thead th {
  position: sticky;
  top: 0;
  background: #f8f9fa;
  z-index: 2;
  box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.05);
}

.hosting-table,
.order-table,
.user-table,
.domain-table,
.email-table {
  min-width: 720px;
  width: 100%;
  border-collapse: separate;
  border: 1px solid #ccc;
  border-radius: 12px;
  font-size: 14px;
}



.domain-placeholder td {
  padding: 12px 15px;
}

/* Hosting table stabilization */
.hosting-table,
.email-table,
.domain-table,
.order-table {
  border-collapse: collapse;
}

.hosting-table th:nth-child(1),
.hosting-table td:nth-child(1) {
  width: 5%;
  text-align: center;
  vertical-align: middle;
}

.hosting-table th:nth-child(2),
.hosting-table td:nth-child(2) {
  width: 15%;
  text-align: center;
  vertical-align: middle;
}

.hosting-table th:nth-child(3),
.hosting-table td:nth-child(3) {
  width: 12%;
  text-align: center;
  vertical-align: middle;
}

.hosting-table th:nth-child(4),
.hosting-table td:nth-child(4) {
  width: 20%;
  text-align: center;
  vertical-align: middle;
}

.hosting-table th:nth-child(5),
.hosting-table td:nth-child(5) {
  width: 27%;
  text-align: center;
  vertical-align: middle;
}

.hosting-table th:nth-child(6),
.hosting-table td:nth-child(6) {
  width: 12%;
  text-align: center;
  vertical-align: middle;
}

.email-table th:nth-child(1),
.email-table td:nth-child(1),
.domain-table th:nth-child(1),
.domain-table td:nth-child(1) {
  width: 18%;
  text-align: center;
  vertical-align: middle;
}

.email-table th:nth-child(2),
.email-table td:nth-child(2),
.domain-table th:nth-child(2),
.domain-table td:nth-child(2) {
  width: 15%;
  text-align: center;
  vertical-align: middle;
}


.email-table th:nth-child(3),
.email-table td:nth-child(3),
.domain-table th:nth-child(3),
.domain-table td:nth-child(3) {
  width: 20%;
  text-align: center;
  vertical-align: middle;
}

.email-table th:nth-child(4),
.email-table td:nth-child(4),
.domain-table th:nth-child(4),
.domain-table td:nth-child(4) {
  width: 33%;
  text-align: center;
  vertical-align: middle;
}

.email-table th:nth-child(5),
.email-table td:nth-child(5),
.domain-table th:nth-child(5),
.domain-table td:nth-child(5) {
  width: 12%;
  text-align: center;
  vertical-align: middle;
}

.order-table th:nth-child(1),
.order-table td:nth-child(1) {
  width: 17%;
  text-align: center;
  vertical-align: middle;
}

.order-table th:nth-child(2),
.order-table td:nth-child(2) {
  width: 15%;
  text-align: center;
  vertical-align: middle;
}

.order-table th:nth-child(3),
.order-table td:nth-child(3) {
  width: 23%;
  text-align: center;
  vertical-align: middle;
}

.order-table th:nth-child(4),
.order-table td:nth-child(4) {
  width: 15%;
  text-align: center;
  vertical-align: middle;
}

.order-table th:nth-child(5),
.order-table td:nth-child(5) {
  width: 31%;
  text-align: center;
  vertical-align: middle;
}


.order-table th:nth-child(6),
.order-table td:nth-child(6) {
  width: 15%;
  text-align: center;
  vertical-align: middle;
}


.user-table th:nth-child(1),
.user-table td:nth-child(1) {
  width: 23%;
  text-align: center;
  vertical-align: middle;
}

.user-table th:nth-child(2),
.user-table td:nth-child(2) {
  width: 31%;
  text-align: center;
  vertical-align: middle;
}

.user-table th:nth-child(3),
.user-table td:nth-child(3) {
  width: 15%;
  text-align: center;
  vertical-align: middle;
}

.user-table th:nth-child(4),
.user-table td:nth-child(4) {
  width: 17%;
  text-align: center;
  vertical-align: middle;
}

.user-table th:nth-child(5),
.user-table td:nth-child(5) {
  width: 15%;
  text-align: center;
  vertical-align: middle;
}

.btn-extend-selected {
  background: #3498db;
  border: none;
  color: #fff;
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s ease;
  margin-top: 10px;
}

.btn-extend-selected:hover {
  background: #2980b9;
}

.green {
  color: #219653;
  font-weight: 600;
}

.red {
  color: #eb5757;
  font-weight: 600;
}

#closeEmailDetailModal {
  position: absolute;
  top: 12px;
  right: 18px;
  border: none;
  background: transparent;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
}

#emailModalPopup .email-table th,
#emailModalPopup .email-table td {
  padding: 12px 15px !important;
  white-space: nowrap;
  overflow: hidden;
  /* text-overflow: ellipsis; */
  max-width: 180px;
  text-align: left;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}

#emailModalPopup .email-table {
  table-layout: fixed;
}

.header-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  margin-right: 25px;
  font-size: 15px;
  flex-wrap: wrap;
}

.modal-content {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  outline: 0;
}

.modal-content {
  overflow: hidden;
  border: none;
  position: relative;
  padding: 0 !important;
  -webkit-box-shadow: 0px 10px 34px -15px rgba(0, 0, 0, 0.24);
  -moz-box-shadow: 0px 10px 34px -15px rgba(0, 0, 0, 0.24);
  box-shadow: 0px 10px 34px -15px rgba(0, 0, 0, 0.24);
}

.modal-content .modal-header {
  position: relative;
  padding: 0;
  border: none;
  height: 230px;
  background: #915eff;
  background: -moz-linear-gradient(45deg, #915eff 0%, #ff8e59 100%);
  background: -webkit-gradient(left bottom, right top, color-stop(0%, #915eff), color-stop(100%, #ff8e59));
  background: -webkit-linear-gradient(45deg, #915eff 0%, #ff8e59 100%);
  background: -o-linear-gradient(45deg, #915eff 0%, #ff8e59 100%);
  background: -ms-linear-gradient(45deg, #915eff 0%, #ff8e59 100%);
  background: linear-gradient(45deg, #915eff 0%, #ff8e59 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#915eff', endColorstr='#ff8e59', GradientType=1);
}

.modal-content button.close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0;
  margin: 0;
  width: 40px;
  height: 40px;
  z-index: 1;
  color: #fff;
}

.modal-content .modal-body {
  border: none;
  overflow: hidden;
  margin-top: -180px;
  z-index: 2;
}

.modal-content .modal-body .icon {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  font-size: 30px;
  margin: 0 auto;
  margin-bottom: 10px;
}

.modal-content .modal-body h2 {
  font-weight: 700;
  color: #fff;
}

.modal-content .modal-body h4 {
  font-size: 18px;
}

.modal-content .modal-body h3 {
  font-weight: 800;
  font-size: 22px;
}

.modal-content .modal-body h3 span {
  font-weight: 300;
}

@media (max-width: 768px) {
  .header-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;

  }
}

.hosting-placeholder td {
  padding: 12px 15px;
}

.action-buttons button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  width: auto;
  min-width: 100px;
  white-space: nowrap;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.action-buttons {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 10px !important;
}

@media (max-width: 768px) {
  #hostingModalPopup {
    width: 95% !important;
    max-height: 90vh;
    top: 15% !important;
    padding: 12px !important;
    font-size: 14px;
  }

  #hostingModalPopup table td,
  #hostingModalPopup table th {
    font-size: 13px !important;
    padding: 6px !important;
  }

  #hostingModalPopup h2 {
    font-size: 18px;
  }

  #hostingModalPopup .action-buttons {
    /*flex-direction: column !important;*/
    gap: 10px !important;
  }

  #hostingModalPopup .blur-password {
    max-width: 100px;
    font-size: 13px;
  }

  .action-buttons button.bg-green {
    background-color: #28a745;
    color: white;
  }

  .action-buttons button.bg-yellow {
    background-color: #ffc107;
    color: white;
  }

  .action-buttons button.bg-red {
    background-color: #dc3545;
    color: white;
  }

  .action-buttons button.bg-blue {
    background-color: #007bff;
    color: white;
  }

  .action-buttons button.bg-darkcyan {
    background-color: #075B5E;
    color: white;
  }

  .action-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }
}

.user-table {
  table-layout: fixed;
  border-collapse: collapse;
}

.user-placeholder td {
  padding: 12px 15px;
}


/* Canh nút trong ô */
.hosting-table td:last-child .btn-icon,
.user-table td:last-child .btn-icon,
.order-table td:last-child .btn-icon,
.email-table td:last-child .btn-icon,
.domain-table td:last-child .btn-icon {
  display: flex;
  /* chuyển button thành flexbox */
  justify-content: center;
  /* canh giữa icon bên trong */
  align-items: center;
  margin: auto;
  /* ép chính giữa ô */
}


.hosting-table th,
.hosting-table td,
.order-table th,
.user-table th,
.order-table td,
.user-table td,
.domain-table th,
.domain-table td,
.email-table th,
.email-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
  white-space: nowrap;
  overflow: hidden;
  /* text-overflow: ellipsis; */
  max-width: 180px;
}

.hosting-table th,
.order-table th,
.user-table th,
.domain-table th,
.email-table th {
  background: #f8f9fa;
  color: #444;
  table-layout: fixed;
}

.hosting-table td.red,
.order-table td.red,
.user-table td.red,
.domain-table td.red,
.email-table td.red {
  color: #e74c3c;
  font-weight: 600;
}

.hosting-table td.green,
.order-table td.green,
.user-table td.green,
.domain-table td.green,
.email-table td.green {
  color: #27ae60;
  font-weight: 600;
}

.spin {
  animation: spin 1s linear infinite;
  vertical-align: middle;
}

.btn.btn-manage {
  font-size: 12px;
  background-color: #27ae60;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn.btn-delete{
  background:#e74c3c;
  color:#fff;
  font-size: 16px;
  padding:5px 15px;
  border-radius: 20px;
  pointer-events: none !important;
}

.btn.btn-change-pass{
  background: radial-gradient(100% 100% at 100% 0, rgb(166, 247, 185) 0, #27ae60 100%);
  color:#fff;
  font-size: 16px;
  pointer-events: none !important;

}

.btn.btn-login {
  color: #fff;
  font-size: 12px;
  background: radial-gradient(100% 100% at 100% 0, #5adaff 0, #5468ff 100%);
  border: none;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.2s;
}



.btn.btn-login a {
  text-decoration: none;
  color: white;
  font-size: 16px;
}


.btn-icon.btn-mail {
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-icon.btn-view {
  background-color: #ffc107;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-icon.btn-view i,
.btn-icon.btn-edit i,
.btn-login a i {
  color: white;
  font-size: 16px;
}

.btn-icon.btn-edit {
  background-color: #ff0707;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}



.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  border-radius: 12px;
  padding: 20px 30px;
  width: 500px;
  position: relative;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

/* Ẩn mũi tên trong Chrome, Safari, Edge */
.no-spin::-webkit-inner-spin-button,
.no-spin::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Ẩn mũi tên trong Firefox */
.no-spin {
  -moz-appearance: textfield;
}

.aem-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  background: #fff;
  appearance: none;
  /* ẩn style mặc định của select */
}

.aem-input:focus {
  border-color: #3483eb;
}

/* Nếu muốn thêm icon mũi tên đẹp hơn */
.aem-field select.aem-input {
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px 16px;
  padding-right: 35px;
}

.modal-content h2 {
  text-align: center;
  margin-bottom: 20px;
}

.modal-content table {
  width: 100%;
}

.modal-content td {
  padding: 6px 0;
}

.modal-content td:first-child {
  font-weight: bold;
  width: 40%;
}

/*.status {*/
/*  padding: 4px 8px;*/
/*  background-color: #28a745;*/
/*  color: white;*/
/*  border-radius: 4px;*/
/*  font-size: 0.9em;*/
/*}*/

.blur-password {
  filter: blur(6px);
  transition: filter 0.2s ease;
}

.swal2-html-container {
  padding: 25px 25px;
}

.swal2-container {
  z-index: 10000;
  /* hoặc số lớn hơn tùy ý */
}

.swal2-container.swal-on-top {
  z-index: 10002 !important;
}

.swal2-container.swal-on-top .swal2-popup {
  z-index: 10003 !important;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

.modal-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.rounded-pill {
  padding: 8px 16px;
  border: none;
  color: white;
  cursor: pointer;
}

.modal-buttons button {
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.bg-orange {
  background-color: #f76f00ff;
  color: #fff;
}

.bg-red {
  background-color: #d32f2f;
  color: #fff;
}

.bg-blue {
  background-color: #3483eb;
  color: #fff;
}

.bg-yellow {
  background-color: #ffc107;
  color: #fff;
  /* chữ trắng luôn */
}

.bg-green {
  background-color: #1e8958;
  color: #fff;
}

.bg-dark-green {
  background-color: #075B5E;
  color: #fff;
}

.bg-blue {
  background-color: #007bff;
  color: #fff;
}

.bg-dark-red {
  background-color: #af3e3e;
  color: #fff;
}

.bg-light-green {
  background-color: #28a745;
  color: #fff;
}


.action-buttons {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 10px !important;
  margin-top: 12px;
}

@media (max-width: 768px) {
  #userModalPopup {
    width: 95% !important;
    max-height: 90vh;
    top: 15% !important;
    padding: 12px !important;
    font-size: 14px;
  }

  #userModalPopup table td,
  #userModalPopup table th {
    font-size: 13px !important;
    padding: 6px !important;
  }

  #userModalPopup h2 {
    font-size: 18px;
  }

  .action-buttons {
    gap: 10px !important;
  }

  .action-buttons button.bg-green {
    background-color: #28a745;
    color: #fff;
  }

  .action-buttons button.bg-yellow {
    background-color: #ffc107;
    color: #000;
  }

  .action-buttons button.bg-red {
    background-color: #dc3545;
    color: #fff;
  }

  .action-buttons button.bg-blue {
    background-color: #007bff;
    color: #fff;
  }

  .action-buttons button.bg-darkcyan {
    background-color: #075B5E;
    color: #fff;
  }
}

/* user-modal.css */
#updateUserModal {
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  max-width: 90vw;
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  z-index: 10000;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
  font-family: "Segoe UI", Arial, sans-serif;
  animation: fadeInCenter 0.3s ease-out forwards;

}

#updateUserModal h2 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 600;
  color: #333;
  text-align: center;
}

#updateUserModal form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#updateUserModal label {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  color: #444;
  font-weight: 500;
}

#updateUserModal input,
#updateUserModal select {
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.2s ease;
}

#updateUserModal input:focus,
#updateUserModal select:focus {
  outline: none;
  border-color: #3085d6;
  box-shadow: 0 0 0 3px rgba(48, 133, 214, 0.2);
}

#updateUserModal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

#updateUserModal button {
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
}

#updateUserModal button.cancel-btn {
  background: #eee;
  color: #333;
}

#updateUserModal button.cancel-btn:hover {
  background: #ddd;
}

#updateUserModal button.save-btn {
  background: #3085d6;
  color: white;
}

#updateUserModal button.save-btn:hover {
  background: #256bb5;
}

/* Animation giống swal */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, 20%);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.title-table-hosting,
.title-table-user,
.title-table-order,
.title-table-domain,
.title-table-email {
  padding-bottom: 10px;
  text-align: center;
}

.tab-filter {
  gap: 10px;
  margin-bottom: 14px;
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.tab-btn {
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  outline: none;
  font-family: inherit;
  cursor: pointer;
  transition: box-shadow 0.15s, filter 0.15s;
  opacity: 0.9;
  background: #eee;
  flex: 0 0 auto;
  margin: 4px;
}

.tab-btn.active {
  font-weight: 700;
  opacity: 1;
  filter: brightness(115%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.tab-btn:hover {
  opacity: 0.9;
  filter: brightness(0.98);
}

@media (max-width: 768px) {
  .tab-buttons {
    flex-direction: column;
    gap: 8px;
  }

  .tab-btn {
    text-align: center;
    font-size: 15px;
    padding: 10px;
  }
}


.bg-blue {
  background-color: #007bff;
}

.red {
  color: #e74c3c !important;
  font-weight: 600;
}

.yellow {
  color: #ff9800 !important;
  font-weight: 600;
}

.green {
  color: #11b56b !important;
  font-weight: 600;
}

.blue {
  color: #1976ed !important;
  font-weight: 600;
}


.btn {
  padding: 4px 8px;
  margin-right: 5px;
  font-size: 13px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.btn-renew {
  background-color: #3498db;
  color: white;
}

.domain-suggestion-wrapper {
  justify-content: center;
  align-items: flex-start;
  padding: 0 20px;
}

.domain-suggestion-wrapper .domain-card,
.domain-suggestion-wrapper .domain-list {
  max-width: 700px;
  width: 100%;
}

.hidden {
  display: none;
}

.domain-suggestion-wrapper {
  width: 100%;
  /* Chiếm toàn bộ chiều rộng cha */
  box-sizing: border-box;
  /* Tính cả padding/border trong width */
  justify-content: center;
  /* Canh giữa nội dung bên trong */
  padding: 20px;
}

.domain-card {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  width: 300px;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.domain-status {
  display: inline-block;
  background-color: #999;
  color: white;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  font-weight: bold;
}

.domain-name {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
  color: #222;
  margin: 10px 0;
}

.domain-card,
.domain-list {
  max-width: 700px;
  width: 100%;
}

.domain-icon {
  font-size: 22px;
  margin-right: 8px;
}

.domain-note {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.whois-btn:hover {
  background-color: #444;
}

.domain-list {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
}

.domain-item {
  display: grid;
  grid-template-columns: 1fr 160px 60px;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-bottom: 1px solid #eee;
}

.domain-item:last-child {
  border-bottom: none;
}

.domain-item:hover {
  background-color: #f9f9f9;
}

.domain-name {
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.domain-price {
  text-align: center;
}

.domain-price .current {
  font-weight: bold;
  color: #000;
}

.domain-price .original {
  text-decoration: line-through;
  color: #999;
  font-size: 14px;
  margin-left: 6px;
}

.domain-price small {
  font-size: 12px;
  color: #555;
}

.domain-actions {
  text-align: center;
}


.domain-actions button,
.whois-btn {
  background-color: #2b2118;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.domain-actions button:hover {
  background-color: #3c2e24;
}

.cart-button {
  background: #2b2b2b;
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  cursor: pointer;
}

.cart-button:hover {
  background: #e65c00;
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid #ccc;
  border-top: 3px solid #3498db;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: auto;
  margin-right: auto;
}

.domain-suggestion-wrapper {
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
}

.domain-suggestion-wrapper .domain-card,
.domain-suggestion-wrapper .domain-list {
  max-width: 600px;
  width: 100%;
}

.hidden {
  display: none;
}

.domain-suggestion-wrapper {
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
  padding: 10px;
}

.domain-card {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  width: 300px;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.domain-status {
  display: inline-block;
  background-color: #999;
  color: white;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  font-weight: bold;
}

.domain-name {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
  color: #222;
  margin: 10px 0;
}

.domain-card,
.domain-list {
  max-width: 700px;
  width: 100%;
}

.domain-icon {
  font-size: 22px;
  margin-right: 8px;
}

.domain-note {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.whois-btn:hover {
  background-color: #444;
}

.domain-list {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
}

.domain-item {
  display: grid;
  grid-template-columns: 1fr 330px 60px;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-bottom: 1px solid #eee;
}

.domain-item:last-child {
  border-bottom: none;
}

.domain-item:hover {
  background-color: #f9f9f9;
}

.domain-name {
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.price-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}

.price-box .current {
  font-weight: bold;
  font-size: 15px;
  color: #000;
}

.price-box .note {
  font-size: 12px;
  color: #555;
}

.domain-price .current {
  font-weight: bold;
  font-size: 16px;
  color: #000;
}

.domain-price .original {
  text-decoration: line-through;
  color: #999;
  font-size: 14px;
  margin-left: 6px;
}

.domain-price small {
  font-size: 12px;
  color: #555;
}

.domain-actions {
  text-align: center;
}

.domain-actions button,
.whois-btn {
  border-radius: 8px;
  margin-top: 10px;
  background-color: #2b2118;
  color: #fff;
  border: none;
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.domain-actions button:hover {
  background-color: #3c2e24;
}

.cart-button {
  background: #2b2b2b;
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  cursor: pointer;
}

.cart-button:hover {
  box-shadow: 0 0 0 2px #00000010;
}

/* Điều chỉnh body để có căn giữa tốt hơn */



/* Fixed header styles */
.header {
  display: flex;
  padding: 10px 20px;
  width: 100%;
  margin: 0 auto;
  position: sticky;
  background-color: white;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  /* tùy chọn */
}

#confirm-container {
  margin-top: 16px;
  gap: 12px;
  justify-content: flex-start;
  display: none;
}

.button-custom {
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  position: relative;
}

.btn-green {
  background-color: #2ecc71;
}

.btn-green:hover {
  background-color: #27ae60;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.btn-red {
  background-color: #e74c3c;
}

.btn-red:hover {
  background-color: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Hiệu ứng đơn giản khi click */
.button-custom:active {
  transform: translateY(3px);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

/* Logo và dropdown menu */
.logo {
  top: 0;
  position: relative;
  font-weight: 600;
  font-size: 18px;
  color: #535353;
  transition: 0.3s all ease;
}

.logo-container {
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 20px;
  transition: background-color 0.3s;
  cursor: pointer;
}

.sidebar-toggle-btn2 {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  margin-right: 8px;
  cursor: pointer;
  z-index: 2;
  color: #111111 !important;
}

.auth-buttons {
  gap: 10px;
  margin-left: auto;
  display: flex;
  align-items: center;
}

.auth-buttons button {
  padding: 6px 8px;
  border-radius: 20px;
  font-weight: 500;
  cursor: pointer;
}

.login-btn {
  background-color: #000;
  color: white;
  border: none;
}

/* Điều chỉnh main-content */
.main-content {
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: start;
  padding: 0 15px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  overflow-y: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.main-content::-webkit-scrollbar {
  display: none;
}

/* Đảm bảo center alignment cho tất cả các phần tử con trực tiếp */
.main-content>* {
  width: 100%;
  max-width: 400px;
}

/* Khi có tin nhắn, thay đổi layout */
.main-content.has-messages {
  justify-content: space-between;
}

/* 5. Input container */
.input-actions-container {
  bottom: 0;
  left: 130px;
  width: 100%;
  padding: 10px;
  background-color: white;
  z-index: 100;
  gap: 12px;
  flex-direction: column;
  /* Giữ nguyên column */
  transition: width 0.3s ease;
  align-items: center;
}

.chat-input-container {
  resize: none;
  max-width: 800px;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border: 1px solid #e6e6e6;
  border-radius: 30px;
  order: 2;
  width: 100%;
  margin: 0 auto;
  display: flex;
}

.chat-input::-webkit-resizer,
.chat-input::-webkit-scrollbar {
  display: none;
}

.icon-input {
  display: flex;
  gap: 12px;
}

/* Xóa style cũ cho input-actions-container */
.main-content.has-messages .input-actions-container {
  flex-direction: column;
  width: 100%;
}

/* Điều chỉnh khoảng cách giữa input và actions khi có tin nhắn */
.main-content.has-messages .chat-input-container {
  margin-bottom: 15px;
}

/* Điều chỉnh chat messages */
.chat-messages {
  align-items: center;
  width: 100%;
  max-width: 1000px;
  display: none;
  flex: 1;
  box-sizing: border-box;
  -ms-overflow-style: none;
  /* IE & Edge */
  scrollbar-width: none;
  /* Firefox */
  scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

.main-content.has-messages .chat-messages {
  display: block;
}

.message {
  margin-bottom: 20px;
  width: 100%;
}

.message-container {
  display: flex;
  flex-direction: column;
}

/* User message */
.user-message .message-container {
  align-items: flex-end;
}

.user-message .message-content {
  background-color: #000;
  color: white;
  border-radius: 18px;
  padding: 10px 16px;
  max-width: 80%;
  word-wrap: break-word;
}

.user-actions {
  display: flex;
  margin-top: 8px;
  gap: 8px;
  justify-content: flex-end;
}

/* Bot message */
.bot-message .message-container {
  align-items: flex-start;
}

.bot-message .message-content {
  background-color: #f0f0f0;
  color: #000;
  border-radius: 18px;
  padding: 10px 16px;
  max-width: 100%;
  word-wrap: break-word;
}

.input-actions-container.collapsed {
  left: 60px;
  width: calc(100% - 60px);
}

.chat-input {
  padding: 12px 0 0 10px;
  resize: none;
  border: none;
  outline: none;
  font-size: 16px;
  line-height: 1;
  background: transparent;
  width: 100%;
}

/* Ẩn scrollbar cho Chrome, Safari và Opera */
.chat-input::-webkit-scrollbar {
  display: none;
}

.chat-input:focus {
  outline: none;
  border-color: #ccc;
}

/* SVG và img padding */
.logo img,
.logo svg {
  margin-right: 8px;
}

.typing-indicator .message-content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #999;
  margin: 0 2px;
  animation: bounce 1.4s infinite ease-in-out;
  transform: translateY(0);
}

.dot:nth-child(1) {
  animation-delay: 0s;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}

.dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes slideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInCenter {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  to {
    opacity: 0;
    transform: translate(-50%, -45%);
  }
}

.animated-slidein {
  animation: slideIn 0.3s ease-out;
}

.modal-fade-out {
  animation: fadeOut 0.3s ease-in forwards;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes bounce {

  0%,
  60%,
  100% {
    transform: translateY(0);
  }

  30% {
    transform: translateY(-5px);
  }
}

/* Animation khi load trang */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.send-btn,
.mic-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: black;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  border-radius: 50%;
  z-index: 10;
}

.send-btn:hover,
.mic-btn:hover {
  transform: scale(1.1);
  /* ✅ bỏ translateY để không lệch */
  background: none;
}

#chatMessages {
  overflow-y: auto;
  /* vẫn cho phép scroll bằng JS */
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE & Edge cũ */
}

#chatMessages::-webkit-scrollbar {
  /* Chrome, Edge mới, Safari */
  display: none;
}

.disabled-btn {
  background: #ccc !important;
  color: #666 !important;
  cursor: not-allowed !important;
  pointer-events: none;
  transition: 0.3s ease;
}

.send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.stop-btn svg {
  stroke: #999;
  animation: pulse 1s infinite alternate;
}

@keyframes pulse {
  from {
    opacity: 0.7;
    transform: scale(1);
  }

  to {
    opacity: 1;
    transform: scale(1.15);
  }
}

.send-btn svg,
.mic-btn svg {
  width: 20px;
  height: 20px;
}

.send-btn:active,
.mic-btn:active {
  transform: scale(0.95);
  transition: transform 0.1s ease;
}

/* Add this to your style.css file */
.delete-chat-btn {
  border: none;
  border-radius: 30px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  z-index: 10;
}

#loginOverlay input,
#loginOverlay input[type="email"],
#loginOverlay input[type="text"] {
  font-size: 16px !important;
}

input,
textarea,
select {
  font-size: 16px !important;
}

#loginOverlay .login-form,
#loginOverlay form {
  min-width: 320px;
}

.delete-chat-btn:hover {
  transform: scale(1.1);
  background-color: rgba(33, 116, 216, 0.1);
}

.delete-chat-btn img {
  width: 20px;
  height: 20px;
}

input,
select,
textarea,
button {
  font-size: 16px;
}

/* Popup Email */
#emailModalPopup,
#emailDetailModalPopup {
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  max-width: 96vw;
  min-width: 280px;
  max-height: 80vh;
  overflow-y: auto;
  background: #fff;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  z-index: 9999;
  overflow-y: auto;
  overflow-x: hidden;
}

.table-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  margin-bottom: 10px;
}

.table-wrapper table {
  width: 100%;
  white-space: nowrap;
  border-collapse: collapse;
  min-width: 600px;
}

.table-wrapper::-webkit-scrollbar {
  height: 6px;
}

.table-wrapper::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

#emailModalPopup table,
#emailDetailModalPopup table {
  width: 100%;
  margin-bottom: 10px;
  border-collapse: collapse;
  white-space: nowrap;
}

#emailModalPopup table::-webkit-scrollbar {
  height: 6px;
}

#emailModalPopup th,
#emailModalPopup td,
#emailDetailModalPopup th,
#emailDetailModalPopup td {
  border-bottom: 1px solid #eee;
  padding: 8px 10px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  /* text-overflow: ellipsis; */
}

#emailModalPopup .action-buttons,
#emailDetailModalPopup .action-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

#emailModalPopup .action-buttons button,
#emailDetailModalPopup .action-buttons button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  width: auto;
  max-width: 155px;
  min-width: 100px;
  white-space: nowrap;
}

.dns-add-row {
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  width: 100px;
  height: 40px;
  text-align: center;
  display: inline-block;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  /* text-overflow: ellipsis; */
  margin-top: 20px;
}

.dns-cancel-new {
  background: #6c757d;
  color: white;
  border-radius: 20px;
  padding: 10px;
}

#closeDnsModal {
  margin-top: 18px;
  float: right;
  background: #eee;
  border: none;
  border-radius: 25px;
  padding: 8px 25px;
  cursor: pointer;
  color: #000;
}

#closeDnsModal2 {
  float: right;
  background: #eee;
  border: none;
  border-radius: 25px;
  padding: 12px 45px;
  cursor: pointer;
  color: #000;
  font-size: 15px;
}

#closeDomainDNSPopup {
  float: right;
  background: #eee;
  border: none;
  border-radius: 25px;
  padding: 8px 25px;
  cursor: pointer;
  color: #000;
}

#addDNSRow {
  padding: 8px 18px;
  position: relative;
  top: 10px;
  margin-bottom: 15px;
  height: 47px;
}

.dns-close {
  background-color: #6c757d;
  color: white;
  border-radius: 8px;
}

.dns-close:hover {
  background-color: #545b62;
}

#btnShowDomainDNS,
#btnSyncMailDNS {
  margin-top: 18px;
  background: linear-gradient(90deg, #FF5FA2, #FF7A29) !important;
  border-radius: 20px;
  padding: 8px 25px;
  border: none;
}

#checkMailServerDNS {
  position: relative;
  top: 10px;
  height: 45px;
}

.update-dns-domain {
  height: 50px !important;
}

.update-dns-domain {
  height: 50px !important;
}

.th-host {
  padding-left: 90px;
}

.th-type {
  padding-left: 40px;
}

.th-local {
  padding-left: 90px;
}

.th-ttl {
  padding-left: 60px;
}

.th-priority {
  padding-left: 45px;
}

.th-action {
  padding-left: 90px;
}

.hosting-price-wrapper,
.email-price-wrapper {
  max-width: 100%;
  margin: 16px 0;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: white;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.hosting-price-header,
.email-price-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, #f5f6f8 0%, #f3f3f3 100%);
  color: #000;
}

.hosting-price-header h4,
.email-price-header h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.hosting-price-table,
.email-price-table {
  padding: 0;
}

.hosting-price-row,
.email-price-row {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.2s ease;
}

.hosting-price-row:hover,
.email-price-row:hover {
  background-color: #f8fafc;
}

.hosting-price-row.selected,
.email-price-row.selected {
  background-color: #e3f2fd;
  border-left: 4px solid #2196f3;
}

.hosting-price-row:last-child {
  border-bottom: none;
}

.plan-name-section {
  flex: 2;
}

.plan-name {
  font-size: 16px;
  font-weight: 600;
  color: #2d3748;
  display: block;
}

.discount-tag {
  background: #ff4757;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 8px;
  font-weight: 500;
}

.plan-basic-info {
  font-size: 12px;
  color: #718096;
  margin-top: 4px;
}

.price-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.original-price {
  font-size: 0.85em;
  color: #999;
  text-decoration: line-through;
  opacity: 0.7;
}

.plan-prices {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.price-item {
  text-align: center;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.price-item.popular {
  color: #000;
  transform: scale(1.05);
}

.duration {
  display: block;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.8;
}

.price {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}

.popular-tag {
  display: block;
  font-size: 9px;
  margin-top: 2px;
  opacity: 0.9;
  color: #718096;
}

.plan-actions {
  flex: 1;
  text-align: right;
}

.select-hosting-btn,
.select-email-btn {
  background: linear-gradient(135deg, #e6e7e9 0%, #9d9d9e 100%);
  color: #000;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.select-hosting-btn:hover,
.select-email-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.toggle-price-btn {
  width: 100%;
  padding: 12px;
  background: #f8fafc;
  border: none;
  border-top: 1px solid #e2e8f0;
  font-size: 13px;
  color: #4a5568;
  cursor: pointer;
  transition: all 0.2s ease;
}

.toggle-price-btn:hover {
  background: #edf2f7;
}

.hosting-details-table {
  padding: 20px;
  background: #fafafa;
  border-top: 1px solid #e2e8f0;
}

.details-header h5 {
  margin: 0 0 16px 0;
  font-size: 16px;
  color: #2d3748;
}

.details-comparison {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.detail-column h6 {
  margin: 0 0 12px 0;
  font-size: 14px;
  font-weight: 600;
  color: #4a5568;
  padding-bottom: 8px;
  border-bottom: 2px solid #e2e8f0;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
}

.detail-label {
  color: #718096;
}

.detail-value {
  font-weight: 500;
  color: #2d3748;
}

@media (max-width: 768px) {
  .hosting-price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .plan-prices {
    width: 100%;
    justify-content: space-between;
  }

  .plan-actions {
    width: 100%;
    text-align: left;
  }

  .details-comparison {
    grid-template-columns: 1fr;
  }
}

/* Email Details Table */
.email-details-table {
  margin-top: 20px;
  padding: 20px;
  background: white;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.details-header {
  margin-bottom: 20px;
  text-align: center;
}

.details-header h5 {
  margin: 0;
  color: #2d3748;
  font-size: 18px;
  font-weight: 600;
}

.details-comparison {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.detail-column {
  background: #f7fafc;
  border-radius: 8px;
  padding: 16px;
  border: 1px solid #e2e8f0;
}

.detail-column h6 {
  margin: 0 0 16px 0;
  color: #2d3748;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  padding-bottom: 8px;
  border-bottom: 2px solid #4299e1;
}

.detail-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #e2e8f0;
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-label {
  font-size: 13px;
  color: #4a5568;
  font-weight: 500;
}

.detail-value {
  font-size: 13px;
  color: #2d3748;
  font-weight: 600;
}

/* Loading states */
.email-price-row.loading {
  pointer-events: none;
}

.loading-text,
.loading-price,
.loading-feature,
.loading-button {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 4px;
}

.loading-text {
  height: 24px;
  width: 60%;
}

.loading-price {
  height: 32px;
  width: 80%;
  margin: 0 auto;
}

.loading-feature {
  height: 16px;
  width: 100%;
}

.loading-button {
  height: 48px;
  width: 100%;
}

.domain-price-wrapper {
  background: linear-gradient(135deg, #f5f7ff 0%, #e0e4e9 100%);
  border-radius: 16px;
  padding: 24px;
  margin: 16px 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.domain-price-header h4 {
  color: #2c3e50;
  margin: 0 0 28px 0;
  font-size: 1.4em;
  font-weight: 600;
  text-align: left;
}

.price-note {
  color: #7f8c8d;
  font-size: 0.9em;
  text-align: center;
  margin: 0 0 24px 0;
  font-style: italic;
}

.domain-categories {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.domain-category {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.category-title {
  color: #34495e;
  margin: 0 0 16px 0;
  font-size: 1.1em;
  font-weight: 600;
  border-bottom: 2px solid #e8f4fd;
  padding-bottom: 8px;
}

.domain-price-table {
  display: flex;
  flex-direction: column;
}

.domain-price-row {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  align-items: center;
  padding: 16px;
  background: #f8f9ff;
  border-radius: 12px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  gap: 16px;
}

.domain-price-row:hover {
  background: #e8f2ff;
  border-color: #718096;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.1);
}

.domain-extension-section {
  display: flex;
  align-items: center;
  gap: 8px;
}

.domain-extension {
  font-size: 1.1em;
  font-weight: 700;
  color: #2c3e50;
  background: white;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid #718096;
}

.popular-badge {
  color: #718096;
  font-size: 0.7em;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 10px;
}


.domain-pricing-info {
  display: flex;
  flex-direction: column;
}

.price-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.first-year-price,
.renewal-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.dns-delete {
  background: linear-gradient(to right, #e46161, #c82333);
  padding: 12px 28px !important;
  border: none !important;
  color: white !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  border-radius: 50px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  margin-right: 8px !important;
}


.price-label {
  font-size: 0.8em;
  color: #7f8c8d;
  font-weight: 500;
  margin-bottom: 4px;
}

.price-value {
  font-weight: 700;
  color: #2c3e50;
}

.main-price {
  color: #e74c3c;
  font-size: 1.1em;
}

.check-domain-btn {
  background: linear-gradient(135deg, #e6e7e9 0%, #9d9d9e 100%);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9em;
}



.domain-footer-note {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  padding: 16px;
  margin-top: 20px;
  border-left: 4px solid #9d9d9e;
}

.domain-footer-note p {
  margin: 0 0 8px 0;
  color: #34495e;
  font-size: 0.9em;
  line-height: 1.5;
}

.domain-footer-note p:last-child {
  margin-bottom: 0;
}

.domain-price-table {
  display: flex;
  flex-direction: column;
}

.domain-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  margin-bottom: 8px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.domain-price-row:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}


.domain-hidden-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* Khoảng cách giữa các dòng ẩn */
}

.domain-show-more-section {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.domain-extension-section {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.domain-extension {
  font-weight: 600;
  font-size: 16px;
  color: #333;
  padding: 6px 12px;
  background: #f5f5f5;
  border-radius: 8px;
  min-width: 60px;
  text-align: center;
}

.popular-badge {
  background: linear-gradient(135deg, #e5e5e6 0%, #4f4f50 100%);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
}

.domain-pricing-info {
  flex: 1;
  display: flex;
  justify-content: center;
}

.price-breakdown {
  display: flex;
  gap: 20px;
  align-items: center;
}

.first-year-price,
.renewal-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.price-label {
  font-size: 12px;
  color: #666;
  font-weight: 500;
}

.price-value {
  font-weight: 600;
  font-size: 14px;
  color: #333;
}

.main-price {
  color: #e74c3c;
  font-size: 16px;
}

.domain-actions {
  flex: 0 0 auto;
}

.check-domain-btn {
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.show-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  color: #000;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}


.show-more-btn.expanded {
  color: #000;
}



.show-more-icon {
  transition: transform 0.3s ease;
  font-size: 12px;
}

.domain-hidden-rows {
  animation: fadeIn 0.3s ease-in-out;
}

.plan-period {
  margin-top: 20px;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
  animation: fadeInUp 0.5s ease forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

.period-btn {
  background-color: white;
  font-weight: 500;
  border: 1px solid #e0e0e0;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 80px;
  text-align: center;
}

.period-btn:hover {
  background-color: #f9f9f9;
  border-color: #ccc;
}

.period-btn.active {
  background-color: #f0f0f0;
  border-color: #2174d8;
  color: #2174d8;
  font-weight: 500;
}

.aem-modal {
  padding: 24px !important;
}

.aem-title {
  font-size: 24px !important;
  font-weight: 700 !important;
}

.aem-wrap {
  text-align: left;
  display: grid;
  row-gap: 18px;
  font-size: 16px;
}

.aem-field {
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: start;
  column-gap: 16px;
}

.aem-label {
  font-weight: 600;
  color: #2d3748;
  font-size: 16px;
  line-height: 38px;
}

.aem-input {
  box-sizing: border-box;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  outline: none;
  font-size: 16px;
}

.aem-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.aem-input[min-width] {
  min-width: 0;
}

.aem-domain {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 10px 12px;
  background: #f7fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: #4a5568;
  font-size: 16px;
}

.aem-help {
  font-size: 13px;
  color: #718096;
  margin-top: 6px;
}

.aem-error {
  font-size: 13px;
  color: #e11d48;
  margin-top: 4px;
}

.aem-preview {
  font-size: 15px;
  color: #2f855a;
  font-weight: 600;
}

/* Input group cho mật khẩu */
.aem-input-group {
  display: flex;
  align-items: center;
}

.aem-input-group>input.aem-input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.aem-ig-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 47px;
  border: 1px solid #e2e8f0;
  border-left: 0;
  background: #f8fafc;
  cursor: pointer;
  outline: none;
}

.aem-ig-btn:first-of-type {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.aem-ig-btn:last-of-type {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.aem-ig-btn:hover {
  background: #edf2f7;
}

.aem-ig-btn svg {
  width: 20px;
  height: 20px;
}


.swal2-popup .swal2-actions .swal2-confirm.aem-btn-confirm.swal2-styled:disabled {
  background: #e9edf3 !important;
  color: #a6afbd !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
}

.report-wrapper {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  max-width: 100%;
  margin: 16px 0;
}

.report-title {
  margin-bottom: 24px;
  text-align: center;
}

.report-title h3 {
  font-size: 24px;
  font-weight: 600;
  color: #2d3748;
  margin: 0 0 8px 0;
}

.report-title p {
  color: #718096;
  font-size: 14px;
  margin: 0;
}

input.is-valid {
  border-color: #28a745 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2328a745' viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 11.001 7.999 8 8 0 0116 8zM6.97 11.03a.75.75 0 001.06 0l4.243-4.243a.75.75 0 10-1.06-1.06L7.5 9.94 5.787 8.227a.75.75 0 00-1.06 1.06l2.243 2.243z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 18px;
}

input.is-invalid {
  border-color: #dc3545 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 11.001 7.999 8 8 0 0116 8zM4.646 4.646a.5.5 0 00-.708.708L7.293 8l-3.355 3.354a.5.5 0 00.708.708L8 8.707l3.354 3.355a.5.5 0 00.708-.708L8.707 8l3.355-3.354a.5.5 0 00-.708-.708L8 7.293 4.646 4.646z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 18px;
}

.loader {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: block;
  margin: 15px 17px;
  position: relative;
  background: #FFF;
  box-shadow: -24px 0 #FFF, 24px 0 #FFF;
  box-sizing: border-box;
  animation: shadowPulse 2s linear infinite;
}

@keyframes shadowPulse {
  33% {
    background: #FFF;
    box-shadow: -24px 0 #FF3D00, 24px 0 #FFF;
  }

  66% {
    background: #FF3D00;
    box-shadow: -24px 0 #FFF, 24px 0 #FFF;
  }

  100% {
    background: #FFF;
    box-shadow: -24px 0 #FFF, 24px 0 #FF3D00;
  }
}

.domain-check-message {
  transition: all 0.3s ease;
}

.service-section {
  margin-bottom: 32px;
}

.service-header {
  margin-bottom: 12px;
  /* border-bottom: 2px solid #e2e8f0; */
  padding-bottom: 6px;
}

.service-header h4 {
  font-size: 18px;
  font-weight: 600;
  color: #2d3748;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-header .count {
  font-size: 14px;
  color: #4a5568;
}

.report-table {
  width: 100%;
  border-radius: 8px;
  overflow: hidden; 
  background: #fff;
  border-collapse: collapse;
}



.report-table th,
.report-table td {
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  font-size: 14px;
  text-align: left;
}

.report-table th {
  background: #f7fafc;
  font-weight: 600;
  color: #2d3748;
}

.normal-row td {
  background: #f0fff4;
}

.warning-row td {
  background: #fffaf0;
}

.expired-row td {
  background: #fff5f5;
}

.status-cell span {
  font-weight: 600;
}

.status-normal {
  color: #2f855a;
}

.status-expired {
  color: #c53030;
}

.report-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  border-top: 1px solid #e2e8f0;
  padding-top: 16px;
}

.report-actions input {
  padding: 10px 14px;
  border: 1px solid #cbd5e0;
  border-radius: 6px;
  font-size: 14px;
  flex: 1;
  max-width: 300px;
}

.report-actions button {
  background: #017ee5;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.report-actions button:hover {
  background: #3182ce;
}

.dns-table {
  width: 100%;
  margin-top: 12px;
  font-size: 14px;
  border-collapse: collapse;
}

.dns-table th,
.dns-table td {
  border: 1px solid #e0e0e0;
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

.dns-table th {
  background: #f8f9fa;
  font-weight: 600;
  white-space: nowrap;
}

.dns-row-add {
  background: #f0fff4;
  /* xanh nhạt */
}

.dns-row-update {
  background: #fffbea;
  /* vàng nhạt */
}

.dns-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
}

.dns-status.add {
  background: #d1fae5;
  color: #065f46;
}

.dns-status.update {
  background: #fef3c7;
  color: #92400e;
}

.dns-table td.value-cell {
  word-break: break-word;
  max-width: 280px;
}

/* Responsive: bảng cuộn ngang */
.dns-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ai-suggestion {
  background: linear-gradient(135deg, #eef2ff, #e0f7fa);
  border: 1px solid #d0e6ff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  margin-bottom: 16px;
  animation: fadeInUp 0.5s ease;
}

.ai-header {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 12px;
}

.ai-badge {
  background: linear-gradient(90deg, #6366f1, #3b82f6);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
}

.chatgpt-icon {
  width: 22px;
  height: 22px;
  color: #000;
}

.ai-icon .chatgpt-icon {
  width: 34px;
  height: 34px;
  color: #000;
}

.ai-body {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ai-icon {
  font-size: 28px;
  /* animation: pulse 1.5s infinite; */
}

.ai-text h3 {
  font-size: 16px;
  margin: 0;
  font-weight: 700;
  color: #1e293b;
}

.ai-text p {
  font-size: 14px;
  margin: 4px 0 0;
  color: #475569;
}

/* Responsive cho tablet */
@media (max-width: 992px) {
  .domain-item {
    grid-template-columns: 1fr 150px 50px;
    /* co lại cho tablet */
  }

  .domain-price .current {
    font-size: 14px;
  }

  .cart-button {
    width: 32px;
    height: 32px;
  }
}

/* Responsive cho mobile */
@media (max-width: 768px) {
  .domain-item {
    display: grid;
    grid-template-columns: 1fr 150px 20px;
    gap: 8px;
    align-items: center;
    padding: 10px;
  }

  .domain-name {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .domain-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .domain-actions {
    text-align: left;
  }

  .cart-button {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}

/* Mobile nhỏ */
@media (max-width: 480px) {
  .domain-card {
    padding: 12px;
  }

  .domain-item {
    grid-template-columns: 1fr 150px auto;
    gap: 6px;
  }

  .domain-name {
    font-size: 13px;
    max-width: 120px;
  }

  .domain-price {
    font-size: 12px;
    min-width: 70px;
  }

  .domain-price .current {
    font-size: 13px;
  }

  .domain-price small {
    font-size: 11px;
  }

  .cart-button {
    width: 28px;
    height: 28px;
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Mobile: đổi sang dạng card khi nhỏ hơn 600px */
@media (max-width: 600px) {

  .dns-table,
  .dns-table thead,
  .dns-table tbody,
  .dns-table th,
  .dns-table td,
  .dns-table tr {
    display: block;
  }

  .dns-table thead {
    display: none;
  }

  .dns-table tr {
    margin-bottom: 12px;
    border-radius: 6px;
    background: #fff;
    padding: 8px;
  }

  .dns-table td {
    border: none;
    padding: 6px 8px;
  }

  .dns-table td::before {
    content: attr(data-label);
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
    color: #555;
  }
}


@media (max-width: 768px) {
  .report-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .report-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .report-actions input {
    max-width: 100%;
  }

  .report-actions button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .aem-field {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .show-more-btn {
    padding: 10px 20px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .domain-price-row {
    gap: 12px;
    text-align: center;
  }

  .price-breakdown {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .domain-categories {
    gap: 16px;
  }
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

@media (max-width: 1024px) {
  .email-price-row {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }

  .plan-prices {
    grid-template-columns: repeat(3, 1fr);
  }

  .details-comparison {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  .email-price-header h4 {
    font-size: 20px;
  }

  .email-price-row {
    padding: 16px;
  }

  .plan-prices {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-item {
    padding: 8px 4px;
  }

  .price {
    font-size: 12px;
  }

  .duration {
    font-size: 10px;
  }

  .email-table th:nth-child(6),
  .email-table td:nth-child(6),
  .domain-table th:nth-child(5),
  .domain-table td:nth-child(5) {
    width: 15%;
  }

  .table-wrapper {
    overflow-x: auto !important;
  }
}

@media (max-width: 480px) {
  .plan-prices {
    grid-template-columns: 1fr;
  }

  .email-price-header {
    flex-direction: column;
    align-items: flex-start;
  }
}



@media (max-width: 768px) {

  #emailModalPopup,
  #emailDetailModalPopup,
  #dnsModalPopup {
    width: 88vw !important;
    max-width: 88vw !important;
    min-width: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    top: 38% !important;
    padding: 10px !important;
    font-size: 15px;
    border-radius: 12px;
  }

  #closeDnsModal {
    padding: 12px 140px;
    margin-right: 20px;
  }

  #closeDnsModal2 {
    padding: 12px 140px;
    margin-top: 16px;
  }

  #closeDomainDNSPopup {
    padding: 12px 140px;
  }

  #btnSyncMailDNS {
    padding: 12px 90px;
  }

  #btnShowDomainDNS {
    padding: 12px 90px;
    margin-left: 20px;
    color: #fff;
  }

  #emailModalPopup table td,
  #emailModalPopup table th,
  #emailDetailModalPopup table td,
  #emailDetailModalPopup table th {
    font-size: 13px !important;
    padding: 6px !important;
  }

  #emailModalPopup h2,
  #emailDetailModalPopup h2 {
    font-size: 18px;
  }

  #emailModalPopup .action-buttons,
  #emailDetailModalPopup .action-buttons {
    gap: 10px !important;
  }

  #emailModalPopup .action-buttons button,
  #emailDetailModalPopup .action-buttons button {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }



  .chat-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    position: fixed;
    z-index: 2000;
    width: 260px;
    left: 0;
    top: 0;
    height: 100%;
    background-color: #202123;
  }

  .chat-sidebar.open {
    transform: translateX(0);
  }

  .sidebar-overlay {
    display: none;
  }

  .sidebar-overlay.active {
    display: block;
    position: fixed;
    z-index: 1000;
    /* nhỏ hơn sidebar */
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
  }

  #toggleSidebar {
    display: inline-block;
  }

  .main-wrapper,
  .header {
    margin-left: 0;
    width: 100%;
  }

  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 0 !important;
    z-index: 1;
  }

  #toggleSidebar {
    position: relative;
    z-index: 2;
  }

  .sidebar-toggle-btn2 {
    display: block;
  }

  .input-actions-container {
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: white;
    z-index: 100;
    margin: 0;
    flex-direction: column;
  }

  #dnsModalPopup {
    width: 95% !important;
    max-height: 90vh;
    top: 15% !important;
    padding: 12px !important;
    font-size: 14px;
    left: 50% !important;
    transform: translateX(-50%) !important;
    top: 5% !important;


  }


  .dns-modal-body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  #dnsModalPopup table {
    font-size: 13px !important;
    width: 100% !important;
    min-width: unset !important;
    table-layout: fixed !important;
    width: 100%;
    padding: 10px;
    border-collapse: collapse;
  }

  .dns-table-wrap table th,
  .dns-table-wrap table td {
    white-space: normal;
    vertical-align: middle;
    word-break: break-word !important;
  }



  .dns-input {
    min-width: 80px;
    padding: 6px 8px;
  }

  #dnsModalPopup .dns-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
  }

  #dnsModalPopup td.value-cell {
    word-break: break-all;
    max-width: 320px;
  }

  #dnsModalPopup th,
  #dnsModalPopup td {
    font-size: 13px !important;
    word-break: break-word !important;
    white-space: normal !important;
  }

  #dnsModalPopup h2 {
    font-size: 18px !important;
    margin-bottom: 12px !important;
  }

  .action-mail {
    padding: 8px 12px !important;
  }

}

@media (max-width: 375px) {
  .logo {
    display: none;
  }

  @media (max-width: 600px) {
    #dnsModalPopup {
      width: 98vw !important;
      padding: 8px !important;
    }

    #dnsModalPopup td.value-cell {
      max-width: 120px;
      font-size: 13px;
    }
  }

}

@media screen and (max-width: 768px) {
  .pricing-plans {
    padding: 15px 10px;
  }

  .plan-container {
    gap: 15px;
    justify-content: center;
  }

  .plan {
    max-width: 280px;
    min-width: 220px;
    padding: 18px 14px;
  }

  .plan-title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .current-price {
    font-size: 16px;
  }

  .spec-item {
    font-size: 13px;
  }

  .register-button {
    padding: 10px 18px;
    font-size: 13px;
  }
}

@media screen and (max-width: 480px) {
  .pricing-plans {
    padding: 10px 5px;
  }

  .plan-container {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }


  .plan {
    min-width: 240px;
    width: 100%;
    margin: 0 auto;
    padding: 16px 12px;
  }

  .plan-badge {
    top: -10px;
    right: 15px;
    font-size: 11px;
    padding: 3px 10px;
  }

  .plan-title {
    font-size: 17px;
    margin-bottom: 8px;
  }

  .plan-price {
    padding: 8px 20px;
  }



  .current-price {
    font-size: 15px;
  }

  .original-price {
    font-size: 13px;
  }

  .discount-badge {
    font-size: 10px;
    padding: 2px 6px;
    margin-left: 5px;
  }

  .spec-item {
    font-size: 12px;
    gap: 8px;
  }

  .spec-icon {
    width: 16px;
    height: 16px;
  }

  .register-button {
    padding: 12px 24px;
    font-size: 14px;
    margin-top: 15px;
    width: 100%;
  }

  .plan:hover {
    transform: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  }
}

@media screen and (max-width: 360px) {
  .plan {
    min-width: 240px;
    padding: 14px 10px;
  }

  .plan-title {
    font-size: 16px;
  }

  .current-price {
    font-size: 14px;
  }

  .spec-item {
    font-size: 11px;
  }

  .register-button {
    padding: 10px 20px;
    font-size: 13px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (min-width: 769px) {
  .plan:hover .register-button {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  }

  .plan:hover .plan-title {
    transform: scale(1.05);
  }
}



.register-button {
  padding: 10px 20px;
  font-weight: bold;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  color: #fff;
  margin-top: 20px;
  transition: filter .2s ease;
}

.register-button:hover {
  filter: brightness(1.05);
}

.startup-btn {
  background-color: #2174d8;
}

.semipro-btn {
  background-color: #d17620;
}

.pro01-btn {
  background-color: #b81e56;
}

.dns-modal-header {
  flex: 0 0 auto;
  padding: 16px 20px 12px;
  border-bottom: 1px solid #e9ecef;
  background: #f8f9fa;
}

.dns-modal-header h2 {
  margin: 0;
  font-size: 18px;
  color: #333;
}

.dns-modal-header small {
  font-size: 13px;
  color: #666;
  font-weight: normal;
}

.dns-modal-body {
  flex: 1 1 auto;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.dns-table-wrap {
  flex: 1 1 auto;
  overflow-y: auto;
  max-height: calc(85vh - 200px);
  /* Trừ đi header và footer */
  min-height: 300px;
  position: relative;
}

.dns-table {
  width: 100%;
  background: white;
  border-collapse: collapse;
  position: relative;
}

/* Desktop styles */
@media (min-width: 769px) {
  #dnsModalPopup {
    top: 5% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateX(-50%);
    width: 95vw;
    max-width: 1200px;
    max-height: 90vh;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
  }

  .dns-modal-body {
    border-radius: 0;
    padding: 0;
  }

  .dns-table-wrap {
    max-height: calc(90vh - 180px);
    border-radius: 0;
  }

  .dns-table th,
  .dns-table td {
    padding: 12px 8px;
    border-bottom: 1px solid #e9ecef;
    text-align: left;
    vertical-align: middle;
  }

  .dns-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #495057;
    font-size: 14px;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 2px solid #dee2e6;
    text-align: center;
  }

  .dns-input,
  .dns-select {
    width: 100%;
    height: 40px;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    background: white;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  }

  .dns-input:focus,
  .dns-select:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  }

  .dns-action-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
  }

  .dns-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    min-width: 80px;
  }
}

/* Mobile styles */
@media (max-width: 768px) {
  #dnsModalPopup {
    display: flex;
    flex-direction: column;
    height: 100vh;
  }

  .dns-modal-header {
    padding: 12px 16px 8px;
  }

  .dns-modal-header h2 {
    font-size: 16px;
  }

  .dns-modal-body {
    flex: 1 1 auto;
    overflow: hidden;
  }

  .dns-table-wrap {
    height: 100%;
    max-height: none;
    overflow-y: auto;
    padding: 0;
  }

  .dns-table {
    border: 0;
  }

  .dns-table thead {
    display: none;
  }

  .dns-table tr {
    display: block;
    background: white;
    border-radius: 8px;
    margin: 12px 16px;
    padding: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .dns-empty-row {
    border: 2px dashed #007bff !important;
    background: #f8f9ff !important;
  }

  .dns-table td {
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border: none;
    border-bottom: 1px solid #f1f3f5;
    margin-right: 10px;
  }

  .dns-table td:last-child {
    border-bottom: none;
    margin-top: 12px;
    justify-content: center;
  }

  .dns-table td:before {
    content: attr(data-label);
    font-weight: 600;
    color: #495057;
    font-size: 13px;
    min-width: 80px;
    flex: 0 0 auto;
  }

  .dns-cell {
    flex: 1;
    margin-left: 12px;
  }

  .dns-input,
  .dns-select {
    width: 100%;
    height: 42px;
    padding: 10px 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 16px;
    outline: none;
    background: white;
  }

  .dns-action-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: nowrap;
    width: 100%;
  }

  .dns-btn {
    flex: 1;
    padding: 10px 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
  }
}

/* Desktop empty row styling */
@media (min-width: 769px) {
  .dns-empty-row {
    background: #f8f9ff;
  }

  .dns-empty-row td {
    border-bottom: 1px dashed #007bff;
  }
}

/* Common button styles */
.dns-input:disabled {
  cursor: not-allowed !important;
  color: #6c757d !important;
  background-color: #e9ecef !important;
  opacity: 1;
}

.dns-update,
.dns-add-new {
  background-color: #007bff;
  color: white;
}

.dns-update:hover,
.dns-add-new:hover {
  background-color: #0056b3;
}

.dns-delete {
  background-color: #dc3545;
  color: white;
}

.dns-delete:hover {
  background-color: #c82333;
}

.dns-cancel-new {
  background: #6c757d;
  color: white;
  border-radius: 20px;
  padding: 10px !important;
}


.dns-close {
  background-color: #6c757d;
  color: white;
  border-radius: 8px;
}

.dns-close:hover {
  background-color: #545b62;
}

/* Footer styles */
.dns-modal-footer {
  flex: 0 0 auto;
  padding: 16px 20px;
  border-top: 1px solid #e9ecef;
  background: #f8f9fa;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .dns-modal-footer {
    flex-direction: column;
    gap: 8px;
  }

  .dns-modal-footer button {
    width: 100%;
    padding: 12px;
  }

  .dns-action-buttons {
    flex-direction: column;
  }

  .dns-btn {
    width: 100%;
  }
}

/* Custom Scrollbar cho table wrap */
.dns-table-wrap::-webkit-scrollbar {
  width: 8px;
}

.dns-table-wrap::-webkit-scrollbar-track {
  background: #f1f3f5;
  border-radius: 4px;
}

.dns-table-wrap::-webkit-scrollbar-thumb {
  background: #ced4da;
  border-radius: 4px;
  border: 1px solid #f1f3f5;
}

.dns-table-wrap::-webkit-scrollbar-thumb:hover {
  background: #adb5bd;
}

/* Sticky header enhancement */
@media (min-width: 769px) {
  .dns-table thead th {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
}

/* Loading state for scrollable content */
.dns-table-wrap.loading {
  pointer-events: none;
  opacity: 0.7;
}

/* Mobile scroll enhancement */
@media (max-width: 768px) {
  .dns-table-wrap {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
}

.support-ticket-wrapper {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  max-width: 900px;
  margin: 20px auto;
  font-family: "Inter", sans-serif;
}

.support-title {
  font-size: 1.6rem;
  color: #333;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.support-desc {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 25px;
}

.support-form .form-group {
  margin-bottom: 20px;
}

.form-label {
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

.form-control {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.form-control:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 4px rgba(0,123,255,0.2);
}

.departments {
  display: flex;
  gap: 25px; 
  flex-wrap: wrap; 
  margin-top: 5px;
}

.departments label {
  display: flex;
  align-items: center;
  font-weight: 500;
  gap: 6px;
  cursor: pointer;
}

.departments input[type="radio"] {
  margin: 0;
  accent-color: #007bff;
}

.departments small {
  color: #888;
  font-size: 0.8rem;
  margin-left: 4px;
}



.upload-wrapper {
  margin-top: 10px;
}

.upload-label {
  display: inline-block;
  padding: 8px 14px;
  background: #f0f2f5;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #555;
  border: 1px solid #ddd;
}

.upload-label:hover {
  background: #e6eaf0;
}

.upload-input {
  display: none;
}

.preview-images {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.preview-images img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.btn-primary {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-primary:hover {
  background: #0069d9;
}
