/* Container popup */
/* Container popup */
.hotline-settings table th {
    text-align: center;
    padding: 8px;
        width: 50px;
}
.hotline-settings form-table th {
    vertical-align: top;
    text-align: center;
    padding: 20px 10px 20px 0;
    width: 56px;
    line-height: 1.3;
    font-weight: 100;
}
.hotline-settings .drag-handle {
    width: 24px;
    text-align: center;
    font-size: 16px;
    cursor: move;
    padding: 4px 0;
}
.hotline-settings table th:first-child,
.hotline-settings table td.drag-handle {
    width: 24px !important;
    padding: 4px 4px !important;
}

#contacts-table input {
    width: 100%;
    padding: 4px;
    box-sizing: border-box;
  }

  #contacts-table th,
  #contacts-table td {
    padding: 4px 8px;
    vertical-align: middle;
  }

  #contacts-table th {
    text-align: left;
    font-weight: bold;
  }

  #contacts-table td {
    white-space: nowrap;
  }
.delete-contact {
  display: inline-block;
  line-height: 30px;
  text-align: center;
}
.drag-handle {
  cursor: move;
  font-size: 18px;
  text-align: center;
  width: 30px;
}
  .delete-contact {
    margin-left: 6px;
    color: red;
    cursor: pointer;
    font-size: 16px;
    vertical-align: middle;
  }
  #contacts-table td.actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

#popupHotline {
  position: fixed;
  /* XÓA các d?ng dý?i ðây */
  /* bottom: 80px;
     left: 20px; */
  width: 300px;
  background: #fff;
  /* border: 2px solid #e91e63; */
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  font-family: sans-serif;
  z-index: 9999;
  overflow: hidden;
}

/* Header */
#popupHotline .header {
  background: #e91e63;
  color: #fff;
  padding: 10px;
  text-align: center;
  position: relative;
}

#popupHotline .header span {
  position: absolute;
  right: 10px;
  top: 2px;
  cursor: pointer;
  font-size: 18px;
  color: yellow;
}

#popupHotline .header div {
  font-size: 12px;
  margin-top: 4px;
}

/* M?i ngý?i trong danh sách */
.hotline-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 4px;
  border-radius: 6px;
  transition: 0.2s;
}

.hotline-item:hover {
  background: #fdf1f4;
}

/* ?nh ð?i di?n */
.hotline-item img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 6px;
}

/* Thông tin ngý?i */
.hotline-info {
  flex: 1;
  min-width: 0;
  max-width: 120px;
  overflow: hidden;
}

.hotline-info .name {
  font-weight: bold;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hotline-info .phone {
  font-size: 12px;
  color: #e91e63;
}

/* Nút g?i và zalo */
.hotline-buttons {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.hotline-buttons a {
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 11px;
  text-decoration: none;
  color: #fff;
  transition: 0.2s;
}

.hotline-buttons .call {
  background: #4caf50;
}

.hotline-buttons .zalo {
  background: #2196f3;
}

.hotline-buttons a:hover {
  opacity: 0.85;
  color: yellow;
}

/* Nút h? tr? */
#supportBtn {
  position: fixed;
  /* XÓA các d?ng dý?i ðây */
  /* bottom: 20px;
     left: 20px; */
  background: #e91e63;
  border-radius: 25px;
  padding: 10px 17px 10px 17px;
  display: none;
  align-items: center;
  cursor: pointer;
  z-index: 9999;
}

#supportBtn img {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}

#supportBtn span {
  color: white;
  font-size: 13px;
  font-weight: bold;
}
.hotline-address {
  color: #ffffff;
  text-decoration: none;
  transition: background 0.2s ease-in-out;
  display: inline-block;
  padding: 2px 4px;
  border-radius: 4px;
}

.hotline-address:hover {
  background: #f1f1f1;
  color: #e91e63;
}
.ui-sortable td{
padding: 0px;
    margin: 0;
}
/* Hi?u ?ng rung l?c nh? */
@keyframes shake-icon {
  0%   { transform: translateX(0); }
  20%  { transform: translateX(-2px); }
  40%  { transform: translateX(2px); }
  60%  { transform: translateX(-1px); }
  80%  { transform: translateX(1px); }
  100% { transform: translateX(0); }
}

.shake-loop-icon {
  animation: shake-icon 0.5s ease-in-out infinite;
  animation-delay: 2s;
}
