.product-request-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
/*@media (min-width: 992px) {*/
/*  #left-column {*/
/*    position: sticky;*/
/*    top: 80px;*/
/*    align-self: start;*/
/*    z-index: 10;*/
/*  }*/
/*}*/

.product-request-popup.show {
  opacity: 1;
  visibility: visible;
}

.product-request-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#product-request-popup .product-request-modal {
  background: white;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  animation: modalSlideIn 0.3s ease-out;
  position: relative;
  margin: 20px;
}

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

#product-request-popup .product-request-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
}

#product-request-popup .product-request-header h3 {
  margin: 0;
  color: #333;
}

#product-request-popup .product-request-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

#product-request-popup .product-request-close:hover {
  color: #333;
  background-color: #f0f0f0;
}

#product-request-popup .product-request-content {
  padding: 20px;
}

#product-request-popup .product-request-content p {
  margin-bottom: 20px;
  line-height: 1.5;
}

#product-request-popup .form-group {
  margin-bottom: 15px;
}

#product-request-popup .form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

#product-request-popup .form-group input,
#product-request-popup .form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

#product-request-popup .form-group input:focus,
#product-request-popup .form-group textarea:focus {
  outline: none;
  border-color: #007cba;
  box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2);
}

#product-request-popup .form-group input[type="file"] {
  padding: 8px;
  border: 2px dashed #e0e0e0;
  background: #f9f9f9;
}

#product-request-popup .form-group small {
  display: block;
  margin-top: 5px;
  color: #888;
  font-size: 12px;
}

#product-request-popup .form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}

#product-request-popup .btn {
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  font-weight: 600;
}

#product-request-popup .btn-secondary {
  background-color: #6c757d;
  color: white;
}

#product-request-popup .btn-secondary:hover {
  background-color: #5a6268;
}

#product-request-popup .btn-primary {
  background-color: #000;
  color: white;
}

#product-request-popup .btn-primary:hover {
  background-color: #333;
}

#product-request-popup .btn-primary:disabled {
  background: #ccc;
  cursor: not-allowed;
}

#product-request-popup .loading-animation {
  text-align: center;
  padding: 40px 20px;
}

#product-request-popup .spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #007cba;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#product-request-popup .loading-animation p {
  color: #666;
  margin: 0;
}

#product-request-popup .success-animation {
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#product-request-popup .success-checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: block;
  margin: 0 auto 20px;
  position: relative;
  background: #4caf50;
  animation: checkmarkPop 0.3s ease-in-out;
}

#product-request-popup .success-checkmark .check-icon {
  width: 80px;
  height: 80px;
  position: absolute;
  left: 0;
  top: 0;
  background: transparent;
  border-radius: 50%;
}

#product-request-popup .success-checkmark .icon-line {
  height: 4px;
  background: white;
  display: block;
  border-radius: 2px;
  position: absolute;
  z-index: 10;
  transform-origin: left center;
}

#product-request-popup .success-checkmark .icon-line.line-tip {
  top: 43px;
  left: 18px;
  width: 25px;
  transform: rotate(45deg);
  animation: icon-line-tip 0.75s ease-out;
}

#product-request-popup .success-checkmark .icon-line.line-long {
  top: 38px;
  left: 30px;
  width: 35px;
  transform: rotate(-45deg);
  animation: icon-line-long 0.75s ease-out;
}

@keyframes checkmarkPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes icon-line-tip {
  0% {
    width: 0;
    opacity: 1;
  }
  50% {
    width: 0;
    opacity: 1;
  }
  100% {
    width: 25px;
    opacity: 1;
  }
}

@keyframes icon-line-long {
  0% {
    width: 0;
    opacity: 1;
  }
  65% {
    width: 0;
    opacity: 1;
  }
  100% {
    width: 35px;
    opacity: 1;
  }
}

#product-request-popup .success-animation h3 {
  margin: 0 0 10px 0;
  color: #4caf50;
  font-size: 24px;
  font-weight: 600;
}

#product-request-popup .success-animation p {
  margin: 0;
  color: #666;
  line-height: 1.5;
}

#product-request-popup .error-message {
  text-align: center;
  padding: 40px 20px;
}

#product-request-popup .error-icon {
  font-size: 48px;
  margin-bottom: 20px;
  animation: errorShake 0.5s ease-in-out;
}

@keyframes errorShake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

#product-request-popup .error-message p {
  color: #d32f2f;
  margin-bottom: 20px;
  font-weight: 500;
}

body.popup-open {
  overflow: hidden;
}

@media (max-width: 600px) {
}

#product-request-popup .product-request-modal {
  width: 95%;
  margin: 10px;
  max-height: 95vh;
}

#product-request-popup .form-actions {
  flex-direction: column;
}

#product-request-popup .btn {
  width: 100%;
  margin-bottom: 10px;
}

@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(20);
    opacity: 0;
  }
}

#product-request-popup .popup-success h3 {
  margin: 0 0 10px 0;
  color: #4caf50;
  font-size: 24px;
  font-weight: 600;
}

#product-request-popup .popup-success p {
  margin: 0;
  color: #666;
  line-height: 1.5;
}

/* Floating Button */
#product-request-popup .floating-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100px);
  transition: all 0.3s ease;
}

#product-request-popup .floating-btn.show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

/* Version sans le préfixe pour déboguer */
.floating-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9998;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-btn-content {
  background: #007cba;
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 124, 186, 0.3);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

#product-request-popup .floating-btn-content:hover {
  background: #005a87;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 124, 186, 0.4);
}

#product-request-popup .floating-btn-content i {
  font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  #product-request-popup .popup-content {
    width: 95%;
    max-height: 95vh;
  }

  #product-request-popup .popup-form {
    padding: 20px;
  }

  #product-request-popup .popup-title {
    font-size: 20px;
  }

  #product-request-popup .floating-btn,
  .floating-btn {
    bottom: 15px;
    right: 15px;
  }

  #product-request-popup .floating-btn-content {
    padding: 10px 16px;
    font-size: 13px;
  }
}

@media (max-width: 600px) {
  #product-request-popup .product-request-modal {
    width: 95%;
    margin: 10px;
    max-height: 95vh;
  }

  #product-request-popup .form-actions {
    flex-direction: column;
  }

  #product-request-popup .btn {
    width: 100%;
    margin-bottom: 10px;
  }
}
