/* Product Sync Button Styles */
.bosta_product_sync_button_div {
  margin: 10px 0;
}

button#sync-products-to-bosta-btn {
  background-color: #00b887;
  border-color: #00b887;
}

#product-sync-status {
  display: inline-block;
  margin-left: 10px;
}

#product-sync-status .sync-message {
  font-weight: 500;
}

/* Product Sync Modal Styles */
.bosta-product-sync-modal {
  position: fixed;
  z-index: 100000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bosta-product-sync-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
}

.bosta-product-sync-modal-container {
  position: relative;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 400px;
  max-height: 90vh;
  overflow-y: auto;
  animation: bosta-modal-fade-in 0.2s ease-out;
}

@keyframes bosta-modal-fade-in {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.bosta-product-sync-modal-header {
  padding: 16px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 16px 16px 0 0;
  color: #111619;
  background: #fff;
  box-shadow: 0 0 4px 0 rgba(29, 41, 57, 0.1),
    0 8px 40px 0 rgba(29, 41, 57, 0.2);
}

.bosta-product-sync-modal-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.bosta-product-sync-modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.2s ease;
}

.bosta-product-sync-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.bosta-product-sync-modal-close span {
  color: #ffffff;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
}

.bosta-product-sync-modal-body {
  padding: 24px;
  background-color: #fff;
}

.bosta-product-sync-modal-question {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 12px 0;
  text-align: center;
}

.bosta-product-sync-modal-description {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 20px 0;
  text-align: center;
  margin-bottom: 0 !important;
}

.bosta-product-sync-modal-info {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  margin-top: 20px;
}

.bosta-product-sync-modal-info p {
  margin: 0 0 8px 0;
  font-size: 14px;
  color: #374151;
}

.bosta-product-sync-modal-info ul {
  margin: 8px 0 0 0;
  padding-left: 20px;
  color: #6b7280;
  font-size: 14px;
}

.bosta-product-sync-modal-info li {
  margin-bottom: 6px;
  line-height: 1.5;
}

.bosta-product-sync-modal-footer {
  padding: 16px;
  border-top: 1px solid #e4e7ec;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: 0 0 16px 16px;
  background: #fff;
}

.bosta-product-sync-modal-footer button {
  width: 100%;
}

.bosta-product-sync-btn-cancel {
  background: #fff !important;
  border-radius: 8px !important;
  border: 1px solid #d0d5dd !important;
  color: #111619 !important;
  padding: 8px 16px !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05) !important;
  font-weight: 500 !important;
}

.bosta-product-sync-btn-cancel:hover {
  background-color: #f3f4f6;
  border-color: #9ca3af;
}

button.bosta-product-sync-btn-confirm {
  background: #0098a5 !important;
  border-radius: 8px !important;
  border: 1px solid #0098a5 !important;
  color: #ffffff !important;
  padding: 8px 16px !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05) !important;
  font-weight: 500 !important;
}

button.bosta-product-sync-btn-confirm:hover {
  background: #1dbdcd !important;
  border-color: #1dbdcd !important;
}
