.wcp-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.form-section br,
.wcp-hidden {
  display: none !important;
}

.wcp-field-group {
  margin-bottom: 20px;
}

.wcp-field-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
}

.wcp-field-group input[type="text"],
.wcp-field-group input[type="email"],
.wcp-field-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 15px;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.wcp-field-group input:focus,
.wcp-field-group select:focus {
  border-color: #0073aa;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.15);
}

.wcp-field-group select[multiple] {
  height: 140px;
}

.wcp-declaration {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.wcp-declaration p {
  margin: 0 0 12px;
}

.wcp-declaration p:last-child {
  margin-bottom: 0;
}

.wcp-select-all-btn {
  margin-top: 6px;
  display: inline-block;
  background: none;
  border: none;
  padding: 0;
  color: #0073aa;
  cursor: pointer;
  font-size: 13px;
  text-decoration: underline;
}

.wcp-select-all-btn:hover {
  color: #005177;
}

.wcp-hint {
  font-size: 13px;
  color: #666;
  margin: 4px 0 0;
}

.wcp-required {
  color: #dc3545;
}

.wcp-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 500;
}

.wcp-checkbox-label input[type="checkbox"] {
  width: 17px;
  height: 17px;
  cursor: pointer;
  flex-shrink: 0;
}

/* Buttons */
.wcp-btn {
  padding: 11px 26px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  transition:
    background-color 0.2s,
    opacity 0.2s;
}

.wcp-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.wcp-btn-danger {
  background-color: #dc3545;
  color: #fff;
}

.wcp-btn-danger:hover:not(:disabled) {
  background-color: #c82333;
}

.wcp-btn-secondary {
  background-color: #6c757d;
  color: #fff;
  margin-left: 10px;
}

.wcp-btn-secondary:hover:not(:disabled) {
  background-color: #545b62;
}

/* Status messages */
#wcp-order-status {
  margin-bottom: 12px;
  font-size: 14px;
}

.wcp-status-loading {
  color: #555;
  font-style: italic;
}

.wcp-status-error {
  color: #dc3545;
}

.wcp-status-success {
  color: #28a745;
}

#wcp-form-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 15px;
}

#wcp-form-message.wcp-msg-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

#wcp-form-message.wcp-msg-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Modal */
.wcp-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wcp-modal {
  background: #fff;
  border-radius: 8px;
  padding: 36px 32px 28px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.wcp-modal-question {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 24px;
  line-height: 1.4;
}

.wcp-modal-actions {
  display: flex;
  justify-content: center;
  gap: 0;
}
