
.customBorderMain:hover td.customBorder {
    box-shadow: 0 20px 10px -20px rgba(0,0,0,0.45) inset, 0 -20px 10px -20px rgba(0,0,0,0.45) inset;
}
@media (max-width: 767px){
    button#hj-survey-toggle-1 {
      right: 24px;
      left: auto;
      width: 45px;
      height: 45px;
      bottom: 18px;
  }
  button#hj-survey-toggle-1 svg {
    width: 20px;
}
}

/* ── Asset Assignment Modal (#deliveryAssetModal / dam-*) ─────────────────── */
#deliveryAssetModal .dam-modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
    overflow: hidden;
}
#deliveryAssetModal .dam-header {
    background: #fff;
    padding: 24px 28px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 14px;
}
#deliveryAssetModal .dam-header-icon {
    width: 42px;
    height: 42px;
    background: #f4f4f4;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
#deliveryAssetModal .dam-header-icon i {
    font-size: 18px;
    color: #222;
}
#deliveryAssetModal .dam-header-text h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.2px;
}
#deliveryAssetModal .dam-header-text p {
    margin: 2px 0 0;
    font-size: 14px;
    color: #888;
}
#deliveryAssetModal .dam-body {
    background: #fafafa;
    padding: 20px 28px;
    max-height: 420px;
    overflow-y: auto;
}
#deliveryAssetModal .dam-body::-webkit-scrollbar { width: 5px; }
#deliveryAssetModal .dam-body::-webkit-scrollbar-track { background: transparent; }
#deliveryAssetModal .dam-body::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }
#deliveryAssetModal .dam-product-card {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 10px;
    margin-bottom: 14px;
    overflow: hidden;
}
#deliveryAssetModal .dam-product-card:last-child { margin-bottom: 0; }
#deliveryAssetModal .dam-product-header {
    padding: 12px 16px;
    background: #f7f7f7;
    border-bottom: 1px solid #ebebeb;
    display: flex;
    align-items: center;
    gap: 10px;
}
#deliveryAssetModal .dam-product-name {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    flex: 1;
}
#deliveryAssetModal .dam-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
}
#deliveryAssetModal .dam-badge-sub { background: #e8f4fd; color: #1a7fc1; }
#deliveryAssetModal .dam-badge-oto { background: #f0f0f0; color: #666; }
#deliveryAssetModal .dam-badge-qty { background: #f0f0f0; color: #777; font-weight: 500; }
#deliveryAssetModal .dam-unit-row {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    gap: 14px;
    border-bottom: 1px solid #f4f4f4;
}
#deliveryAssetModal .dam-unit-row:last-child { border-bottom: none; }
#deliveryAssetModal .dam-unit-label {
    font-size: 14px;
    font-weight: 500;
    color: #aaa;
    width: 54px;
    flex-shrink: 0;
}
#deliveryAssetModal .dam-unit-asset { flex: 1; }
#deliveryAssetModal .dam-unit-asset .form-control,
#deliveryAssetModal .dam-unit-asset select.das-select {
    height: 36px;
    font-size: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 7px;
    background: #fff;
    color: #333;
    padding: 0 10px;
    box-shadow: none;
    width: 100%;
    transition: border-color 0.15s;
}
#deliveryAssetModal .dam-unit-asset select.das-select:focus {
    border-color: #222;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}
#deliveryAssetModal .dam-no-asset {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #bbb;
    padding: 5px 0;
}
#deliveryAssetModal .dam-no-asset i { font-size: 14px; }
#deliveryAssetModal .dam-loading {
    font-size: 14px;
    color: #aaa;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
#deliveryAssetModal .dam-footer {
    background: #fff;
    padding: 16px 28px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#deliveryAssetModal .dam-footer-hint {
    font-size: 14px;
    color: #bbb;
    display: flex;
    align-items: center;
    gap: 5px;
}
#deliveryAssetModal .dam-footer-actions { display: flex; gap: 10px; }
@media (max-width: 767px) {
    #deliveryAssetModal .modal-dialog { margin: 10px !important; width: auto !important; }
    #deliveryAssetModal .dam-modal-content { border-radius: 10px; }
    #deliveryAssetModal .dam-header { padding: 16px 16px 14px; gap: 10px; }
    #deliveryAssetModal .dam-header-icon { width: 36px; height: 36px; border-radius: 8px; }
    #deliveryAssetModal .dam-header-text h5 { font-size: 15px; }
    #deliveryAssetModal .dam-header-text p { font-size: 13px; }
    #deliveryAssetModal .dam-body { padding: 14px 12px; max-height: calc(100vh - 220px); }
    #deliveryAssetModal .dam-product-header { padding: 10px 12px; flex-wrap: wrap; gap: 6px; }
    #deliveryAssetModal .dam-product-name { width: 100%; flex: none; }
    #deliveryAssetModal .dam-unit-row { padding: 10px 12px; flex-direction: column; align-items: flex-start; gap: 6px; }
    #deliveryAssetModal .dam-unit-label { width: auto; font-size: 13px; }
    #deliveryAssetModal .dam-unit-asset { width: 100%; }
    #deliveryAssetModal .dam-unit-asset select.das-select { width: 100%; }
    #deliveryAssetModal .dam-footer { padding: 12px 14px; flex-direction: column; align-items: stretch; gap: 10px; }
    #deliveryAssetModal .dam-footer-hint { font-size: 13px; justify-content: center; }
    #deliveryAssetModal .dam-footer-actions { flex-direction: row; justify-content: stretch; }
    #deliveryAssetModal .dam-footer-actions button { flex: 1; justify-content: center; }
}
@media (min-width: 768px) and (max-width: 991px) {
    #deliveryAssetModal .modal-dialog { width: 90% !important; margin: 30px auto !important; }
    #deliveryAssetModal .dam-body { max-height: 50vh; }
    #deliveryAssetModal .dam-footer { flex-wrap: wrap; gap: 8px; }
}
@media (min-width: 992px) {
    #deliveryAssetModal .modal-dialog { width: 680px; margin: 60px auto !important; }
}
