/* Modal styles améliorés */
.dk-modal {
  display: none;
  position: fixed;
  z-index: 999999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  overflow-y: auto;
}

.dk-modal-content {
  background-color: #fff;
  margin: 50px auto;
  padding: 0;
  width: 90%;
  max-width: 600px;
  border-radius: 12px;
  position: relative;
  animation: slideDown 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.dk-modal-header {
  padding: 20px 25px;
  background: var(--dk-primary-color, #0073aa);
  color: white;
  border-radius: 12px 12px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dk-modal-header h2 {
  margin: 0;
  color: white;
  font-size: 24px;
}

.dk-close {
  color: white;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  line-height: 1;
}

.dk-close:hover {
  opacity: 0.7;
  transform: scale(1.1);
}

.dk-modal-body {
  padding: 25px;
  max-height: 70vh;
  overflow-y: auto;
}

/* Styles du formulaire */
.dk-quote-form .form-group {
  margin-bottom: 20px;
}

.dk-quote-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.dk-quote-form input,
.dk-quote-form select,
.dk-quote-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  transition: border-color 0.3s ease;
}

.dk-quote-form input:focus,
.dk-quote-form select:focus,
.dk-quote-form textarea:focus {
  outline: none;
  border-color: var(--dk-primary-color, #0073aa);
  box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

.dk-submit-btn {
  background: var(--dk-primary-color, #0073aa);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  width: 100%;
  transition: background 0.3s ease;
}

.dk-submit-btn:hover {
  background: #005a87;
}

.dk-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.dk-success-message {
  background: #d4edda;
  color: #155724;
  padding: 12px;
  border-radius: 6px;
  margin-top: 15px;
  border-left: 4px solid #28a745;
}

.dk-error-message {
  background: #f8d7da;
  color: #721c24;
  padding: 12px;
  border-radius: 6px;
  margin-top: 15px;
  border-left: 4px solid #dc3545;
}

/* Responsive */
@media (max-width: 768px) {
  .dk-modal-content {
    width: 95%;
    margin: 20px auto;
  }

  .dk-modal-header h2 {
    font-size: 20px;
  }

  .dk-modal-body {
    padding: 20px;
  }
}
