:root {
  --primary: #2e7d32;
}

.has-background-primary, .is-primary {
  background-color: var(--primary) !important;
}

progress.progress.is-primary {
  background-color: rgba(219, 219, 219, 0.5);
  -webkit-appearance: none;
}

progress.progress.is-primary::-webkit-progress-bar {
  background-color: rgba(219, 219, 219, 0.5);
}

progress.progress.is-primary::-webkit-progress-value,
progress.progress.is-primary::-moz-progress-bar {
  background-color: var(--primary);
}



/* General styles */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.search-container {
  display: flex;
  gap: 10px;
  margin-bottom: 1rem;
}

/* Table styling */
.table {
  border-radius: 6px;
  box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1);
  overflow: hidden;
}

.table thead th {
  font-weight: 600;
  padding: 1rem 0.75rem;
}

.table tbody tr:hover {
  background-color: #f5f5f5;
}

.table td {
  padding: 0.75rem;
  vertical-align: middle;
}

/* Pagination styling */
.pagination-container {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.pagination-previous, .pagination-next {
  border-radius: 4px;
  transition: all 0.3s ease;
}

.pagination-previous:hover, .pagination-next:hover {
  background-color: #f5f5f5;
}

/* Loading indicator */
.loading {
  padding: 2rem;
  display: flex;
  justify-content: center;
}

/* Status tags */
.tag.is-boolean-true {
  background-color: #48c774;
  color: white;
}

.tag.is-boolean-false {
  background-color: #f14668;
  color: white;
}

.tag.is-status-active {
  background-color: #48c774;
  color: white;
}

.tag.is-status-scheduled {
  background-color: #3298dc;
  color: white;
}

/* Form styles */
.form-container {
  max-width: 800px;
  margin: 0 auto;
}

.file-name {
  word-break: break-all;
}

.required-field::after {
  content: " *";
  color: #f14668;
}

/* Product search styling */
#product-search {
  margin-bottom: 8px;
}

/* Highlight matching text in dropdown (optional enhancement) */
.highlight {
  background-color: #fffbcc;
  font-weight: bold;
}

/* Make the select box more visible */
.select.is-multiple select {
  border: 1px solid #dbdbdb;
  border-radius: 4px;
}

/* Style for when no products match the filter */
.no-results {
  padding: 10px;
  color: #7a7a7a;
  font-style: italic;
  text-align: center;
}

/* Empty state */
#no-results {
  padding: 3rem;
  background-color: #f5f5f5;
  border-radius: 6px;
  margin-top: 1rem;
}

/* Modal styles */
.modal-card {
  max-width: 500px;
  width: 90%;
  margin: 0 auto;
}

.modal-card-head {
  background-color: #3273dc;
}

.modal-card-title {
  color: white;
}

.modal-card-body {
  padding: 2rem;
}

.modal-card-foot {
  justify-content: flex-end;
}

/* Make sure the modal background covers the entire viewport */
.modal-background {
  position: fixed;
}

/* Modal styles */
.modal-card {
  max-width: 500px;
  width: 90%;
  margin: 0 auto;
}

.modal-card-head {
  background-color: #3273dc;
}

.modal-card-title {
  color: white;
}

.modal-card-body {
  padding: 2rem;
}

.modal-card-foot {
  justify-content: flex-end;
}

/* Make sure the modal background covers the entire viewport */
.modal-background {
  position: fixed;
}

/* Add some animation to the modal */
.modal-card {
  animation: modalFadeIn 0.3s ease-out;
}

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

/* Style for the toggle security code button */
.toggle-security-code {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.toggle-security-code:hover {
  transform: scale(1.1);
}

/* Success message animation */
#success-message {
  animation: fadeInOut 3s ease-in-out;
}

@keyframes fadeInOut {
  0% { opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; }
}

.partners-list {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0;
  padding: 0;
}

.partner-list-item {
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.partner-list-item:hover {
  background-color: #f5f5f5;
}

.partner-name {
  font-size: 1.1rem;
}

ul.partners-list {
  list-style-type: none !important;
  margin: 0;
  padding: 0;
}

