/**
 * WC Gift Modal Form - Styles
 * Design clean & lean pour le formulaire de bon cadeau
 */

.wc-gift-modal-form {
  max-width: 500px;
  margin: 0 auto;
  font-family:"Didact Gothic", Sans-serif;
}

.wc-gift-modal-form p {
  margin-bottom: 16px;
}

.wc-gift-modal-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #2c3e50;
}

.wc-gift-modal-form input[type="text"],
.wc-gift-modal-form input[type="email"],
.wc-gift-modal-form select,
.wc-gift-modal-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.wc-gift-modal-form input:focus,
.wc-gift-modal-form select:focus,
.wc-gift-modal-form textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.wc-gift-modal-form select {
  cursor: pointer;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23666'%3E%3Cpath d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 20px;
  padding-right: 40px;
  appearance: none;
}

.wc-gift-modal-form textarea {
  resize: vertical;
  min-height: 80px;
}

.wc-gift-variation-selects {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.wc-gift-price-display {
  background: #fff;
  padding: 12px 16px;
  border-radius: 6px;
  border: 2px solid #BA6E6E;
  margin-top: 16px;
  margin-bottom: 0;
}

.wc-gift-price-display strong {
  color: #2c3e50;
  margin-right: 8px;
}

.wc-gift-price-display .js-gift-price {
  color: #BA6E6E;
  font-size: 18px;
  font-weight: 600;
}

.wc-gift-info-notice {
  background: #fff3cd;
  border: 1px solid #ffc107;
  padding: 12px 16px;
  border-radius: 6px;
  margin-top: 8px;
  font-size: 13px;
  color: #856404;
}

.wc-gift-info-notice strong {
  color: #856404;
}

.wc-gift-submit {
  width: 100%;
  padding: 14px 20px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  background: #3498db !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: none !important;
}

.wc-gift-submit:hover:not(:disabled) {
  background: #2980b9 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.wc-gift-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Notices WooCommerce */
.wc-gift-modal-form .woocommerce-error,
.wc-gift-modal-form .woocommerce-message,
.wc-gift-modal-form .woocommerce-info {
  margin-bottom: 20px;
  padding: 12px 16px;
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 600px) {
  .wc-gift-modal-form {
    padding: 0 16px;
  }

  .wc-gift-variation-selects {
    padding: 16px;
  }
}
