/* =========================================================
    AGriID - Tab Ghi chú khách hàng
   ========================================================= */


.customer-tab-note {
  background: #fff;
  border-radius: 10px;
  padding: 24px 32px;
  border: 1px solid #e5e7eb;
  font-family: "Inter", sans-serif;
}

/* Header */
.customer-tab-note .note-title {
  color: #16a34a;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 4px;
}

.customer-tab-note .note-subtitle {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 20px;
}

/* Form thêm ghi chú */
.customer-tab-note .note-form {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}

.customer-tab-note .note-form textarea {
  width: 100%;
  min-height: 80px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 10px;
  font-size: 14px;
  resize: vertical;
  background: #f9fafb;
}

.customer-tab-note .note-form-actions {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.customer-tab-note .btn-save {
  background: #16a34a;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.customer-tab-note .btn-save:hover {
  background: #128c3f;
}

.customer-tab-note .btn-cancel {
  background: transparent;
  border: none;
  color: #6b7280;
  font-size: 14px;
}

/* Tìm kiếm */
.customer-tab-note .note-search {
  position: relative;
  margin-bottom: 20px;
}

.customer-tab-note .note-search input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 8px 36px 8px 12px;
  font-size: 14px;
  background: #f9fafb;
}

.customer-tab-note .note-search i {
  position: absolute;
  right: 12px;
  top: 9px;
  color: #9ca3af;
}

/* Danh sách ghi chú */
.customer-tab-note .note-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.customer-tab-note .note-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  padding: 12px 16px;
}

.customer-tab-note .note-item.pinned {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.customer-tab-note .note-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.customer-tab-note .note-user strong {
  font-weight: 600;
  color: #111827;
}

.customer-tab-note .note-date {
  color: #628473;
  font-size: 13px;
}

.customer-tab-note .note-actions {
  display: flex;
  gap: 10px;
}


.customer-tab-note .note-content {
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
}
.customer-tab-note .cs-icon-trash {
  color: #EF434;
}

.customer-notes-pagination {
  .pagination .active > .page-link {
    background-color: #16a34a !important; 
    border-color:     #16a34a !important;
    color: #fff;
  }
}
